|
|
@@ -36,7 +36,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.key_pairs'])
|
|
|
def test_key_pair_properties(self):
|
|
|
- name = 'cb_kpprops-{0}'.format(helpers.get_uuid())
|
|
|
+ name = 'cb-kpprops-{0}'.format(helpers.get_uuid())
|
|
|
kp = self.provider.security.key_pairs.create(name=name)
|
|
|
with helpers.cleanup_action(lambda: kp.delete()):
|
|
|
self.assertIsNotNone(
|
|
|
@@ -49,7 +49,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.key_pairs'])
|
|
|
def test_import_key_pair(self):
|
|
|
- name = 'cb_kpimport-{0}'.format(helpers.get_uuid())
|
|
|
+ name = 'cb-kpimport-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
public_key, _ = cb_helpers.generate_key_pair()
|
|
|
kp = self.provider.security.key_pairs.create(
|
|
|
@@ -60,7 +60,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_crud_vm_firewall(self):
|
|
|
- label = 'cb_crudfw-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-crudfw-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|
|
|
@@ -83,7 +83,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_vm_firewall_properties(self):
|
|
|
- label = 'cb_propfw-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-propfw-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|
|
|
@@ -99,7 +99,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_crud_vm_firewall_rules(self):
|
|
|
- label = 'cb_crudfw_rules-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-crudfw_rules-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|
|
|
@@ -128,7 +128,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_vm_firewall_rule_properties(self):
|
|
|
- label = 'cb_propfwrule-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-propfwrule-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|
|
|
@@ -151,7 +151,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_vm_firewall_rule_add_twice(self):
|
|
|
- label = 'cb_fwruletwice-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-fwruletwice-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|
|
|
@@ -175,7 +175,7 @@ class CloudSecurityServiceTestCase(ProviderTestBase):
|
|
|
|
|
|
@helpers.skipIfNoService(['security.vm_firewalls'])
|
|
|
def test_vm_firewall_group_rule(self):
|
|
|
- label = 'cb_fwrule-{0}'.format(helpers.get_uuid())
|
|
|
+ label = 'cb-fwrule-{0}'.format(helpers.get_uuid())
|
|
|
|
|
|
# Declare these variables and late binding will allow
|
|
|
# the cleanup method access to the most current values
|