Change-Id: Ifc702841fff85c484dc7dabb76c5e2a620b495bf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
sdn_net_id = None
sdn_controller = self.vim.config.get('sdn-controller')
if sdn_controller and (net_type == "data" or net_type == "ptp"):
sdn_net_id = None
sdn_controller = self.vim.config.get('sdn-controller')
if sdn_controller and (net_type == "data" or net_type == "ptp"):
- network = {"name": net_name, "type": net_type}
+ network = {"name": net_name, "type": net_type, "region": self.vim["config"]["datacenter_id"]}
vim_net = self.vim.get_network(net_id)
if vim_net.get('encapsulation') != 'vlan':
vim_net = self.vim.get_network(net_id)
if vim_net.get('encapsulation') != 'vlan':