mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
This patch adds initial support for vrf in ifupdown2.
Example interfaces file section:
auto swp1.100
iface swp1.100
vrf blue
auto blue
iface blue
vrf-table 10
iproute2 vrf map is generated under:
/etc/iproute2/rt_tables.d/ifupdown2.vrf_map
this patch also adds prelimnary support for 'vrf-table auto'.
But this needs more work.
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
36 lines
517 B
Plaintext
36 lines
517 B
Plaintext
pre-up,link
|
|
pre-up,bond
|
|
pre-up,vlan
|
|
pre-up,vxlan
|
|
pre-up,clagd
|
|
pre-up,usercmds
|
|
pre-up,bridge
|
|
pre-up,bridgevlan
|
|
pre-up,mstpctl
|
|
pre-up,vrf
|
|
up,dhcp
|
|
up,address
|
|
up,addressvirtual
|
|
up,usercmds
|
|
post-up,ethtool
|
|
post-up,usercmds
|
|
post-up,clagd
|
|
post-up,vxrd
|
|
pre-down,usercmds
|
|
pre-down,ethtool
|
|
pre-down,vxrd
|
|
down,dhcp
|
|
down,addressvirtual
|
|
down,address
|
|
down,usercmds
|
|
post-down,vrf
|
|
post-down,clagd
|
|
post-down,mstpctl
|
|
post-down,bridgevlan
|
|
post-down,bridge
|
|
post-down,vxlan
|
|
post-down,vlan
|
|
post-down,bond
|
|
post-down,usercmds
|
|
post-down,link
|