VIM Connectors should provide the fields "encapsulation_type" and
"encapsulation_id", as discussed in the WIM implementation meeting
(21/Nov/2018).
Change-Id: I654d8fa93bef7c37c7ce575c0335154e99fd7347
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
subnets.append(subnet)
net["subnets"] = subnets
net["encapsulation"] = net.get('provider:network_type')
+ net["encapsulation_type"] = net.get('provider:network_type')
net["segmentation_id"] = net.get('provider:segmentation_id')
+ net["encapsulation_id"] = net.get('provider:segmentation_id')
return net
def delete_network(self, net_id):