Model update to add external-id to port/interface. 79/17579/3
authorSharad Mishra <sharad.d.mishra@intel.com>
Wed, 1 Apr 2015 10:52:34 +0000 (03:52 -0700)
committerSharad Mishra <sharad.d.mishra@intel.com>
Wed, 1 Apr 2015 14:00:13 +0000 (07:00 -0700)
Change-Id: I099111e7ef09428516473ad4fb998d88835e321c
Signed-off-by: Sharad Mishra <sharad.d.mishra@intel.com>
southbound/southbound-api/src/main/yang/ovsdb.yang

index bdfd953b24bd98cc86b404e2bc648a4af96ca05f..ef15750ed9c01d582e0ec85d03eca88cf70aeb07 100755 (executable)
@@ -359,6 +359,21 @@ module ovsdb {
         }
     }
 
+    grouping ovsdb-external-ids-attributes {
+        list external-ids {
+            description "Port/Interface external id";
+            key "external-id-key";
+            leaf external-id-key {
+                description "external-id name/key";
+                type string;
+            }
+            leaf external-id-value {
+                description "external-id value";
+                type string;
+            }
+         }
+    }
+
     augment "/topo:network-topology/topo:topology/topo:node" {
         description "Augmentation for bridge nodes managed by ovsdb";
         ext:augment-identifier "ovsdb-bridge-augmentation";
@@ -375,5 +390,6 @@ module ovsdb {
         description "Augment topology node termination-point for an ovsdb port/interface";
         ext:augment-identifier "ovsdb-termination-point-augmentation";
         uses ovsdb-port-interface-attributes;
+        uses ovsdb-external-ids-attributes;
     }
 }