NSX-migration: remove physical-network for flat networks

Change-Id: I0cbae8877f6226c950a941290a354bf464e1133b
This commit is contained in:
Adit Sarfaty 2017-05-29 12:02:29 +03:00
parent f0a2859ef5
commit 2917f2655e

View File

@ -373,6 +373,8 @@ class ApiReplayClient(object):
# flat network should be translated to a regular network in nsx-v3.
if (body.get('provider:network_type') == 'flat'):
del body['provider:network_type']
if 'provider:physical_network' in body:
del body['provider:physical_network']
# external networks needs some special care
if body.get('router:external'):