[ovs-dev] [PATCH 20/23] ovn-nb: Add "enabled" column to Logical_Router_Port.
Ben Pfaff
blp at nicira.com
Sat Oct 10 04:21:39 UTC 2015
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
ovn/ovn-nb.ovsschema | 3 ++-
ovn/ovn-nb.xml | 7 +++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema
index 9d254e8..d45a682 100644
--- a/ovn/ovn-nb.ovsschema
+++ b/ovn/ovn-nb.ovsschema
@@ -1,7 +1,7 @@
{
"name": "OVN_Northbound",
"version": "2.0.0",
- "cksum": "1378979036 4524",
+ "cksum": "4186002454 4601",
"tables": {
"Logical_Switch": {
"columns": {
@@ -85,6 +85,7 @@
"refTable": "Logical_Router_Port",
"refType": "strong"},
"min": 0, "max": 1}},
+ "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
"external_ids": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}},
diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml
index 89c3e7d..681f6c7 100644
--- a/ovn/ovn-nb.xml
+++ b/ovn/ovn-nb.xml
@@ -485,6 +485,13 @@
The Ethernet address that belongs to this router port.
</column>
+ <column name="enabled">
+ This column is used to administratively set port state. If this column
+ is empty or is set to <code>true</code>, the port is enabled. If this
+ column is set to <code>false</code>, the port is disabled. A disabled
+ port has all ingress and egress traffic dropped.
+ </column>
+
<group title="Attachment">
<p>
A given router port serves one of two purposes:
--
2.1.3
More information about the dev
mailing list