class VolumeBackupService(service_filter.ServiceFilter):
    """The Volume Backup service."""

    valid_versions = [
        service_filter.ValidVersion('v1'),
        service_filter.ValidVersion('v2')
    ]

    def __init__(self, version=None):
        """Create Volume Backup service."""
        super(VolumeBackupService, self).__init__(service_type='volume-backup',
                                                  version=version)
Beispiel #2
0
class IdentityService(service_filter.ServiceFilter):
    """The identity service."""

    valid_versions = [
        service_filter.ValidVersion('v3'),
        service_filter.ValidVersion('v2'),
    ]

    def __init__(self, **kwargs):
        """Create an identity service."""
        kwargs['service_type'] = 'identity'
        super(IdentityService, self).__init__(**kwargs)
class MessageService(service_filter.ServiceFilter):
    """The message service."""

    valid_versions = [
        service_filter.ValidVersion('v1'),
        service_filter.ValidVersion('v2')
    ]

    def __init__(self, version=None):
        """Create a message service."""
        super(MessageService, self).__init__(service_type='messaging',
                                             version=version)
class ImageService(service_filter.ServiceFilter):
    """The image service."""

    valid_versions = [
        service_filter.ValidVersion('v1'),
        service_filter.ValidVersion('v2'),
    ]

    def __init__(self, version=None):
        """Create an image service."""
        super(ImageService, self).__init__(service_type='image',
                                           version=version)
class CTSService(service_filter.ServiceFilter):
    """The CTS service."""

    valid_versions = [service_filter.ValidVersion('v1'),
                      service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a CTS service."""
        super(CTSService, self).__init__(
            service_type='cts',
            version=version,
            requires_project_id=True,
        )
Beispiel #6
0
class MultiregionNetworkService(service_filter.ServiceFilter):
    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        # TODO(zhiyuan) register a proper service type in keystone
        super(MultiregionNetworkService,
              self).__init__(service_type='tricircle', version=version)
class FGSService(service_filter.ServiceFilter):
    """The FunctionGraph service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a FunctionGraph service."""
        super(FGSService, self).__init__(service_type='fgsv2', version=version)
class MultiregionNetworkService(service_description.ServiceDescription):
    valid_versions = [service_filter.ValidVersion('v1')]
    proxy_class = _proxy.Proxy

    def __init__(self, version=None):
        # TODO(zhiyuan) register a proper service type in keystone
        super(MultiregionNetworkService,
              self).__init__(service_type='tricircle_sdk')
class BssIntlService(service_filter.ServiceFilter):
    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create A Bss Service"""
        super(BssIntlService, self).__init__(service_type='bss-intlv1',
                                             version=version,
                                             requires_project_id=False)
Beispiel #10
0
class DNSService(service_filter.ServiceFilter):
    """The DNS service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a DNS service."""
        super(DNSService, self).__init__(service_type='dns', version=version)
class FakeService(service_filter.ServiceFilter):
    """The fake service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a fake service."""
        super(FakeService, self).__init__(service_type='fake', version=version)
Beispiel #12
0
class NatService(service_filter.ServiceFilter):
    """The NAT service."""

    valid_versions = [service_filter.ValidVersion('v2', 'v2.0')]

    def __init__(self, version=None):
        """Create a NAT service."""
        super(NatService, self).__init__(service_type='nat', version=version)
Beispiel #13
0
class NetworkService(service_filter.ServiceFilter):
    """The network service."""

    valid_versions = [service_filter.ValidVersion('v2', 'v2.0')]

    def __init__(self, version=None):
        """Create an network service."""
        super(NetworkService, self).__init__(service_type='network',
                                             version=version)
class TelemetryService(service_filter.ServiceFilter):
    """The telemetry service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a telemetry service."""
        super(TelemetryService, self).__init__(service_type='metering',
                                               version=version)
class DatabaseService(service_filter.ServiceFilter):
    """The database service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create an database service."""
        super(DatabaseService, self).__init__(service_type='database',
                                              version=version)
Beispiel #16
0
class KeyManagementService(service_filter.ServiceFilter):
    """The key management service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create a key management service."""
        super(KeyManagementService, self).__init__(service_type='key-manager',
                                                   version=version)
Beispiel #17
0
class WorkflowService(service_filter.ServiceFilter):
    """The workflow service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a workflow service."""
        super(WorkflowService, self).__init__(service_type='workflowv2',
                                              version=version)
class BareMetalService(service_filter.ServiceFilter):
    """The bare metal service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create a bare metal service."""
        super(BareMetalService, self).__init__(service_type='baremetal',
                                               version=version)
Beispiel #19
0
class BlockStoreService(service_filter.ServiceFilter):
    """The block store service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a block store service."""
        super(BlockStoreService, self).__init__(service_type='volume',
                                                version=version)
class OrchestrationService(service_filter.ServiceFilter):
    """The orchestration service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create an orchestration service."""
        super(OrchestrationService,
              self).__init__(service_type='orchestration', version=version)
Beispiel #21
0
class ObjectStoreService(service_filter.ServiceFilter):
    """The object store service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create an object store service."""
        super(ObjectStoreService, self).__init__(service_type='object-store',
                                                 version=version)
class AlarmService(service_filter.ServiceFilter):
    """The alarm service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create an alarm service."""
        super(AlarmService, self).__init__(service_type='alarming',
                                           version=version)
Beispiel #23
0
class AutoScalingService(service_filter.ServiceFilter):
    """The AutoScaling service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create AutoScaling service."""
        super(AutoScalingService, self).__init__(service_type='auto-scaling',
                                                 version=version)
Beispiel #24
0
class MapReduceService(service_filter.ServiceFilter):
    """The MapReduce service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create MapReduce service."""
        super(MapReduceService, self).__init__(service_type='map-reduce',
                                               version=version)
class ComputeService(service_filter.ServiceFilter):
    """The compute service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a compute service."""
        super(ComputeService, self).__init__(service_type='compute',
                                             version=version)
Beispiel #26
0
class NetworkService(service_description.ServiceDescription):
    """The network service."""

    valid_versions = [service_filter.ValidVersion('v2', 'v2.0')]
    proxy_class = _proxy.Proxy

    def __init__(self, version=None):
        """Create a network service."""
        super(NetworkService, self).__init__(service_type='network_sdk')
Beispiel #27
0
class InstanceHaService(service_filter.ServiceFilter):
    """The HA service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create an ha service."""
        super(InstanceHaService, self).__init__(service_type='ha',
                                                version=version)
class LoadBalancerService(service_filter.ServiceFilter):
    """The load balancer service."""

    valid_versions = [service_filter.ValidVersion('v2')]

    def __init__(self, version=None):
        """Create a load balancer service."""
        super(LoadBalancerService, self).__init__(service_type='load_balancer',
                                                  version=version)
Beispiel #29
0
class CloudEyeService(service_filter.ServiceFilter):
    """The Cloud Eye service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create a Cloud Eye service."""
        super(CloudEyeService, self).__init__(service_type='cesv1',
                                              version=version)
Beispiel #30
0
class EcsServiceV1_1(service_filter.ServiceFilter):
    """The ECS ext service."""

    valid_versions = [service_filter.ValidVersion('v1')]

    def __init__(self, version=None):
        """Create a compute service."""
        super(EcsServiceV1_1, self).__init__(service_type='ecsv1.1',
                                             requires_project_id=True,
                                             version=version)