]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: support for new addon module for vrf
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 28 Jan 2016 22:00:09 +0000 (14:00 -0800)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 29 Jan 2016 06:01:59 +0000 (22:01 -0800)
commit8465de90770caaa134bdd0364379fc39939a40f5
tree74a14e7c6ddd276dd769798744998d7741f4eb53
parent07678ee4ce1e2867da25fd6e8a71d6526af03d5f
addons: support for new addon module for vrf

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>
addons/vrf.py [new file with mode: 0644]
config/addons.conf
ifupdownaddons/iproute2.py
setup.py