NSX|v: Fix provider network creation

When creating a portgroup provider natwork, the name of the neutron
network should match the name of the virtual wire.
Commit Ib5ed8f0d75aed98963e1deff9c123ee01afc875c removed the network
name from the code by mistake

Change-Id: I1c9bf57d3fefde0c9ec9370628a8b5bbc92b783f
This commit is contained in:
Adit Sarfaty 2017-11-15 12:15:41 +02:00
parent 38fa2935eb
commit dc5d1a318f

View File

@ -921,7 +921,7 @@ class Vcns(object):
def validate_network_name(self, object_id, name, during_init=False): def validate_network_name(self, object_id, name, during_init=False):
return self._scopingobjects_lookup(NETWORK_TYPES, object_id, return self._scopingobjects_lookup(NETWORK_TYPES, object_id,
use_cache=during_init) name=name, use_cache=during_init)
def validate_vdn_scope(self, object_id): def validate_vdn_scope(self, object_id):
uri = '%s/scopes' % VDN_PREFIX uri = '%s/scopes' % VDN_PREFIX