1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

addons: vrf: iproute2 only reads .conf files

Fix iproute2 vrf map file to end with .conf

Closes: CM-9137
Reviewed By: Roopa
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
This commit is contained in:
Roopa Prabhu
2016-02-04 22:00:31 -08:00
parent a0a8d7e094
commit a1c2368634

View File

@@ -24,7 +24,7 @@ class vrf(moduleBase):
{'help' : 'vrf the interface is part of.',
'example': ['vrf blue']}}}
iproute2_vrf_filename = '/etc/iproute2/rt_tables.d/ifupdown2.vrf_map'
iproute2_vrf_filename = '/etc/iproute2/rt_tables.d/ifupdown2_vrf_map.conf'
iproute2_vrf_filehdr = '# This file is autogenerated by ifupdown2.\n' + \
'# It contains the vrf name to table mapping.\n' + \
'# Reserved table range 150-200\n'