Distinguish internal vs external tunnels 03/31003/1
authorFaseela K <faseela.k@ericsson.com>
Tue, 8 Dec 2015 18:01:52 +0000 (23:31 +0530)
committerFaseela K <faseela.k@ericsson.com>
Tue, 8 Dec 2015 18:01:52 +0000 (23:31 +0530)
Change-Id: I79fda67bd63fbb4c5214291743520d5c7e70dcc8
Signed-off-by: Faseela K <faseela.k@ericsson.com>
interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang

index 9f6308e3acd26b86ef5caffc09480d884d73aa7c..828ede50d72c9528ce64b386a32c30428fa4af6a 100644 (file)
@@ -160,6 +160,13 @@ module odl-interface {
         ext:augment-identifier "if-tunnel";
         when "if:type = 'ianaift:tunnel'";
 
+        leaf internal {
+            type boolean;
+            default "false";
+            description
+              "represents whether this is an internal or external tunnel.";
+        }
+        
         leaf tunnel-interface-type {
             type identityref {
                 base tunnel-type-base;