From b910f39f9b8cb51f4d82d3fd31e57f2ddeb7af6e Mon Sep 17 00:00:00 2001 From: Faseela K Date: Fri, 22 Jan 2016 17:24:55 +0530 Subject: [PATCH] interface-manager yang change for supporting hwvtep node-id Change-Id: I16da6ce89e5d7eb7bbe0eb1f5aa6039795e566eb Signed-off-by: Faseela K --- .../src/main/yang/odl-interface.yang | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang index e72728aa..43646e40 100644 --- a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang +++ b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang @@ -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 */ -- 2.36.6