Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions test/integration/component/test_security_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_deployVM_InDefaultSecurityGroup(self):
"""Test deploy VM in default security group
"""
Expand Down Expand Up @@ -193,7 +193,7 @@ def test_01_deployVM_InDefaultSecurityGroup(self):
)
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_02_listSecurityGroups(self):
"""Test list security groups for admin account
"""
Expand Down Expand Up @@ -228,7 +228,7 @@ def test_02_listSecurityGroups(self):
)
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_03_accessInDefaultSecurityGroup(self):
"""Test access in default security group
"""
Expand Down Expand Up @@ -389,7 +389,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_authorizeIngressRule(self):
"""Test authorize ingress rule
"""
Expand Down Expand Up @@ -535,7 +535,7 @@ def revokeSGRule(self, sgid):
self.apiclient.revokeSecurityGroupIngress(cmd)
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_revokeIngressRule(self):
"""Test revoke ingress rule
"""
Expand Down Expand Up @@ -717,7 +717,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "basic"], required_hardware="true")
@attr(tags=["sg", "basic", "eip", "basic"], required_hardware="true")
def test_01_dhcpOnlyRouter(self):
"""Test router services for user account
"""
Expand Down Expand Up @@ -851,7 +851,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_deployVMWithUserData(self):
"""Test Deploy VM with User data"""

Expand Down Expand Up @@ -1029,7 +1029,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_delete_security_grp_running_vm(self):
"""Test delete security group with running VM"""

Expand Down Expand Up @@ -1113,7 +1113,7 @@ def test_01_delete_security_grp_running_vm(self):
)
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_02_delete_security_grp_withoout_running_vm(self):
"""Test delete security group without running VM"""

Expand Down Expand Up @@ -1260,7 +1260,7 @@ def tearDownClass(cls):

return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_01_authorizeIngressRule_AfterDeployVM(self):
"""Test delete security group with running VM"""

Expand Down Expand Up @@ -1377,7 +1377,7 @@ def test_01_authorizeIngressRule_AfterDeployVM(self):
% (ingress_rule_2["id"], e))
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_02_revokeIngressRule_AfterDeployVM(self):
"""Test Revoke ingress rule after deploy VM"""

Expand Down Expand Up @@ -1549,7 +1549,7 @@ def test_02_revokeIngressRule_AfterDeployVM(self):
% (icmp_rule["ruleid"], e))
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_03_stopStartVM_verifyIngressAccess(self):
"""Test Start/Stop VM and Verify ingress rule"""

Expand Down Expand Up @@ -1791,7 +1791,7 @@ def revokeSGRule(self, sgid):
self.apiclient.revokeSecurityGroupIngress(cmd)
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_ingress_rules_specific_IP_set(self):
"""Test ingress rules for specific IP set

Expand Down Expand Up @@ -1983,7 +1983,7 @@ def test_ingress_rules_specific_IP_set(self):
self.mgtSvrDetails["mgtSvrIp"]))
return

@attr(tags=["sg", "eip", "advancedsg"])
@attr(tags=["sg", "basic", "eip", "advancedsg"])
def test_ingress_rules_specific_IP_set_non_def_sec_group(self):
"""Test ingress rules for specific IP set and non default security group

Expand Down