[ovs-dev] [PATCH 1/4] Update OVN SB to use physical endpoints table
Darrell Ball
dlu998 at gmail.com
Tue Mar 1 18:39:16 UTC 2016
Signed-off-by: Darrell Ball <dball at vmware.com>
---
ovn/ovn-sb.ovsschema | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/ovn/ovn-sb.ovsschema b/ovn/ovn-sb.ovsschema
index a9a91e5..dbbc7ab 100644
--- a/ovn/ovn-sb.ovsschema
+++ b/ovn/ovn-sb.ovsschema
@@ -1,7 +1,7 @@
{
"name": "OVN_Southbound",
"version": "1.0.0",
- "cksum": "1392129391 5060",
+ "cksum": "3279910014 6104",
"tables": {
"Chassis": {
"columns": {
@@ -70,6 +70,21 @@
"min": 0, "max": "unlimited"}}},
"indexes": [["tunnel_key"]],
"isRoot": true},
+ "Physical_Endpoint": {
+ "columns": {
+ "name": {"type": "string"},
+ "chassis": {"type": {"key": {"type": "uuid",
+ "refTable": "Chassis",
+ "refType": "weak"},
+ "min": 0, "max": 1}},
+ "chassis_port": {"type": {"key": "string", "min": 0, "max": 1}},
+ "type": {"type": {"key": {
+ "type": "string",
+ "enum": ["set", ["vlan", "mpls_label_stack", "later"]]}}},
+ "ingress_encap": {"type": "string"},
+ "egress_encap": {"type": "string"}},
+ "indexes": [["name"]],
+ "isRoot": true},
"Port_Binding": {
"columns": {
"logical_port": {"type": "string"},
@@ -95,6 +110,10 @@
"refTable": "Chassis",
"refType": "weak"},
"min": 0, "max": 1}},
+ "phys_endpt": {"type": {"key": {"type": "uuid",
+ "refTable": "Physical_Endpoint",
+ "refType": "weak"},
+ "min": 0, "max": 1}},
"mac": {"type": {"key": "string",
"min": 0,
"max": "unlimited"}}},
--
1.9.1
More information about the dev
mailing list