mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Updated libvirtworker to use vmmConnection.create_network().
This commit is contained in:
parent
9b218d91e8
commit
c6aeedea8a
@ -230,7 +230,7 @@ class LibvirtWorker:
|
||||
xml += " </ip>\n"
|
||||
xml += "</network>\n"
|
||||
|
||||
self.__conn.networkDefineXML(xml)
|
||||
self.__vmmconn.create_network(xml)
|
||||
|
||||
def undefine_network(self, name):
|
||||
'''Undefines the specified network.'''
|
||||
|
Loading…
Reference in New Issue
Block a user