CLOUDSTACK-3017: Add tags to Cisco ASA tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cdff1360674385e538cd9128160030f08588bda9)
This commit is contained in:
Prasanna Santhanam 2013-08-12 12:03:14 +05:30
parent 48c0860d1a
commit 59f944d7c3

View File

@ -119,6 +119,7 @@ class TestASASetup(cloudstackTestCase):
raise Exception("Warning: Exception during cleanup : %s" % e)
return
@attr(tags=["device", "asa"])
def test_registerVnmc(self):
Vnmc = VNMC.create(self.apiclient, self.services["vnmc"]["ipaddress"], self.services["vnmc"]["username"], self.services["vnmc"]["password"], self.physicalnetworks[0].id)
self.debug("Cisco VNMC appliance with id %s deployed"%(Vnmc.id))
@ -126,6 +127,7 @@ class TestASASetup(cloudstackTestCase):
self.assertNotEqual(len(VnmcList), 0, "List VNMC API returned an empty response")
Vnmc.delete(self.apiclient)
@attr(tags=["device", "asa"])
def test_registerAsa1000v(self):
Asa = ASA1000V.create(self.apiclient, self.services["asa"]["ipaddress"], self.services["asa"]["insideportprofile"], self.clusters[0].id, self.physicalnetworks[0].id)
self.debug("Cisco ASA 1000v appliance with id %s deployed"%(Asa.id))