Code Review
/
vpnservice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG:5042 LLDP Tunnel Monitoring should update the interface operational
[vpnservice.git]
/
interfacemgr
/
interfacemgr-api
/
src
/
main
/
yang
/
odl-interface.yang
diff --git
a/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang
b/interfacemgr/interfacemgr-api/src/main/yang/odl-interface.yang
index 828ede50d72c9528ce64b386a32c30428fa4af6a..29994dafdc8937b8f29842a81f3e1f3595ae018b 100644
(file)
--- 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;
import ietf-inet-types {
prefix inet;
+ revision-date "2010-09-24";
}
import opendaylight-inventory {
}
import opendaylight-inventory {
@@
-187,6
+188,16
@@
module odl-interface {
type inet:ip-address;
description "gateway IP address";
}
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" {
}
augment "/if:interfaces/if:interface" {
@@
-215,6
+226,7
@@
module odl-interface {
description "gateway IP address";
}
}
description "gateway IP address";
}
}
+
/* MPLS logical port */
augment "/if:interfaces/if:interface" {
ext:augment-identifier "if-mpls";
/* MPLS logical port */
augment "/if:interfaces/if:interface" {
ext:augment-identifier "if-mpls";