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:
Julien Duponchelle committed 2016-11-04 16:52:29 +01:00
1 parent 74695efe90
commit 1b3e47ce83
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: