Merge "Model update to add external-id to port/interface."
[ovsdb.git] / southbound / southbound-api / src / main / yang / ovsdb.yang
index 66deb57b322e48c92074d268254121c5e1c89d17..22038aa04dab18566b5c7a342155b285c05cede9 100755 (executable)
@@ -364,6 +364,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";
@@ -380,5 +395,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;
     }
 }