mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:57:45 +00:00
lib: move ip node above vrf node for config order
VRF static route commands adopt global static config if static config is placed after a vrf context with no separator, workaround by always writing static route config before vrf config Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
9a55f79a26
commit
9f46cc36aa
@ -85,6 +85,7 @@ const char *node_names[] = {
|
||||
"keychain", // KEYCHAIN_NODE,
|
||||
"keychain key", // KEYCHAIN_KEY_NODE,
|
||||
"logical-router", // LOGICALROUTER_NODE,
|
||||
"static ip", // IP_NODE,
|
||||
"vrf", // VRF_NODE,
|
||||
"interface", // INTERFACE_NODE,
|
||||
"nexthop-group", // NH_GROUP_NODE,
|
||||
@ -119,7 +120,6 @@ const char *node_names[] = {
|
||||
"ldp l2vpn", // LDP_L2VPN_NODE,
|
||||
"ldp", // LDP_PSEUDOWIRE_NODE,
|
||||
"isis", // ISIS_NODE,
|
||||
"static ip", // IP_NODE,
|
||||
"ipv4 access list", // ACCESS_NODE,
|
||||
"ipv4 prefix list", // PREFIX_NODE,
|
||||
"ipv6 access list", // ACCESS_IPV6_NODE,
|
||||
|
@ -85,6 +85,7 @@ enum node_type {
|
||||
KEYCHAIN_NODE, /* Key-chain node. */
|
||||
KEYCHAIN_KEY_NODE, /* Key-chain key node. */
|
||||
LOGICALROUTER_NODE, /* Logical-Router node. */
|
||||
IP_NODE, /* Static ip route node. */
|
||||
VRF_NODE, /* VRF mode node. */
|
||||
INTERFACE_NODE, /* Interface mode node. */
|
||||
NH_GROUP_NODE, /* Nexthop-Group mode node. */
|
||||
@ -119,7 +120,6 @@ enum node_type {
|
||||
LDP_L2VPN_NODE, /* LDP L2VPN node */
|
||||
LDP_PSEUDOWIRE_NODE, /* LDP Pseudowire node */
|
||||
ISIS_NODE, /* ISIS protocol mode */
|
||||
IP_NODE, /* Static ip route node. */
|
||||
ACCESS_NODE, /* Access list node. */
|
||||
PREFIX_NODE, /* Prefix list node. */
|
||||
ACCESS_IPV6_NODE, /* Access list node. */
|
||||
|
Loading…
Reference in New Issue
Block a user