Netvirt: Yang changes for vlan provider enhancement feature 18/52618/6
authorRavindra Thakur <ravindra.nath.thakur@ericsson.com>
Thu, 2 Mar 2017 08:25:01 +0000 (13:55 +0530)
committerAlon Kochba <alonko@hpe.com>
Tue, 7 Mar 2017 17:02:24 +0000 (17:02 +0000)
Modified the elan:elan-instances container with attribute to indicate
whether the network has an external router attached to it.

Spec review link for the enhancement:
https://git.opendaylight.org/gerrit/#/c/52201/

Change-Id: I0f6fe5779a052804dc9549f97d958038fdb383bb
Signed-off-by: Ravindra Thakur <ravindra.nath.thakur@ericsson.com>
vpnservice/elanmanager/elanmanager-api/src/main/yang/elan.yang

index f1c9400648fe19ad57ca05809fe665c394589b23..deee0519bf5f0a230c6b0fa85e9601c56b73df79 100644 (file)
@@ -59,6 +59,11 @@ module elan {
                 type string;
                 description "Optional. The name of the physical network attached to the ELAN.";
             }
+            leaf external {
+                description "indicates whether this is an external network";
+                type boolean;
+                default false;
+            }
             leaf mac-timeout {
                 type uint32 {
                     range "0..65535";