+ for c_point in reversed(vdu_init.connection_points):
+ # if the user has specified explicit mgmt_network connection point
+ # then remove the mgmt_network from the VM list
if c_point.virtual_link_id in network_list:
assert False, "Only one port per network supported. Refer: http://specs.openstack.org/openstack/nova-specs/specs/juno/implemented/nfv-multiple-if-1-net.html"
else:
if c_point.virtual_link_id in network_list:
assert False, "Only one port per network supported. Refer: http://specs.openstack.org/openstack/nova-specs/specs/juno/implemented/nfv-multiple-if-1-net.html"
else:
@@ -2086,7+2101,8 @@ class RwcalOpenstackPlugin(GObject.Object, RwCal.Cloud):
with self._use_driver(account) as drv:
### Now Create VM
vm_network_list = []
with self._use_driver(account) as drv:
### Now Create VM
vm_network_list = []
- vm_network_list.append(drv._mgmt_network_id)
+ if explicit_mgmt_network is None:
+ vm_network_list.append(drv._mgmt_network_id)
if vdu_init.has_field('volumes'):
# Only combination supported: Image->Volume
if vdu_init.has_field('volumes'):
# Only combination supported: Image->Volume
@@ -2122,8+2138,7 @@ class RwcalOpenstackPlugin(GObject.Object, RwCal.Cloud):