NSX|V: enhance error message for invalid scope_id
Change-Id: I98045ba998cd63bd4b6098272ba3ca16a9f6e385
This commit is contained in:
parent
f3c16ccca3
commit
5f66798d42
@ -1074,7 +1074,7 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
|||||||
if not (self.nsx_v.vcns.
|
if not (self.nsx_v.vcns.
|
||||||
validate_vdn_scope(vdn_scope_id)):
|
validate_vdn_scope(vdn_scope_id)):
|
||||||
raise nsx_exc.NsxResourceNotFound(
|
raise nsx_exc.NsxResourceNotFound(
|
||||||
res_name=pnet.PHYSICAL_NETWORK,
|
res_name='vdn_scope_id',
|
||||||
res_id=vdn_scope_id)
|
res_id=vdn_scope_id)
|
||||||
h, c = self.nsx_v.vcns.create_virtual_wire(vdn_scope_id,
|
h, c = self.nsx_v.vcns.create_virtual_wire(vdn_scope_id,
|
||||||
config_spec)
|
config_spec)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user