mirror of
https://github.com/virt-manager/virt-manager.git
synced 2026-08-12 05:54:53 -05:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user