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

addons: vrf: fix typo in reading vrf-max-count attribute name get at init

Ticket: CM-9105
Reviewed By: trivial
Testing Done: tested vrf bringup and default attributes at boot
This commit is contained in:
Roopa Prabhu
2016-03-13 18:17:35 -07:00
parent 83841a5136
commit 4a95c92f55

View File

@@ -100,7 +100,7 @@ class vrf(moduleBase):
self.vrf_table_id_end = policymanager.policymanager_api.get_module_globals(module_name=self.__class__.__name__, attr='vrf-table-id-end')
if not self.vrf_table_id_end:
self.vrf_table_id_end = self.VRF_TABLE_END
self.vrf_max_count = policymanager.policymanager_api.get_module_globals(module_name=self.__class__.__name__, attr='vf-max-count')
self.vrf_max_count = policymanager.policymanager_api.get_module_globals(module_name=self.__class__.__name__, attr='vrf-max-count')
last_used_vrf_table = None
for t in range(self.vrf_table_id_start,