mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 22:30:52 +00:00
yang: use relative path for route-map
f1ea52bee9
("yang: use relative path instead of absolute one for
route-map") has introduced a route-map optimization but some paths
were not changed.
Use relative path instead absolute one everywhere.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
ade993b629
commit
6dc83f6a9a
@ -847,7 +847,7 @@ identity set-extcommunity-color {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case extcommunity-nt {
|
case extcommunity-nt {
|
||||||
when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:set-extcommunity-nt')";
|
when "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:set-extcommunity-nt')";
|
||||||
description
|
description
|
||||||
"Value of the ext-community";
|
"Value of the ext-community";
|
||||||
leaf extcommunity-nt {
|
leaf extcommunity-nt {
|
||||||
@ -1008,7 +1008,7 @@ identity set-extcommunity-color {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case aigp-metric {
|
case aigp-metric {
|
||||||
when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:aigp-metric')";
|
when "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:aigp-metric')";
|
||||||
leaf aigp-metric {
|
leaf aigp-metric {
|
||||||
type string;
|
type string;
|
||||||
description
|
description
|
||||||
@ -1127,16 +1127,14 @@ identity set-extcommunity-color {
|
|||||||
case comm-list-name {
|
case comm-list-name {
|
||||||
when "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:comm-list-delete') or "
|
when "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:comm-list-delete') or "
|
||||||
+ "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:large-comm-list-delete') or "
|
+ "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:large-comm-list-delete') or "
|
||||||
+ "derived-from-or-self(../frr-route-map:action,
|
+ "derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:extended-comm-list-delete')";
|
||||||
'frr-bgp-route-map:extended-comm-list-delete')";
|
|
||||||
leaf comm-list-name {
|
leaf comm-list-name {
|
||||||
type bgp-filter:bgp-list-name;
|
type bgp-filter:bgp-list-name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case evpn-gateway-ip-ipv4 {
|
case evpn-gateway-ip-ipv4 {
|
||||||
when
|
when
|
||||||
"derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action,
|
"derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:set-evpn-gateway-ip-ipv4')";
|
||||||
'frr-bgp-route-map:set-evpn-gateway-ip-ipv4')";
|
|
||||||
description
|
description
|
||||||
"Set EVPN gateway IP overlay index IPv4";
|
"Set EVPN gateway IP overlay index IPv4";
|
||||||
leaf evpn-gateway-ip-ipv4 {
|
leaf evpn-gateway-ip-ipv4 {
|
||||||
@ -1145,8 +1143,7 @@ identity set-extcommunity-color {
|
|||||||
}
|
}
|
||||||
case evpn-gateway-ip-ipv6 {
|
case evpn-gateway-ip-ipv6 {
|
||||||
when
|
when
|
||||||
"derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action,
|
"derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:set-evpn-gateway-ip-ipv6')";
|
||||||
'frr-bgp-route-map:set-evpn-gateway-ip-ipv6')";
|
|
||||||
description
|
description
|
||||||
"Set EVPN gateway IP overlay index IPv6";
|
"Set EVPN gateway IP overlay index IPv6";
|
||||||
leaf evpn-gateway-ip-ipv6 {
|
leaf evpn-gateway-ip-ipv6 {
|
||||||
@ -1155,8 +1152,7 @@ identity set-extcommunity-color {
|
|||||||
}
|
}
|
||||||
case l3vpn-nexthop-encapsulation {
|
case l3vpn-nexthop-encapsulation {
|
||||||
when
|
when
|
||||||
"derived-from-or-self(../frr-route-map:action,
|
"derived-from-or-self(../frr-route-map:action, 'frr-bgp-route-map:set-l3vpn-nexthop-encapsulation')";
|
||||||
'frr-bgp-route-map:set-l3vpn-nexthop-encapsulation')";
|
|
||||||
description
|
description
|
||||||
"Accept L3VPN traffic over other than LSP encapsulation";
|
"Accept L3VPN traffic over other than LSP encapsulation";
|
||||||
leaf l3vpn-nexthop-encapsulation {
|
leaf l3vpn-nexthop-encapsulation {
|
||||||
|
Loading…
Reference in New Issue
Block a user