Ejemplo n.º 1
0
class GuestServiceAdministrativeState(Constants):
    """
    Guest Service Administrative State Constants
    """
    UNKNOWN = Constant('unknown')
    LOCKED = Constant('locked')
    UNLOCKED = Constant('unlocked')
Ejemplo n.º 2
0
class GuestServiceOperationalState(Constants):
    """
    Guest Service Operational State Constants
    """
    UNKNOWN = Constant('unknown')
    ENABLED = Constant('enabled')
    DISABLED = Constant('disabled')
Ejemplo n.º 3
0
class OperationTypes(Constants):
    """
    Operation - Type Constants
    """
    IMAGE_CREATE = Constant('image-create')
    IMAGE_UPDATE = Constant('image-update')
    IMAGE_DELETE = Constant('image-delete')
Ejemplo n.º 4
0
class HostOperationalState(Constants):
    """
    Host Operational State Constants
    """
    UNKNOWN = Constant('unknown')
    ENABLED = Constant('enabled')
    DISABLED = Constant('disabled')
Ejemplo n.º 5
0
class HostSeverity(Constants):
    """
    Host Severity Constants
    """
    CLEARED = Constant('cleared')
    DEGRADED = Constant('degraded')
    FAILED = Constant('failed')
Ejemplo n.º 6
0
class OperationTypes(Constants):
    """
    Operation - Type Constants
    """
    VOLUME_CREATE = Constant('volume-create')
    VOLUME_UPDATE = Constant('volume-update')
    VOLUME_DELETE = Constant('volume-delete')
Ejemplo n.º 7
0
class GuestVoteState(Constants):
    """
    GUEST VOTE STATE Constants
    """
    REJECT = Constant('reject')
    ALLOW = Constant('allow')
    PROCEED = Constant('proceed')
Ejemplo n.º 8
0
class HostGroupPolicy(Constants):
    """
    Host Group Policy Constants
    """
    NONE = Constant('')
    UNKNOWN = Constant('unknown')
    STORAGE_REPLICATION = Constant('storage-replication')
Ejemplo n.º 9
0
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')
Ejemplo n.º 10
0
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')
Ejemplo n.º 11
0
class HostServicesState(object):
    """
    Host-Services State Constants
    """
    ENABLED = Constant('enabled')
    DISABLED = Constant('disabled')
    FAILED = Constant('failed')
Ejemplo n.º 12
0
class SwUpdateApplyTypes(Constants):
    """
    Software Update - Apply Type Constants
    """
    SERIAL = Constant('serial')
    PARALLEL = Constant('parallel')
    IGNORE = Constant('ignore')
Ejemplo n.º 13
0
class StrategyApplyTypes(Constants):
    """
    Strategy - Apply Type Constants
    """
    SERIAL = Constant('serial')
    PARALLEL = Constant('parallel')
    IGNORE = Constant('ignore')
Ejemplo n.º 14
0
class HostNames(object):
    """
    Host Name Constants
    """
    CONTROLLER_0 = Constant('controller-0')
    CONTROLLER_1 = Constant('controller-1')
    STORAGE_0 = Constant('storage-0')
Ejemplo n.º 15
0
class HostAdministrativeState(Constants):
    """
    Host Administrative State Constants
    """
    UNKNOWN = Constant('unknown')
    LOCKED = Constant('locked')
    UNLOCKED = Constant('unlocked')
Ejemplo n.º 16
0
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')
Ejemplo n.º 17
0
class InstanceTypeStorage(Constants):
    """
    Instance Type Storage Constants
    """
    UNKNOWN = Constant('unknown')
    REMOTE_BACKED = Constant('remote')
    LOCAL_IMAGE_BACKED = Constant('local_image')
Ejemplo n.º 18
0
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')
Ejemplo n.º 19
0
class ConnectivityType(object):
    """
    Connectivity Type Constants
    """
    UNKNOWN = Constant('unknown')
    E_LINE = Constant('E-Line')
    E_LAN = Constant('E-LAN')
    E_TREE = Constant('E-Tree')
Ejemplo n.º 20
0
class HostServices(object):
    """
    Host-Services Constants
    """
    GUEST = Constant('guest')
    NETWORK = Constant('network')
    COMPUTE = Constant('compute')
    CONTAINER = Constant('container')
Ejemplo n.º 21
0
class NetworkStatus(Constants):
    """
    NETWORK STATUS Constants
    """
    ACTIVE = Constant('ACTIVE')
    BUILD = Constant('BUILD')
    DOWN = Constant('DOWN')
    ERROR = Constant('ERROR')
Ejemplo n.º 22
0
class StrategyPhases(Constants):
    """
    Strategy - Phase Constants
    """
    INITIAL = Constant('initial')
    BUILD = Constant('build')
    APPLY = Constant('apply')
    ABORT = Constant('abort')
Ejemplo n.º 23
0
class AlarmSeverity(Constants):
    """
    Alarm Severity Constants
    """
    NONE = Constant('')
    MINOR = Constant('minor')
    MAJOR = Constant('major')
    CRITICAL = Constant('critical')
Ejemplo n.º 24
0
class NetworkAvailabilityStatus(Constants):
    """
    Network Availability Status Constants
    """
    UNKNOWN = Constant('unknown')
    NONE = Constant('')
    FAILED = Constant('failed')
    BUILDING = Constant('building')
Ejemplo n.º 25
0
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')
Ejemplo n.º 26
0
class InstanceGuestServiceState(Constants):
    """
    Instance Guest Service State Constants
    """
    CONFIGURED = Constant('configured')
    CREATED = Constant('created')
    ENABLED = Constant('enabled')
    DISABLED = Constant('disabled')
Ejemplo n.º 27
0
class ImageAvailabilityStatus(Constants):
    """
    Image Availability Status Constants
    """
    NONE = Constant('')
    UNKNOWN = Constant('unknown')
    AVAILABLE = Constant('available')
    DELETED = Constant('deleted')
Ejemplo n.º 28
0
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')
Ejemplo n.º 29
0
class ImageAction(Constants):
    """
    Image Action Constants
    """
    NONE = Constant('')
    UNKNOWN = Constant('unknown')
    SAVING = Constant('saving')
    DELETING = Constant('deleting')
Ejemplo n.º 30
0
class _EventInitiatedBy(Constants):
    """
    Initiated-By Constants
    """
    UNKNOWN = Constant('unknown')
    TENANT = Constant('tenant')
    INSTANCE = Constant('instance')
    INSTANCE_DIRECTOR = Constant('instance-director')