2424from integration .lib .utils import *
2525from integration .lib .base import *
2626from integration .lib .common import *
27+ from nose .plugins .attrib import attr
2728#Import System modules
2829import time
2930
@@ -34,7 +35,7 @@ class Services:
3435
3536 def __init__ (self ):
3637 self .services = {
37- "ostypeid" : '1a568aed-db2d-41ca-b644-416b0bdc067e ' ,
38+ "ostypeid" : '01853327-513e-4508-9628-f1f55db1946f ' ,
3839 # Cent OS 5.3 (64 bit)
3940 "mode" : 'advanced' ,
4041 # Networking mode: Basic or advanced
@@ -186,6 +187,7 @@ def tearDownClass(cls):
186187 raise Exception ("Warning: Exception during cleanup : %s" % e )
187188 return
188189
190+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
189191 def test_public_ip_admin_account (self ):
190192 """Test for Associate/Disassociate
191193 public IP address for admin account"""
@@ -236,6 +238,7 @@ def test_public_ip_admin_account(self):
236238 )
237239 return
238240
241+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
239242 def test_public_ip_user_account (self ):
240243 """Test for Associate/Disassociate
241244 public IP address for user account"""
@@ -346,6 +349,7 @@ def tearDown(self):
346349 cleanup_resources (self .apiclient , self .cleanup )
347350 return
348351
352+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
349353 def test_01_port_fwd_on_src_nat (self ):
350354 """Test for port forwarding on source NAT"""
351355
@@ -468,6 +472,7 @@ def test_01_port_fwd_on_src_nat(self):
468472 )
469473 return
470474
475+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
471476 def test_02_port_fwd_on_non_src_nat (self ):
472477 """Test for port forwarding on non source NAT"""
473478
@@ -664,6 +669,7 @@ def tearDownClass(cls):
664669 cleanup_resources (cls .api_client , cls ._cleanup )
665670 return
666671
672+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
667673 def test_01_create_lb_rule_src_nat (self ):
668674 """Test to create Load balancing rule with source NAT"""
669675
@@ -871,6 +877,7 @@ def test_01_create_lb_rule_src_nat(self):
871877 ssh_1 .execute ("hostname" )[0 ]
872878 return
873879
880+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
874881 def test_02_create_lb_rule_non_nat (self ):
875882 """Test to create Load balancing rule with source NAT"""
876883
@@ -1141,6 +1148,7 @@ def setUp(self):
11411148 ]
11421149 return
11431150
1151+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
11441152 def test_reboot_router (self ):
11451153 """Test for reboot router"""
11461154
@@ -1276,6 +1284,7 @@ def setUp(self):
12761284 ]
12771285 return
12781286
1287+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
12791288 def test_assign_and_removal_lb (self ):
12801289 """Test for assign & removing load balancing rule"""
12811290
@@ -1550,6 +1559,7 @@ def setUp(self):
15501559 def tearDown (self ):
15511560 cleanup_resources (self .apiclient , self .cleanup )
15521561
1562+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
15531563 def test_releaseIP (self ):
15541564 """Test for Associate/Disassociate public IP address"""
15551565
@@ -1678,6 +1688,7 @@ def setUp(self):
16781688 self .cleanup = []
16791689 return
16801690
1691+ @attr (tags = ["advanced" , "advancedns" , "smoke" ])
16811692 def test_delete_account (self ):
16821693 """Test for delete account"""
16831694
0 commit comments