class GuestServiceAdministrativeState(Constants): """ Guest Service Administrative State Constants """ UNKNOWN = Constant('unknown') LOCKED = Constant('locked') UNLOCKED = Constant('unlocked')
class GuestServiceOperationalState(Constants): """ Guest Service Operational State Constants """ UNKNOWN = Constant('unknown') ENABLED = Constant('enabled') DISABLED = Constant('disabled')
class OperationTypes(Constants): """ Operation - Type Constants """ IMAGE_CREATE = Constant('image-create') IMAGE_UPDATE = Constant('image-update') IMAGE_DELETE = Constant('image-delete')
class HostOperationalState(Constants): """ Host Operational State Constants """ UNKNOWN = Constant('unknown') ENABLED = Constant('enabled') DISABLED = Constant('disabled')
class HostSeverity(Constants): """ Host Severity Constants """ CLEARED = Constant('cleared') DEGRADED = Constant('degraded') FAILED = Constant('failed')
class OperationTypes(Constants): """ Operation - Type Constants """ VOLUME_CREATE = Constant('volume-create') VOLUME_UPDATE = Constant('volume-update') VOLUME_DELETE = Constant('volume-delete')
class GuestVoteState(Constants): """ GUEST VOTE STATE Constants """ REJECT = Constant('reject') ALLOW = Constant('allow') PROCEED = Constant('proceed')
class HostGroupPolicy(Constants): """ Host Group Policy Constants """ NONE = Constant('') UNKNOWN = Constant('unknown') STORAGE_REPLICATION = Constant('storage-replication')
class SwUpdateAlarmTypes(Constants): """ Software Update - Alarm and Event Type Constants """ APPLY_INPROGRESS = Constant('apply-inprogress') APPLY_ABORTING = Constant('apply-aborting') APPLY_FAILED = Constant('apply-failed')
class ImageProperty(Constants): """ Image Property Constants """ INSTANCE_AUTO_RECOVERY = Constant('sw_wrs_auto_recovery') LIVE_MIGRATION_TIMEOUT = Constant('hw_wrs_live_migration_timeout') LIVE_MIGRATION_MAX_DOWNTIME = Constant('hw_wrs_live_migration_max_downtime')
class HostServicesState(object): """ Host-Services State Constants """ ENABLED = Constant('enabled') DISABLED = Constant('disabled') FAILED = Constant('failed')
class SwUpdateApplyTypes(Constants): """ Software Update - Apply Type Constants """ SERIAL = Constant('serial') PARALLEL = Constant('parallel') IGNORE = Constant('ignore')
class StrategyApplyTypes(Constants): """ Strategy - Apply Type Constants """ SERIAL = Constant('serial') PARALLEL = Constant('parallel') IGNORE = Constant('ignore')
class HostNames(object): """ Host Name Constants """ CONTROLLER_0 = Constant('controller-0') CONTROLLER_1 = Constant('controller-1') STORAGE_0 = Constant('storage-0')
class HostAdministrativeState(Constants): """ Host Administrative State Constants """ UNKNOWN = Constant('unknown') LOCKED = Constant('locked') UNLOCKED = Constant('unlocked')
class KubernetesLabelKeys(Constants): """ Host Kubernetes Label Key Constants """ OS_COMPUTE_NODE = Constant('openstack-compute-node') OS_CONTROL_PLANE = Constant('openstack-control-plane') REMOTE_STORAGE = Constant('remote-storage')
class InstanceTypeStorage(Constants): """ Instance Type Storage Constants """ UNKNOWN = Constant('unknown') REMOTE_BACKED = Constant('remote') LOCAL_IMAGE_BACKED = Constant('local_image')
class SwUpdateActions(Constants): """ Software Update - Action Constants """ APPLY_ALL = Constant('apply-all') APPLY_STAGE = Constant('apply-stage') ABORT = Constant('abort') ABORT_STAGE = Constant('abort-stage')
class ConnectivityType(object): """ Connectivity Type Constants """ UNKNOWN = Constant('unknown') E_LINE = Constant('E-Line') E_LAN = Constant('E-LAN') E_TREE = Constant('E-Tree')
class HostServices(object): """ Host-Services Constants """ GUEST = Constant('guest') NETWORK = Constant('network') COMPUTE = Constant('compute') CONTAINER = Constant('container')
class NetworkStatus(Constants): """ NETWORK STATUS Constants """ ACTIVE = Constant('ACTIVE') BUILD = Constant('BUILD') DOWN = Constant('DOWN') ERROR = Constant('ERROR')
class StrategyPhases(Constants): """ Strategy - Phase Constants """ INITIAL = Constant('initial') BUILD = Constant('build') APPLY = Constant('apply') ABORT = Constant('abort')
class AlarmSeverity(Constants): """ Alarm Severity Constants """ NONE = Constant('') MINOR = Constant('minor') MAJOR = Constant('major') CRITICAL = Constant('critical')
class NetworkAvailabilityStatus(Constants): """ Network Availability Status Constants """ UNKNOWN = Constant('unknown') NONE = Constant('') FAILED = Constant('failed') BUILDING = Constant('building')
class _AlarmTrendIndication(Constants): """ Alarm Trend Indication Constants """ UNKNOWN = Constant('unknown') LESS_SEVERE = Constant('less-severe') NO_CHANGE = Constant('no-change') MORE_SEVERE = Constant('more-severe')
class InstanceGuestServiceState(Constants): """ Instance Guest Service State Constants """ CONFIGURED = Constant('configured') CREATED = Constant('created') ENABLED = Constant('enabled') DISABLED = Constant('disabled')
class ImageAvailabilityStatus(Constants): """ Image Availability Status Constants """ NONE = Constant('') UNKNOWN = Constant('unknown') AVAILABLE = Constant('available') DELETED = Constant('deleted')
class InstanceTypeExtension(Constants): """ Instance Type Extension Constants """ INSTANCE_AUTO_RECOVERY = Constant('sw:wrs:auto_recovery') LIVE_MIGRATION_TIMEOUT = Constant('hw:wrs:live_migration_timeout') LIVE_MIGRATION_MAX_DOWNTIME = Constant('hw:wrs:live_migration_max_downtime') GUEST_HEARTBEAT = Constant('sw:wrs:guest:heartbeat')
class ImageAction(Constants): """ Image Action Constants """ NONE = Constant('') UNKNOWN = Constant('unknown') SAVING = Constant('saving') DELETING = Constant('deleting')
class _EventInitiatedBy(Constants): """ Initiated-By Constants """ UNKNOWN = Constant('unknown') TENANT = Constant('tenant') INSTANCE = Constant('instance') INSTANCE_DIRECTOR = Constant('instance-director')