Skip to content

CLOUDSTACK-8634: Made changes to test_security_group.py test suite to support EIP - #586

Closed
sanju1010 wants to merge 1 commit into
apache:masterfrom
sanju1010:eip
Closed

sanju1010 wants to merge 1 commit into
apache:masterfrom
sanju1010:eip

Conversation

@sanju1010

Copy link
Copy Markdown
Contributor

Made changes to test_security_group.py test suite to support EIP

  1. In case of a basic zone with EIP/ELB capability vm will have two ip addresses one from public ip range and another one from guest ip range.
    vm creation method in base.py returns vm ip address which is part of guest ip range as the vm.ssh.ipaddress if we don't pass mode to it. So access to vms with that ip address would not be successful. Made changes to handle this
    2.vm public address is associated with Netscaler. So even if we don't allow ping traffic in security groups applied to vm, ping will be successful. Skipping ping test in case the zone is enabled with EIP/ELB
    3.Removing default rules from security groups except what is needed for that test.

Test Results:

Test ingress rules for specific IP set ... === TestName: test_ingress_rules_specific_IP_set | Status : SUCCESS ===
ok
Test revoke ingress rule ... === TestName: test_01_revokeIngressRule | Status : SUCCESS ===
ok
Test ingress rules for specific IP set and non default security group ... === TestName: test_ingress_rules_specific_IP_set_non_def_sec_group | Status : SUCCESS ===
ok

@asfbot

asfbot commented Jul 14, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #45 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 14, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #741 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

Sanjeev N on dev@cloudstack.apache.org replies:
Can somebody please review this PR?

@kishankavala

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@jayapalu

Copy link
Copy Markdown
Contributor

LGTM

@asfgit asfgit closed this in 31b486d Jul 26, 2015
maneesha-p pushed a commit to maneesha-p/cloudstack that referenced this pull request Jul 31, 2015
yadvr pushed a commit that referenced this pull request Jan 20, 2021
* Printing name for vm snpashots doesnt make much
sense as it displays vm internal name instead
of user entered name.

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants