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

addons: vxlan: fix name 'vni_mcastgrp_map' is not defined

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
Julien Fortin
2021-06-21 18:17:58 +02:00
parent d910b87c50
commit b3a93dfce1

View File

@@ -1023,8 +1023,8 @@ class vxlan(Vxlan, moduleBase):
try:
for v, g in vxlan_mcast_grp.items():
if v not in vnisd.keys():
self.logger.error("%s: group %s configured for a vni not specified in vlan vni map (%s)"
%(ifaceobj.name, g, vni_mcastgrp_map))
self.logger.error("%s: group %s configured for a vni (%s) not specified in vlan vni map"
%(ifaceobj.name, g, v))
return
vnisd[v] = str(g)
except Exception as e: