Skip to content

Commit

Permalink
fix: make two groupings, adjacency-sids and lan-adjacency-sids
Browse files Browse the repository at this point in the history
Signed-off-by: kanaya516 <abcs516tk1@gmail.com>
  • Loading branch information
kanaya516 committed Jan 4, 2023
1 parent 24d168d commit 16d2600
Showing 1 changed file with 72 additions and 61 deletions.
133 changes: 72 additions & 61 deletions yang/frr-isisd.yang
Original file line number Diff line number Diff line change
Expand Up @@ -882,67 +882,8 @@ module frr-isisd {
"This leaf describes the state of the interface.";
}

container adjacency-sids {
description
"This container lists the information of adjacency SID.";
list adjacency-sid {
leaf af {
type uint8;
description
"This leaf describes the protocol-family associated with the
adjacency SID.";
}

leaf value {
type uint32;
description
"This leaf describes the value of adjacency SID.";
}

leaf weight {
type uint8;
description
"This leaf describes the weight of the adjacency SID.";
}

leaf protection-requested {
type boolean;
description
"This leaf describes if the adjacency SID must be protected.";
}
}
}

container lan-adjacency-sids {
description
"This container lists the information of LAN adjacency SID.";
list lan-adjacency-sid {
leaf af {
type uint8;
description
"This leaf describes the protocol-family associated with the
LAN adjacency SID.";
}

leaf value {
type uint32;
description
"This leaf describes the value of LAN adjacency SID.";
}

leaf weight {
type uint8;
description
"This leaf describes the weight of the LAN adjacency SID.";
}

leaf protection-requested {
type boolean;
description
"This leaf describes if the LAN adjacency SID must be protected.";
}
}
}
uses adjacency-sids;
uses lan-adjacency-sids;
}
}
}
Expand Down Expand Up @@ -1066,6 +1007,76 @@ module frr-isisd {
}
}

grouping adjacency-sids {
description
"IS-IS segment routing adjacency SID grouping.";
container adjacency-sids {
description
"This container lists the information of adjacency SID.";
list adjacency-sid {
leaf af {
type uint8;
description
"This leaf describes the protocol-family associated with the
adjacency SID.";
}

leaf value {
type uint32;
description
"This leaf describes the value of adjacency SID.";
}

leaf weight {
type uint8;
description
"This leaf describes the weight of the adjacency SID.";
}

leaf protection-requested {
type boolean;
description
"This leaf describes if the adjacency SID must be protected.";
}
}
}
}

grouping lan-adjacency-sids {
description
"IS-IS segment routing LAN adjacency SID grouping.";
container lan-adjacency-sids {
description
"This container lists the information of LAN adjacency SID.";
list lan-adjacency-sid {
leaf af {
type uint8;
description
"This leaf describes the protocol-family associated with the
LAN adjacency SID.";
}

leaf value {
type uint32;
description
"This leaf describes the value of LAN adjacency SID.";
}

leaf weight {
type uint8;
description
"This leaf describes the weight of the LAN adjacency SID.";
}

leaf protection-requested {
type boolean;
description
"This leaf describes if the LAN adjacency SID must be protected.";
}
}
}
}

container isis {
description
"Configuration of the IS-IS routing daemon.";
Expand Down

0 comments on commit 16d2600

Please sign in to comment.