virtinst: s/_XML_ROOT_NAME/XML_NAME/g

No reason for it to be privatized, could be useful in some cases
This commit is contained in:
Cole Robinson
2018-03-21 11:17:36 -04:00
parent 3e176f2aa4
commit 7fb1ddbc18
43 changed files with 106 additions and 106 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ def _default_network(conn):
class _VirtualPort(XMLBuilder):
_XML_ROOT_NAME = "virtualport"
XML_NAME = "virtualport"
type = XMLProperty("./@type")
managerid = XMLProperty("./parameters/@managerid", is_int=True)
@@ -113,7 +113,7 @@ class _VirtualPort(XMLBuilder):
class DeviceInterface(Device):
_XML_ROOT_NAME = "interface"
XML_NAME = "interface"
TYPE_BRIDGE = "bridge"
TYPE_VIRTUAL = "network"