forked from Mirror/frr
yang: Fixed pyang errors at frr-isisd.yang
Fixed pyang errors at frr-isisd.yang Signed-off-by: y-bharath14 <y.bharath@samsung.com>
This commit is contained in:
parent
0a275ba161
commit
99b617954e
|
@ -65,20 +65,28 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"Group SRGB and SRLB in a container so that they can be displayed
|
"Group SRGB and SRLB in a container so that they can be displayed
|
||||||
and configured together";
|
and configured together";
|
||||||
|
reference
|
||||||
|
"ISO/IEC 10589:2002.";
|
||||||
}
|
}
|
||||||
revision 2020-04-06 {
|
revision 2020-04-06 {
|
||||||
description
|
description
|
||||||
"Group LSP timers in a container so that they can be displayed and
|
"Group LSP timers in a container so that they can be displayed and
|
||||||
configured together";
|
configured together";
|
||||||
|
reference
|
||||||
|
"ISO/IEC 10589:2002.";
|
||||||
}
|
}
|
||||||
revision 2019-12-17 {
|
revision 2019-12-17 {
|
||||||
description
|
description
|
||||||
"Changed default area is-type to level-1-2";
|
"Changed default area is-type to level-1-2";
|
||||||
|
reference
|
||||||
|
"ISO/IEC 10589:2002.";
|
||||||
}
|
}
|
||||||
revision 2019-09-09 {
|
revision 2019-09-09 {
|
||||||
description
|
description
|
||||||
"Changed interface references to use
|
"Changed interface references to use
|
||||||
frr-interface:interface-ref typedef";
|
frr-interface:interface-ref typedef";
|
||||||
|
reference
|
||||||
|
"ISO/IEC 10589:2002.";
|
||||||
}
|
}
|
||||||
revision 2018-07-26 {
|
revision 2018-07-26 {
|
||||||
description
|
description
|
||||||
|
@ -134,6 +142,8 @@ module frr-isisd {
|
||||||
"Add padding to hello packets during adjacency formation only.";
|
"Add padding to hello packets during adjacency formation only.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
description
|
||||||
|
"Type for hello padding configuration.";
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef network-type {
|
typedef network-type {
|
||||||
|
@ -159,6 +169,8 @@ module frr-isisd {
|
||||||
"Loopback circuit network-type. Only valid as a state.";
|
"Loopback circuit network-type. Only valid as a state.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
description
|
||||||
|
"Type of network for an IS-IS interface.";
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef lsp-id {
|
typedef lsp-id {
|
||||||
|
@ -268,14 +280,20 @@ module frr-isisd {
|
||||||
"This enum describes transition metric style";
|
"This enum describes transition metric style";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
description
|
||||||
|
"Enumeration for IS-IS metric styles.";
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef access-list-ref {
|
typedef access-list-ref {
|
||||||
type string;
|
type string;
|
||||||
|
description
|
||||||
|
"Reference to a access list.";
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef prefix-list-ref {
|
typedef prefix-list-ref {
|
||||||
type string;
|
type string;
|
||||||
|
description
|
||||||
|
"Reference to a prefix list.";
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping redistribute-attributes {
|
grouping redistribute-attributes {
|
||||||
|
@ -344,6 +362,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping isis-area-password {
|
grouping isis-area-password {
|
||||||
|
description
|
||||||
|
"Grouping for IS-IS area password configuration.";
|
||||||
|
|
||||||
uses isis-password;
|
uses isis-password;
|
||||||
|
|
||||||
leaf authenticate-snp {
|
leaf authenticate-snp {
|
||||||
|
@ -371,6 +392,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping global-config-lfa {
|
grouping global-config-lfa {
|
||||||
|
description
|
||||||
|
"Grouping for LFA configuration.";
|
||||||
|
|
||||||
container lfa {
|
container lfa {
|
||||||
description
|
description
|
||||||
"LFA configuration.";
|
"LFA configuration.";
|
||||||
|
@ -441,6 +465,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping global-config-remote-lfa {
|
grouping global-config-remote-lfa {
|
||||||
|
description
|
||||||
|
"Grouping for Remote LFA configuration.";
|
||||||
|
|
||||||
container remote-lfa {
|
container remote-lfa {
|
||||||
description
|
description
|
||||||
"Remote LFA configuration.";
|
"Remote LFA configuration.";
|
||||||
|
@ -454,6 +481,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping interface-config-lfa {
|
grouping interface-config-lfa {
|
||||||
|
description
|
||||||
|
"Grouping for LFA configuration on an interface.";
|
||||||
|
|
||||||
container lfa {
|
container lfa {
|
||||||
description
|
description
|
||||||
"LFA configuration.";
|
"LFA configuration.";
|
||||||
|
@ -472,19 +502,22 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping interface-config-remote-lfa {
|
grouping interface-config-remote-lfa {
|
||||||
|
description
|
||||||
|
"Grouping for remote LFA configuration.";
|
||||||
|
|
||||||
container remote-lfa {
|
container remote-lfa {
|
||||||
description
|
description
|
||||||
"Remote LFA configuration.";
|
"Remote LFA configuration.";
|
||||||
|
|
||||||
leaf enable {
|
leaf enable {
|
||||||
type boolean;
|
type boolean;
|
||||||
default false;
|
|
||||||
description
|
|
||||||
"Enables remote LFA computation using LDP tunnels.";
|
|
||||||
must ". = 'false' or ../../lfa/enable = 'true'" {
|
must ". = 'false' or ../../lfa/enable = 'true'" {
|
||||||
error-message
|
error-message
|
||||||
"Remote LFA depends on classic LFA being configured in the interface.";
|
"Remote LFA depends on classic LFA being configured in the interface.";
|
||||||
}
|
}
|
||||||
|
default false;
|
||||||
|
description
|
||||||
|
"Enables remote LFA computation using LDP tunnels.";
|
||||||
|
|
||||||
}
|
}
|
||||||
leaf maximum-metric {
|
leaf maximum-metric {
|
||||||
|
@ -498,15 +531,18 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
grouping interface-config-ti-lfa {
|
grouping interface-config-ti-lfa {
|
||||||
|
description
|
||||||
|
"Grouping for TI-LFA configuration.";
|
||||||
|
|
||||||
container ti-lfa {
|
container ti-lfa {
|
||||||
description
|
description
|
||||||
"TI-LFA configuration.";
|
"TI-LFA configuration.";
|
||||||
leaf enable {
|
leaf enable {
|
||||||
|
type boolean;
|
||||||
must ". = 'false' or ../../lfa/enable = 'false'" {
|
must ". = 'false' or ../../lfa/enable = 'false'" {
|
||||||
error-message
|
error-message
|
||||||
"Can't enable both classic LFA and TI-LFA in the same interface.";
|
"Can't enable both classic LFA and TI-LFA in the same interface.";
|
||||||
}
|
}
|
||||||
type boolean;
|
|
||||||
default false;
|
default false;
|
||||||
description
|
description
|
||||||
"Enables TI-LFA computation.";
|
"Enables TI-LFA computation.";
|
||||||
|
@ -560,6 +596,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
container bfd-monitoring {
|
container bfd-monitoring {
|
||||||
|
description
|
||||||
|
"Container for BFD monitoring configuration.";
|
||||||
|
|
||||||
leaf enabled {
|
leaf enabled {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
@ -742,6 +781,9 @@ module frr-isisd {
|
||||||
container password {
|
container password {
|
||||||
presence "Present if a password is set for this IS interface.";
|
presence "Present if a password is set for this IS interface.";
|
||||||
uses isis-password;
|
uses isis-password;
|
||||||
|
|
||||||
|
description
|
||||||
|
"Container for the password of this IS interface.";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf disable-three-way-handshake {
|
leaf disable-three-way-handshake {
|
||||||
|
@ -1035,6 +1077,9 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"This container lists the information of adjacency SID.";
|
"This container lists the information of adjacency SID.";
|
||||||
list adjacency-sid {
|
list adjacency-sid {
|
||||||
|
description
|
||||||
|
"List of adjacency SIDs.";
|
||||||
|
|
||||||
leaf af {
|
leaf af {
|
||||||
type uint8;
|
type uint8;
|
||||||
description
|
description
|
||||||
|
@ -1070,6 +1115,9 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"This container lists the information of LAN adjacency SID.";
|
"This container lists the information of LAN adjacency SID.";
|
||||||
list lan-adjacency-sid {
|
list lan-adjacency-sid {
|
||||||
|
description
|
||||||
|
"List of LAN adjacency SIDs.";
|
||||||
|
|
||||||
leaf af {
|
leaf af {
|
||||||
type uint8;
|
type uint8;
|
||||||
description
|
description
|
||||||
|
@ -1456,6 +1504,8 @@ module frr-isisd {
|
||||||
leaf level {
|
leaf level {
|
||||||
type level;
|
type level;
|
||||||
must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
|
must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
|
||||||
|
description
|
||||||
|
"Specifies the level to which the default route should be distributed.";
|
||||||
}
|
}
|
||||||
|
|
||||||
uses redistribute-default;
|
uses redistribute-default;
|
||||||
|
@ -1468,6 +1518,8 @@ module frr-isisd {
|
||||||
leaf level {
|
leaf level {
|
||||||
type level;
|
type level;
|
||||||
must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
|
must "(. != \"level-1-2\") and ((../../../is-type = \"level-1-2\") or (. = ../../../is-type))";
|
||||||
|
description
|
||||||
|
"Specifies the level to which the default route should be distributed.";
|
||||||
}
|
}
|
||||||
|
|
||||||
uses redistribute-default;
|
uses redistribute-default;
|
||||||
|
@ -1496,11 +1548,14 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
choice protocol-type {
|
choice protocol-type {
|
||||||
|
description
|
||||||
|
"Choice of routing protocol type.";
|
||||||
|
|
||||||
case protocol-table {
|
case protocol-table {
|
||||||
when "./protocol = \"table\"";
|
when "./protocol = \"table\"";
|
||||||
list table {
|
list table {
|
||||||
key "table";
|
|
||||||
when "../protocol = \"table\"";
|
when "../protocol = \"table\"";
|
||||||
|
key "table";
|
||||||
description
|
description
|
||||||
"Routing table number";
|
"Routing table number";
|
||||||
|
|
||||||
|
@ -1540,11 +1595,16 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
|
|
||||||
choice protocol-type {
|
choice protocol-type {
|
||||||
|
description
|
||||||
|
"Choice of routing protocol type.";
|
||||||
|
|
||||||
case protocol-table {
|
case protocol-table {
|
||||||
when "./protocol = \"table\"";
|
|
||||||
list table {
|
list table {
|
||||||
key "table";
|
|
||||||
when "../protocol = \"table\"";
|
when "../protocol = \"table\"";
|
||||||
|
key "table";
|
||||||
|
|
||||||
|
description
|
||||||
|
"List of routing tables for the 'table' protocol.";
|
||||||
|
|
||||||
leaf table {
|
leaf table {
|
||||||
type uint16 {
|
type uint16 {
|
||||||
|
@ -1556,6 +1616,7 @@ module frr-isisd {
|
||||||
|
|
||||||
uses redistribute-attributes;
|
uses redistribute-attributes;
|
||||||
}
|
}
|
||||||
|
when "./protocol = \"table\"";
|
||||||
}
|
}
|
||||||
case protocol-other {
|
case protocol-other {
|
||||||
uses redistribute-attributes;
|
uses redistribute-attributes;
|
||||||
|
@ -1575,6 +1636,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1585,6 +1648,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1595,6 +1660,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1605,6 +1672,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1615,6 +1684,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1625,6 +1696,8 @@ module frr-isisd {
|
||||||
leaf overload {
|
leaf overload {
|
||||||
type boolean;
|
type boolean;
|
||||||
default "false";
|
default "false";
|
||||||
|
description
|
||||||
|
"If set to true, the router will advertise itself as overloaded to its neighbors.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1730,9 +1803,6 @@ module frr-isisd {
|
||||||
"Use Flex-algo Prefix Metric";
|
"Use Flex-algo Prefix Metric";
|
||||||
}
|
}
|
||||||
leaf metric-type {
|
leaf metric-type {
|
||||||
default "igp";
|
|
||||||
description
|
|
||||||
"Set the Flex-Algo metric-type";
|
|
||||||
type enumeration {
|
type enumeration {
|
||||||
enum "igp" {
|
enum "igp" {
|
||||||
value 0;
|
value 0;
|
||||||
|
@ -1750,6 +1820,9 @@ module frr-isisd {
|
||||||
"RFC 5305 Sec 3.7 Traffic Engineering Default Metric";
|
"RFC 5305 Sec 3.7 Traffic Engineering Default Metric";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
default "igp";
|
||||||
|
description
|
||||||
|
"Set the Flex-Algo metric-type";
|
||||||
}
|
}
|
||||||
leaf priority {
|
leaf priority {
|
||||||
type uint32 {
|
type uint32 {
|
||||||
|
@ -1799,15 +1872,15 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"Global blocks to be advertised.";
|
"Global blocks to be advertised.";
|
||||||
leaf lower-bound {
|
leaf lower-bound {
|
||||||
must "../upper-bound > .";
|
|
||||||
type uint32;
|
type uint32;
|
||||||
|
must "../upper-bound > .";
|
||||||
default "16000";
|
default "16000";
|
||||||
description
|
description
|
||||||
"Lower value in the label range.";
|
"Lower value in the label range.";
|
||||||
}
|
}
|
||||||
leaf upper-bound {
|
leaf upper-bound {
|
||||||
must ". > ../lower-bound";
|
|
||||||
type uint32;
|
type uint32;
|
||||||
|
must ". > ../lower-bound";
|
||||||
default "23999";
|
default "23999";
|
||||||
description
|
description
|
||||||
"Upper value in the label range.";
|
"Upper value in the label range.";
|
||||||
|
@ -1817,15 +1890,15 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"Local blocks to be advertised.";
|
"Local blocks to be advertised.";
|
||||||
leaf lower-bound {
|
leaf lower-bound {
|
||||||
must "../upper-bound > .";
|
|
||||||
type uint32;
|
type uint32;
|
||||||
|
must "../upper-bound > .";
|
||||||
default "15000";
|
default "15000";
|
||||||
description
|
description
|
||||||
"Lower value in the label range.";
|
"Lower value in the label range.";
|
||||||
}
|
}
|
||||||
leaf upper-bound {
|
leaf upper-bound {
|
||||||
must ". > ../lower-bound";
|
|
||||||
type uint32;
|
type uint32;
|
||||||
|
must ". > ../lower-bound";
|
||||||
default "15999";
|
default "15999";
|
||||||
description
|
description
|
||||||
"Upper value in the label range.";
|
"Upper value in the label range.";
|
||||||
|
@ -2053,9 +2126,9 @@ module frr-isisd {
|
||||||
}
|
}
|
||||||
leaf interface {
|
leaf interface {
|
||||||
type string;
|
type string;
|
||||||
|
default "sr0";
|
||||||
description
|
description
|
||||||
"Dummy interface used to install SRv6 SIDs into the Linux data plane.";
|
"Dummy interface used to install SRv6 SIDs into the Linux data plane.";
|
||||||
default "sr0";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue