mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 15:28:11 +00:00
Add a test of cloud raw ethernet interface
Before touching it for the bridge support a test to prevent regressions. Ref #761
This commit is contained in:
@ -41,10 +41,13 @@ class Cloud(BaseNode):
|
||||
:param project: Project instance
|
||||
:param manager: Parent VM Manager
|
||||
"""
|
||||
_cloud_id = 0
|
||||
|
||||
def __init__(self, name, node_id, project, manager, ports=[]):
|
||||
|
||||
super().__init__(name, node_id, project, manager)
|
||||
Cloud._cloud_id += 1
|
||||
|
||||
self._nios = {}
|
||||
# If the cloud is not configured we fill it with host interfaces
|
||||
if not ports or len(ports) == 0:
|
||||
|
Reference in New Issue
Block a user