interface-manager yang change for supporting hwvtep node-id
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface.yang
index e72728aa2703c2b37a872643166701c4e46c66b1..43646e4060d3107bcd3cbc33f61df7e1476744a2 100644 (file)
@@ -97,6 +97,21 @@ module odl-interface {
             type string;
             description "can be a physical switch port or virtual switch port e.g. neutron port";
         }
+
+        list node-identifier {
+            key "topology-id";
+            description "an identifier of the dependant underlying configuration protocol";
+            leaf "topology-id" {
+                type string;
+                description "A reference to the type of the network node.
+                For example, an ovsdb node will take the format ovsdb:1";
+            }
+            leaf "node-id" {
+                type string;
+                description "A reference to a network node. A node can be
+                of type ovsdb,hwvtep or openflow";
+            }
+        }
     }
 
     /* interface type specific properties */