File: _services_mixin.py

package info (click to toggle)
python-openstacksdk 4.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,352 kB
  • sloc: python: 122,960; sh: 153; makefile: 23
file content (191 lines) | stat: -rw-r--r-- 6,319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# Generated file, to change, run tools/print-services.py
from openstack import service_description
from openstack.accelerator import accelerator_service
from openstack.baremetal import baremetal_service
from openstack.baremetal_introspection import baremetal_introspection_service
from openstack.block_storage import block_storage_service
from openstack.clustering import clustering_service
from openstack.compute import compute_service
from openstack.container_infrastructure_management import (
    container_infrastructure_management_service,
)
from openstack.database import database_service
from openstack.dns import dns_service
from openstack.identity import identity_service
from openstack.image import image_service
from openstack.instance_ha import instance_ha_service
from openstack.key_manager import key_manager_service
from openstack.load_balancer import load_balancer_service
from openstack.message import message_service
from openstack.network import network_service
from openstack.object_store import object_store_service
from openstack.orchestration import orchestration_service
from openstack.placement import placement_service
from openstack.shared_file_system import shared_file_system_service
from openstack.workflow import workflow_service


class ServicesMixin:
    identity = identity_service.IdentityService(service_type='identity')

    compute = compute_service.ComputeService(service_type='compute')

    image = image_service.ImageService(service_type='image')

    load_balancer = load_balancer_service.LoadBalancerService(
        service_type='load-balancer'
    )

    object_store = object_store_service.ObjectStoreService(
        service_type='object-store'
    )

    clustering = clustering_service.ClusteringService(
        service_type='clustering'
    )
    resource_cluster = clustering
    cluster = clustering

    data_processing = service_description.ServiceDescription(
        service_type='data-processing'
    )

    baremetal = baremetal_service.BaremetalService(service_type='baremetal')
    bare_metal = baremetal

    baremetal_introspection = (
        baremetal_introspection_service.BaremetalIntrospectionService(
            service_type='baremetal-introspection'
        )
    )

    key_manager = key_manager_service.KeyManagerService(
        service_type='key-manager'
    )

    resource_optimization = service_description.ServiceDescription(
        service_type='resource-optimization'
    )
    infra_optim = resource_optimization

    message = message_service.MessageService(service_type='message')
    messaging = message

    application_catalog = service_description.ServiceDescription(
        service_type='application-catalog'
    )

    container_infrastructure_management = container_infrastructure_management_service.ContainerInfrastructureManagementService(
        service_type='container-infrastructure-management'
    )
    container_infra = container_infrastructure_management
    container_infrastructure = container_infrastructure_management

    search = service_description.ServiceDescription(service_type='search')

    dns = dns_service.DnsService(service_type='dns')

    workflow = workflow_service.WorkflowService(service_type='workflow')

    rating = service_description.ServiceDescription(service_type='rating')

    operator_policy = service_description.ServiceDescription(
        service_type='operator-policy'
    )
    policy = operator_policy

    shared_file_system = shared_file_system_service.SharedFilesystemService(
        service_type='shared-file-system'
    )
    share = shared_file_system

    data_protection_orchestration = service_description.ServiceDescription(
        service_type='data-protection-orchestration'
    )

    orchestration = orchestration_service.OrchestrationService(
        service_type='orchestration'
    )

    block_storage = block_storage_service.BlockStorageService(
        service_type='block-storage'
    )
    block_store = block_storage
    volume = block_storage

    alarm = service_description.ServiceDescription(service_type='alarm')
    alarming = alarm

    meter = service_description.ServiceDescription(service_type='meter')
    metering = meter
    telemetry = meter

    event = service_description.ServiceDescription(service_type='event')
    events = event

    application_deployment = service_description.ServiceDescription(
        service_type='application-deployment'
    )
    application_deployment = application_deployment

    multi_region_network_automation = service_description.ServiceDescription(
        service_type='multi-region-network-automation'
    )
    tricircle = multi_region_network_automation

    database = database_service.DatabaseService(service_type='database')

    application_container = service_description.ServiceDescription(
        service_type='application-container'
    )
    container = application_container

    root_cause_analysis = service_description.ServiceDescription(
        service_type='root-cause-analysis'
    )
    rca = root_cause_analysis

    nfv_orchestration = service_description.ServiceDescription(
        service_type='nfv-orchestration'
    )

    network = network_service.NetworkService(service_type='network')

    backup = service_description.ServiceDescription(service_type='backup')

    monitoring_logging = service_description.ServiceDescription(
        service_type='monitoring-logging'
    )
    monitoring_log_api = monitoring_logging

    monitoring = service_description.ServiceDescription(
        service_type='monitoring'
    )

    monitoring_events = service_description.ServiceDescription(
        service_type='monitoring-events'
    )

    placement = placement_service.PlacementService(service_type='placement')

    instance_ha = instance_ha_service.InstanceHaService(
        service_type='instance-ha'
    )
    ha = instance_ha

    reservation = service_description.ServiceDescription(
        service_type='reservation'
    )

    function_engine = service_description.ServiceDescription(
        service_type='function-engine'
    )

    accelerator = accelerator_service.AcceleratorService(
        service_type='accelerator'
    )

    admin_logic = service_description.ServiceDescription(
        service_type='admin-logic'
    )
    registration = admin_logic