--- /dev/null
+module bfd {
+
+ yang-version "1";
+ namespace "urn:ericsson:params:xml:ns:yang:ebfd";
+ prefix "ericsson-bfd";
+ organization
+ "Ericsson Bangalore";
+ contact
+ "Ericsson Bangalore";
+ description
+ "BFD configuration model for monitoring DC-Gwy control path,
+ Ericsson's implementation of Opendaylight inter-DC communication";
+ revision "2019-02-19" {
+ }
+
+ container monitoring {
+ config "true";
+
+ leaf detect-mult {
+ type uint32;
+ description "The number of packets that have to be missed
+ in a row to declare the session to be down.";
+ }
+ leaf min-rx {
+ type uint32;
+ default 500;
+ description "The shortest interval, in milli-seconds, at
+ which this BFD session offers to receive
+ BFD control messages. Defaults to 500";
+ }
+ leaf min-tx {
+ type uint32;
+ default 6000;
+ description "The shortest interval, in milli-seconds,
+ at which this BFD session is willing to
+ transmit BFD control messages. Defaults
+ to 6000";
+ }
+
+ leaf failure-threshold {
+ type uint32;
+ description "Number milli-seconds to wait before declaring
+ session down";
+ }
+
+ leaf success-threshold {
+ type uint32;
+ description "Number milli-seconds to wait before declaring
+ session up";
+ }
+ }
+
+ container config {
+ leaf cbit {
+ type boolean;
+ default true;
+ description "Value of True indicates control bit SET";
+ config "true";
+ }
+
+ leaf multihop {
+ type boolean;
+ default true;
+ description "Value of True indicates suppport for BFD multihop";
+ config "true";
+ }
+ }
+}
+
leaf announce-fbit {
type boolean;
}
+ leaf keepalive {
+ type uint32;
+ description "BGP keepalive timer value";
+ default 60;
+ }
+ leaf holdtime {
+ type uint32;
+ description "BGP hold time value";
+ default 180;
+ }
}
container graceful-restart {
}
}
- list neighbors {
+ list neighbors {
key "address";
leaf address {
type inet:ipv4-address;
leaf maxpaths {
type uint16;
}
- } //vrfMaxpaths
+ } //vrfMaxpaths
+
+ container bfd {
+ leaf bfd-enabled {
+ description "is BFD enabled";
+ type boolean;
+ default false;
+ }
+ }
+ list tep-dcgw {
+ key "dc-gw-ip";
+ description "mapping: DC-Gwy ip <> TEP ip";
+ leaf dc-gw-ip {
+ type string;
+ }
+ leaf tep-ip {
+ type string;
+ }
+ }
} // bgp
}