import ietf-inet-types {
prefix inet;
+ revision-date "2010-09-24";
}
import opendaylight-inventory {
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;
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;
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" {
description "gateway IP address";
}
}
+
/* MPLS logical port */
augment "/if:interfaces/if:interface" {
ext:augment-identifier "if-mpls";