mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-21 15:32:54 +00:00
staticd: make table-id as the key for path-list
modified the yang model for path-list. table-id should be a key, as one route can have multiple table-ids. Signed-off-by: vishaldhingra <vdhingra@vmware.com>
This commit is contained in:
parent
e11922f0e9
commit
ad6149e39d
@ -63,7 +63,13 @@ module frr-staticd {
|
|||||||
|
|
||||||
grouping staticd-prefix-attributes {
|
grouping staticd-prefix-attributes {
|
||||||
list path-list {
|
list path-list {
|
||||||
key "distance";
|
key "table-id distance";
|
||||||
|
leaf table-id {
|
||||||
|
type uint32;
|
||||||
|
description
|
||||||
|
"Table-id";
|
||||||
|
}
|
||||||
|
|
||||||
leaf distance {
|
leaf distance {
|
||||||
type frr-rt:administrative-distance;
|
type frr-rt:administrative-distance;
|
||||||
description
|
description
|
||||||
@ -77,13 +83,6 @@ module frr-staticd {
|
|||||||
"Route tag";
|
"Route tag";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf table-id {
|
|
||||||
type uint32;
|
|
||||||
default "0";
|
|
||||||
description
|
|
||||||
"Table-id";
|
|
||||||
}
|
|
||||||
|
|
||||||
uses frr-nexthop:frr-nexthop;
|
uses frr-nexthop:frr-nexthop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user