X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=interfacemgr%2Finterfacemgr-api%2Fsrc%2Fmain%2Fyang%2Fodl-interface.yang;h=29994dafdc8937b8f29842a81f3e1f3595ae018b;hb=fd4e64307b45b3e0c9704a3dc699e66c644efc11;hp=38405be01414d4a3b8b05e61692105f32f2f438a;hpb=b4b1b760287d5aa668c493b0a8f35e2ebae5ecd8;p=vpnservice.git diff --git a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang index 38405be0..29994daf 100644 --- a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang +++ b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang @@ -17,6 +17,7 @@ module odl-interface { import ietf-inet-types { prefix inet; + revision-date "2010-09-24"; } import opendaylight-inventory { @@ -70,6 +71,11 @@ module odl-interface { base tunnel-type-base; } + identity tunnel-type-mpls-over-gre { + description "Tunnel type for mpls over gre tunnels"; + base tunnel-type-base; + } + /* base/common properties */ augment "/if:interfaces/if:interface" { status deprecated; @@ -155,6 +161,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; @@ -175,6 +188,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" { @@ -203,6 +226,7 @@ module odl-interface { description "gateway IP address"; } } + /* MPLS logical port */ augment "/if:interfaces/if:interface" { ext:augment-identifier "if-mpls";