JIRA: NETVIRT:1232
Change-Id: I9318bf47b635960aa8c4e8956b8c00565560f0f4
Signed-off-by: Sam Hague <shague@redhat.com>
dpnid = self.get_dpn_from_ofnodeid(node['id'])
for group in node.get(Nodes.NODE_GROUP, []):
if group_dict.get(dpnid) and group_dict.get(dpnid).get(group[key]):
- print 'Duplicate:', dpnid, group[key]
+ print "Duplicate: dpn_id: {}, group: {}".format(dpnid, group[key])
group_dict[dpnid][group[key]] = group
return dict(group_dict)
def print_keys(ifaces, ifstates):
print "InterfaceNames: {}\n".format(ifaces.keys())
- print
print "IfStateNames: {}".format(ifstates.keys())
def get_eltag_for_iface(eifaces, einsts, iface):
- print eifaces
+ print "eifaces: {}".format(eifaces)
ifname = iface.get('name') if iface else None
eiface = eifaces.get(ifname) if ifname else None
einst_name = eiface.get('elan-instance-name') if eiface else None