mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
reorganize host interfaces. remove it from instance methods
This commit is contained in:
parent
59af676f68
commit
2f1b11b3ca
6 changed files with 12 additions and 16 deletions
|
@ -482,7 +482,7 @@ class wvmConnect(object):
|
|||
|
||||
def get_networks(self):
|
||||
"""
|
||||
:return: list of networks
|
||||
:return: list of host networks
|
||||
"""
|
||||
virtnet = []
|
||||
for net in self.wvm.listNetworks():
|
||||
|
@ -493,7 +493,7 @@ class wvmConnect(object):
|
|||
|
||||
def get_ifaces(self):
|
||||
"""
|
||||
:return: list of network interfaces
|
||||
:return: list of host interfaces
|
||||
"""
|
||||
interface = []
|
||||
for inface in self.wvm.listInterfaces():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue