mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02: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:
2 files changed
+34
-1
No files matched your search
@@ -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