Merge "Bug 5174: Support for AutoAttach Table in OVSDB"
[ovsdb.git] / southbound / southbound-api / src / main / yang / ovsdb.yang
index 605baa0d96a8dfe6c0cd3e4165cc29e5512b2a6b..cc276199803b713129dbbcd3d27958a313b0bc94 100755 (executable)
@@ -629,6 +629,10 @@ module ovsdb {
                 description "An identifier used for AutoAttach table in the MD-SAL.";
                 type inet:uri;
             }
+            leaf bridge-id {
+                description "Node-id of the Bridge table from where Autoattach table can be referenced.";
+                type inet:uri;
+            }
             leaf autoattach-uuid {
                 description "The unique identifier of the autoattach table.";
                 type yang:uuid;
@@ -659,6 +663,23 @@ module ovsdb {
                     }
                 }
             }
+            list autoattach-external-ids {
+                description
+                   "Key-value pairs for use by external frameworks that integrate with
+                    Open vSwitch, rather than by Open vSwitch itself.";
+
+                key "autoattach-external-id-key";
+                leaf autoattach-external-id-key {
+                    description "external-id name/key";
+                    type string;
+                    mandatory true;
+                }
+                leaf autoattach-external-id-value {
+                    description "autoattach-external-id value";
+                    type string;
+                    mandatory true;
+                }
+            }
         }
      }