Fix name for legacy SNAT ports
Minor fix to convention used for legacy SNAT port names. Change-Id: Idd36bb4877ca7819dc5033f0e629d1dd89bafcc0
This commit is contained in:
parent
3d91ec1556
commit
e74b29c637
|
@ -115,7 +115,7 @@ DEFAULT_HOST_DOMAIN = '*'
|
|||
|
||||
LEGACY_SNAT_NET_NAME_PREFIX = 'host-snat-network-for-internal-use-'
|
||||
LEGACY_SNAT_SUBNET_NAME = 'host-snat-pool-for-internal-use'
|
||||
LEGACY_SNAT_PORT_NAME = 'host-snat-pool-for-internal-use'
|
||||
LEGACY_SNAT_PORT_NAME = 'host-snat-pool-port-for-internal-use'
|
||||
LEGACY_SNAT_PORT_DEVICE_OWNER = 'host-snat-pool-port-device-owner-internal-use'
|
||||
|
||||
# TODO(kentwu): Move this to AIM utils maybe to avoid adding too much
|
||||
|
|
|
@ -937,7 +937,7 @@ class TestNeutronMapping(AimValidationTestCase):
|
|||
fixed_ips = [{'subnet_id': leg_subnet_id, 'ip_address': '66.66.66.5'}]
|
||||
leg_port = self._make_port(
|
||||
self.fmt, leg_net_id, fixed_ips=fixed_ips,
|
||||
name='host-snat-pool-for-internal-use',
|
||||
name='host-snat-pool-port-for-internal-use',
|
||||
device_owner='host-snat-pool-port-device-owner-internal-use'
|
||||
)['port']
|
||||
leg_port_id = leg_port['id']
|
||||
|
|
Loading…
Reference in New Issue