Bug 5182 - Customized name support for VLAN trunk should be supported
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface.yang
index 828ede50d72c9528ce64b386a32c30428fa4af6a..e72728aa2703c2b37a872643166701c4e46c66b1 100644 (file)
@@ -17,6 +17,7 @@ module odl-interface {
 
     import ietf-inet-types {
         prefix inet;
+        revision-date "2010-09-24";
     }
 
     import opendaylight-inventory {
@@ -142,6 +143,7 @@ module odl-interface {
                         "The VLAN mode transparent.";
                 }
             }
+            default "trunk";
         }
     }
 
@@ -187,6 +189,16 @@ module odl-interface {
             type inet:ip-address;
             description "gateway IP address";
         }
+
+        leaf monitor-enabled {
+            type boolean;
+            default false;
+        }
+
+        leaf monitor-interval {
+             type uint32;
+              default 10000;
+        }
     }
 
     augment "/if:interfaces/if:interface" {
@@ -215,6 +227,7 @@ module odl-interface {
             description "gateway IP address";
         }
     }
+
     /* MPLS logical port */
     augment "/if:interfaces/if:interface" {
         ext:augment-identifier "if-mpls";