Commit aec476c9 by tarokkk

removing debug prints

parent 5f3d506d
...@@ -175,10 +175,3 @@ class VMNetwork: ...@@ -175,10 +175,3 @@ class VMNetwork:
def dump_xml(self): def dump_xml(self):
return ET.tostring(self.build_xml(), encoding='utf8', return ET.tostring(self.build_xml(), encoding='utf8',
method='xml', pretty_print=True) method='xml', pretty_print=True)
a = VMNetwork(name="vm-77", mac="02:00:00:00:00:00")
b = VMDisk(name="asd", source='/asdasd/adasds/asd')
vminst = VMInstance(name="Thisthename", vcpu="1",
memory_max="2048", disk_list=[a], network_list=[b])
# print a.dump_xml()
# print b.dump_xml()
print vminst.dump_xml()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment