diff options
author | Mark Stapp <mjs@voltanet.io> | 2021-01-15 15:35:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 15:35:12 +0100 |
commit | 0189d02fe1092e4b741aa9ae978ba6c465289830 (patch) | |
tree | 47f9f645716f63f455fe8746679b7fe256589ae5 /yang | |
parent | Merge pull request #7870 from donaldsharp/pytest_marking (diff) | |
parent | staticd: Backend cofiguration code to fix table-id problem (diff) | |
download | frr-0189d02fe1092e4b741aa9ae978ba6c465289830.tar.xz frr-0189d02fe1092e4b741aa9ae978ba6c465289830.zip |
Merge pull request #7844 from vishaldhingra/static
staticd: correct table-id handling for static routes.
Diffstat (limited to 'yang')
-rw-r--r-- | yang/frr-staticd.yang | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/yang/frr-staticd.yang b/yang/frr-staticd.yang index 281b4903c..98ff3a83c 100644 --- a/yang/frr-staticd.yang +++ b/yang/frr-staticd.yang @@ -63,7 +63,13 @@ module frr-staticd { grouping staticd-prefix-attributes { list path-list { - key "distance"; + key "table-id distance"; + leaf table-id { + type uint32; + description + "Table-id"; + } + leaf distance { type frr-rt:administrative-distance; description @@ -77,13 +83,6 @@ module frr-staticd { "Route tag"; } - leaf table-id { - type uint32; - default "0"; - description - "Table-id"; - } - uses frr-nexthop:frr-nexthop; } } |