removed unwanted logging in xml generation

This commit is contained in:
bharnden 2018-10-18 16:08:04 -07:00
parent 6dbce144f9
commit 91fc852db1
2 changed files with 0 additions and 4 deletions

View file

@ -537,8 +537,6 @@ class CoreXmlWriter(object):
links = []
for node in self.session.objects.itervalues():
logger.info("writer adding node(%s)", node.name)
# network node
if isinstance(node, coreobj.PyCoreNet) and not nodeutils.is_node(node, NodeTypes.CONTROL_NET):
self.write_network(node)

View file

@ -87,13 +87,11 @@ class CoreXmlDeployment(object):
def find_device(self, name):
device = self.scenario.find("devices/device[@name='%s']" % name)
logger.info("specific found scenario device: %s", device)
return device
def find_interface(self, device, name):
interface = self.scenario.find("devices/device[@name='%s']/interfaces/interface[@name='%s']" % (
device.name, name))
logger.info("specific found scenario interface: %s", interface)
return interface
def add_deployment(self):