diff options
author | Ben Pfaff <blp@nicira.com> | 2015-10-08 13:18:51 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-10-16 23:52:41 -0700 |
commit | 8e3eb50e93ce19bca9dc9331db061fcc9ac28420 (patch) | |
tree | 9a4820a58cc373a31f8fbc73bca0e23324a15a8e | |
parent | 27e3e5b8968092a5c49919518c2e1083625ef241 (diff) |
ovn-nb: Add "enabled" column to Logical_Router_Port.
This is just for symmetry with Logical_Port, since it seems that if users
want to be able to disable switch ports they might want to disable router
ports as well.
There is no "up" column because a logical router port doesn't have the same
concept.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
-rw-r--r-- | ovn/ovn-nb.ovsschema | 3 | ||||
-rw-r--r-- | ovn/ovn-nb.xml | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index 9d254e829..d45a68277 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 9a7435b8b..ae0d8e202 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: |