mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7805: test_vpc_vms_deployment.py - Removing invalid steps from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
d5316d0572
commit
0d6e3e48ba
@ -2087,26 +2087,6 @@ class TestVMDeployVPC(cloudstackTestCase):
|
|||||||
self.fail("Failed to enable static NAT on IP: %s - %s" % (
|
self.fail("Failed to enable static NAT on IP: %s - %s" % (
|
||||||
public_ip_4.ipaddress.ipaddress, e))
|
public_ip_4.ipaddress.ipaddress, e))
|
||||||
|
|
||||||
public_ips = PublicIPAddress.list(
|
|
||||||
self.apiclient,
|
|
||||||
networkid=network_2.id,
|
|
||||||
listall=True,
|
|
||||||
isstaticnat=True,
|
|
||||||
account=self.account.name,
|
|
||||||
domainid=self.account.domainid
|
|
||||||
)
|
|
||||||
self.assertEqual(
|
|
||||||
isinstance(public_ips, list),
|
|
||||||
True,
|
|
||||||
"List public Ip for network should list the Ip addr"
|
|
||||||
)
|
|
||||||
self.assertEqual(
|
|
||||||
public_ips[0].ipaddress,
|
|
||||||
public_ip_4.ipaddress.ipaddress,
|
|
||||||
"List public Ips %s for network should list the Ip addr %s"
|
|
||||||
% (public_ips[0].ipaddress, public_ip_4.ipaddress.ipaddress)
|
|
||||||
)
|
|
||||||
|
|
||||||
self.debug("Adding NetwrokACl rules to make NAT rule accessible with network %s" % network_1.id)
|
self.debug("Adding NetwrokACl rules to make NAT rule accessible with network %s" % network_1.id)
|
||||||
NetworkACL.create(
|
NetworkACL.create(
|
||||||
self.apiclient,
|
self.apiclient,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user