ArpTable in contrail_snmp_collector does't support ipNetToPhysicalPhysAddress
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
New
|
Medium
|
Unassigned | |||
Trunk |
New
|
Medium
|
Unassigned |
Bug Description
Underlay Overlay Mapping depends on arpTable. But not all switch vendors support MIB ipNetToMediaTable. Instead, they use MIB ipNetToPhysical
But the contrail is hard code that just only supports ipNetToMediaTab
class ArpTable(
def __init__(self, session):
def py_obj(self):
return self.arpTable
def table_names(self):
return 'ipNetToMediaPh
def ifid(self, x):
ns = x.split('.')
ifindex = int(ns[0])
return ifindex, '.'.join(ns[1:])
def ipNetToMediaPhy
for x in snmp_dict['vars']:
ifidx, ip = self.ifid(x.iid)