example-bfd-echo.yang | example-bfd-echo-formatted.yang | |||
---|---|---|---|---|
module example-bfd-echo { | module example-bfd-echo { | |||
namespace "tag:example.com,2021:example-bfd-echo"; | namespace "tag:example.com,2021:example-bfd-echo"; | |||
prefix example-bfd-echo; | ||||
prefix "example-bfd-echo"; | ||||
import ietf-bfd-types { | import ietf-bfd-types { | |||
prefix "bfd-types"; | prefix bfd-types; | |||
} | } | |||
import ietf-bfd { | import ietf-bfd { | |||
prefix "bfd"; | prefix bfd; | |||
} | } | |||
import ietf-bfd-ip-sh { | import ietf-bfd-ip-sh { | |||
prefix "bfd-ip-sh"; | prefix bfd-ip-sh; | |||
} | } | |||
import ietf-routing { | import ietf-routing { | |||
prefix "rt"; | prefix rt; | |||
} | } | |||
organization "IETF BFD Working Group"; | organization | |||
"IETF BFD Working Group"; | ||||
contact | contact | |||
"WG Web: <https://datatracker.ietf.org/wg/bfd/> | "WG Web: <https://datatracker.ietf.org/wg/bfd/> | |||
WG List: <mailto:rtg-bfd@ietf.org> | WG List: <mailto:rtg-bfd@ietf.org> | |||
Editor: Reshad Rahman | Editor: Reshad Rahman | |||
<mailto:reshad@yahoo.com> | <mailto:reshad@yahoo.com> | |||
Editor: Lianshu Zheng | Editor: Lianshu Zheng | |||
<mailto:vero.zheng@huawei.com> | <mailto:vero.zheng@huawei.com> | |||
skipping to change at line 65 ¶ | skipping to change at line 60 ¶ | |||
description | description | |||
"Initial revision."; | "Initial revision."; | |||
reference | reference | |||
"RFC 9127: YANG Data Model for Bidirectional Forwarding | "RFC 9127: YANG Data Model for Bidirectional Forwarding | |||
Detection (BFD)"; | Detection (BFD)"; | |||
} | } | |||
/* | /* | |||
* Groupings | * Groupings | |||
*/ | */ | |||
grouping echo-cfg-parms { | grouping echo-cfg-parms { | |||
description | description | |||
"BFD grouping for Echo configuration parameters."; | "BFD grouping for Echo configuration parameters."; | |||
leaf desired-min-echo-tx-interval { | leaf desired-min-echo-tx-interval { | |||
type uint32; | type uint32; | |||
units microseconds; | units "microseconds"; | |||
default 0; | default "0"; | |||
description | description | |||
"This is the minimum interval that the local system would | "This is the minimum interval that the local system would | |||
like to use when transmitting BFD Echo packets. If 0, | like to use when transmitting BFD Echo packets. If 0, | |||
the Echo function as defined in BFD (RFC 5880) is | the Echo function as defined in BFD (RFC 5880) is | |||
disabled."; | disabled."; | |||
} | } | |||
leaf required-min-echo-rx-interval { | leaf required-min-echo-rx-interval { | |||
type uint32; | type uint32; | |||
units microseconds; | units "microseconds"; | |||
default 0; | default "0"; | |||
description | description | |||
"This is the Required Min Echo RX Interval as defined in BFD | "This is the Required Min Echo RX Interval as defined in BFD | |||
(RFC 5880)."; | (RFC 5880)."; | |||
} | } | |||
} | } | |||
augment "/rt:routing/rt:control-plane-protocols/" | augment "/rt:routing/rt:control-plane-protocols/" | |||
+ "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" | + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" | |||
+ "bfd-ip-sh:sessions" { | + "bfd-ip-sh:sessions" { | |||
description | description | |||
skipping to change at line 94 ¶ | skipping to change at line 89 ¶ | |||
"This is the Required Min Echo RX Interval as defined in BFD | "This is the Required Min Echo RX Interval as defined in BFD | |||
(RFC 5880)."; | (RFC 5880)."; | |||
} | } | |||
} | } | |||
augment "/rt:routing/rt:control-plane-protocols/" | augment "/rt:routing/rt:control-plane-protocols/" | |||
+ "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" | + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/" | |||
+ "bfd-ip-sh:sessions" { | + "bfd-ip-sh:sessions" { | |||
description | description | |||
"Augmentation for the BFD Echo function."; | "Augmentation for the BFD Echo function."; | |||
container echo { | container echo { | |||
if-feature bfd-types:echo-mode; | if-feature "bfd-types:echo-mode"; | |||
description | description | |||
"BFD Echo function container."; | "BFD Echo function container."; | |||
uses echo-cfg-parms; | uses echo-cfg-parms; | |||
} | } | |||
} | } | |||
} | } | |||
End of changes. 16 change blocks. | ||||
20 lines changed or deleted | 13 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |