Added Sahara Node Group Templates scenarios

One scenraio creates two types of node group templates and executes a
list operation.

The other creates and deletes popular types of node group templates.

Change-Id: Ie37151bb1ff195e6e0a67d85e693333da68f96e9
This commit is contained in:
Nikita Konovalov 2014-07-18 13:34:10 +04:00
parent 9cc24fa809
commit 221d6691a6

View File

@ -90,6 +90,7 @@ class _Service(utils.ImmutableMixin, utils.EnumMixin):
CEILOMETER = "ceilometer"
S3 = "s3"
TROVE = "trove"
SAHARA = "sahara"
class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
@ -108,6 +109,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
METERING = "metering"
S3 = "s3"
DATABASE = "database"
DATA_PROCESSING = "data_processing"
def __init__(self):
self.__names = {
@ -123,7 +125,8 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
self.NETWORK: _Service.NEUTRON,
self.METERING: _Service.CEILOMETER,
self.S3: _Service.S3,
self.DATABASE: _Service.TROVE
self.DATABASE: _Service.TROVE,
self.DATA_PROCESSING: _Service.SAHARA
}
def __getitem__(self, service_type):