Removed unused parameter
Change-Id: I9750e4fb4188e0948531e7623ef2df9e9397994e
diff --git a/xos/synchronizer/steps/sync_onos_netcfg.py b/xos/synchronizer/steps/sync_onos_netcfg.py
index 87d7a50..b41a5f0 100644
--- a/xos/synchronizer/steps/sync_onos_netcfg.py
+++ b/xos/synchronizer/steps/sync_onos_netcfg.py
@@ -20,7 +20,7 @@
def __init__(self, **args):
SyncStep.__init__(self, **args)
- def get_node_tag(self, o, node, tagname):
+ def get_node_tag(self, node, tagname):
tags = Tag.select_by_content_object(node).filter(name=tagname)
return tags[0].value
@@ -106,9 +106,9 @@
nodeip = socket.gethostbyname(node.name)
try:
- bridgeId = self.get_node_tag(o, node, "bridgeId")
- dataPlaneIntf = self.get_node_tag(o, node, "dataPlaneIntf")
- dataPlaneIp = self.get_node_tag(o, node, "dataPlaneIp")
+ bridgeId = self.get_node_tag(node, "bridgeId")
+ dataPlaneIntf = self.get_node_tag(node, "dataPlaneIntf")
+ dataPlaneIp = self.get_node_tag(node, "dataPlaneIp")
except:
logger.error("not adding node %s to the VTN configuration" % node.name)
continue