interface-manager yang change for supporting hwvtep node-id 83/36183/2
authorFaseela K <faseela.k@ericsson.com>
Fri, 22 Jan 2016 11:54:55 +0000 (17:24 +0530)
committerFaseela K <faseela.k@ericsson.com>
Wed, 16 Mar 2016 05:28:09 +0000 (05:28 +0000)
Change-Id: I16da6ce89e5d7eb7bbe0eb1f5aa6039795e566eb
Signed-off-by: Faseela K <faseela.k@ericsson.com>
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 */