Distinguish internal vs external tunnels
[vpnservice.git] / 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;