mirror of https://gitee.com/openkylin/libvirt.git
Fix generation of networkCreateXML and storagePoolCreateXML
This commit is contained in:
parent
b02c0455d1
commit
61243e0f57
|
@ -1,3 +1,9 @@
|
|||
Wed Apr 1 11:37:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* python/generator.py: Fix generation of networkCreateXML
|
||||
and storagePoolCreateXML to avoid clash with createXML()
|
||||
method
|
||||
|
||||
Wed Apr 1 11:36:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
Fix localtime handling for new XenD
|
||||
|
|
|
@ -684,12 +684,18 @@ def nameFixup(name, classe, type, file):
|
|||
elif name[0:16] == "virNetworkDefine":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
elif name[0:19] == "virNetworkCreateXML":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
elif name[0:16] == "virNetworkLookup":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
elif name[0:20] == "virStoragePoolDefine":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
elif name[0:23] == "virStoragePoolCreateXML":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
elif name[0:20] == "virStoragePoolLookup":
|
||||
func = name[3:]
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
|
|
Loading…
Reference in New Issue