-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31526/
-----------------------------------------------------------
Review request for cloudstack, Jayapal Reddy and SrikanteswaraRao Talluri.
Bugs: CLOUDSTACK-8290
https://issues.apache.org/jira/browse/CLOUDSTACK-8290
Repository: cloudstack-git
Description
-------
The bug that was found is "Public IP data remained on router even after
disabling the static NAT rule configured on public IP"
Steps that should be added to verify absence of the defect.
1. Create a VM in an isolated network
2. Acquire a public IP in the network
3. Enable static NAT rule / LB rule / NAT rule for the IP
4. Check we are able to SSH to VM
5. Check the "ip addr" command output on VR, the rules should be present on VR
for the public IP
6. Disable static NAT / Delete NAT/ LB Rule or disassociate public IP
7. Check SSH to VM, it should fail
8. Check the "ip addr" command output on VR, the rules should now not be
present on VR for the public IP
Added a new test case with above steps. Currently done only for Static NAT
rule. I am in process of validating this for LB and NAT rules.
Diffs
-----
test/integration/smoke/test_network.py cca1803
Diff: https://reviews.apache.org/r/31526/diff/
Testing
-------
Test for Static NAT rule for acquired public IP ... === TestName:
test_network_rules_acquired_public_ip_1_static_nat_rule | Status : SUCCESS
===
ok
----------------------------------------------------------------------
Ran 1 test in 839.046s
OK
Thanks,
Gaurav Aradhye