sureshanaparti commented on code in PR #11133:
URL: https://github.com/apache/cloudstack/pull/11133#discussion_r2191598974


##########
test/integration/smoke/test_network_acl.py:
##########
@@ -125,6 +125,32 @@ def test_network_acl(self):
         self.assertTrue(vm.state == 'Running', "VM is not running")
         self.debug("VM %s deployed in VPC %s" %(vm.id, vpc.id))
 
+        # 6) Acquire a Public IP, and add Load Balancing Rule
+        public_ip = PublicIPAddress.create(
+            self.apiclient,
+            zoneid=self.zone.id,
+            accountid=self.account.name,
+            domainid= self.domain.id,
+            vpcid= vpc.id
+        )
+        LoadBalancerRule.create(
+            self.apiclient,
+            self.services["lbrule"],
+            ipaddressid=public_ip.ipaddress.id,
+            accountid=self.account.name,
+            vpcid= vpc.id,
+            networkid=ntwk.id,
+            domainid=self.account.domainid)
+
+        # 7) Add Port Forwarding Rule with same Public IP to test conserve mode
+        NATRule.create(
+            self.apiclient,
+            self.virtual_machine,
+            self.services["natrule"],
+            ipaddressid=public_ip.ipaddress.id,
+            vpcid= vpc.id,

Review Comment:
   ```suggestion
               vpcid=vpc.id,
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to