+ explicit_mgmt_network = None
+ vdu_connection_points = []
+ #This check is to identify the c_point of overriding management network first
+ if vdu_init.get_mgmt_network() is not None:
+ explicit_mgmt_network = vdu_init.get_mgmt_network()
+ with self._use_driver(account) as drv:
+ overridding_mgmt_network = drv.neutron_network_by_name(explicit_mgmt_network)
+ mgmt_network_conn_point_names = []
+ for c_point in vdu_init.connection_points:
+ if overridding_mgmt_network["id"] == c_point.virtual_link_id:
+ vdu_connection_points.append(c_point)
+ mgmt_network_conn_point_names.append(c_point.name)
+
+ for c_point in vdu_init.connection_points:
+ if c_point.name not in mgmt_network_conn_point_names:
+ vdu_connection_points.append(c_point)
+ else:
+ vdu_connection_points = vdu_init.connection_points
+
+ for c_point in vdu_connection_points: