sushy.oem.dell.resources.taskservice package

Submodules

sushy.oem.dell.resources.taskservice.constants module

class sushy.oem.dell.resources.taskservice.constants.JobState(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Job state constants

COMPLETED = 'Completed'

A job is in completed state

COMPLETED_ERRORS = 'CompletedWithErrors'

A job is in completed state with errors

DOWNLOADED = 'Downloaded'

A job is in downloaded state

DOWNLOADING = 'Downloading'

A job is in downloading state

FAILED = 'Failed'

A job is in failed state

NEW = 'New'

A job is in newly created state

PAUSED = 'Paused'

A job is in paused state

PENDING_ACTIVATION = 'PendingActivation'

A job is in pending activation state

READY_EXECUTION = 'ReadyForExecution'

A job is in ready for execution state

REBOOT_COMPLETED = 'RebootCompleted'

A job is in reboot completed state

REBOOT_FAILED = 'RebootFailed'

A job is in reboot failed state

REBOOT_PENDING = 'RebootPending'

A job is in pending state for reboot

RUNNING = 'Running'

A job is in running state

SCHEDULED = 'Scheduled'

A job is in scheduled state

SCHEDULING = 'Scheduling'

A job is in scheduling state

UNKNOWN = 'Unknown'

A job is in unknown state

WAITING = 'Waiting'

A job is in waiting state

class sushy.oem.dell.resources.taskservice.constants.JobType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Job type constants

BIOS_CONF = 'BIOSConfiguration'

A BIOS configuration job

EXPORT_CONF = 'ExportConfiguration'

A server configuration profile export job

FACTORY_CONF_EXPORT = 'FactoryConfigurationExport'

A factory configuration export job

FC_CONF = 'FCConfiguration'

A Fibre Channel configuration job

FIRMWARE_ROLLBACK = 'FirmwareRollback'

A firmware rollback job

FIRMWARE_UPDATE = 'FirmwareUpdate'

A firmware update job

HW_INVENTORY_EXPORT = 'HardwareInventoryExport'

A hardware inventory export job

IDRAC_CONF = 'iDRACConfiguration'

An iDRAC configuration job

IMPORT_CONF = 'ImportConfiguration'

A server configuration profile import job

INBAND_BIOS_CONF = 'InbandBIOSConfiguration'

An inband BIOS configuration job

LC_CONF = 'LCConfig'

A lifecycle controller attribute configuration job

LC_EXPORT = 'LCExport'

A lifecycle controller export job

LC_LOG_EXPORT = 'LCLogExport'

A lifecycle controller log export job

LICENSE_EXPORT = 'LicenseExport'

A license export job

LICENSE_IMPORT = 'LicenseImport'

A license import job

MSG_REG_EXPORT = 'MessageRegistryExport'

Export message registry report job

NIC_CONF = 'NICConfiguration'

A NIC configuration job

OS_DEPLOY = 'OSDeploy'

Operating System deploy job

RAID_CONF = 'RAIDConfiguration'

A RAID configuration job

REBOOT_FORCE = 'RebootForce'

A reboot job with forced shutdown

REBOOT_NO_FORCE = 'RebootNoForce'

A graceful reboot job without forced shutdown

REBOOT_POWER_CYCLE = 'RebootPowerCycle'

A power cycle job

REMOTE_DIAG = 'RemoteDiagnostics'

A remote diagnostics job

REPO_UPDATE = 'RepositoryUpdate'

An update job from a repository

RT_NO_REBOOT_CONF = 'RealTimeNoRebootConfiguration'

A real time configuration job without reboot

SA_COL_EXP_HEALTH_DATA = 'SACollectExportHealthData'

Support Assist collect and export health data job

SA_COL_HEALTH_DATA = 'SACollectHealthData'

Support Assist collect health data job

SA_EXP_HEALTH_DATA = 'SAExportHealthData'

Support Assist export health data job

SA_ISM = 'SAExposeISM'

Support Assist expose ISM installer package to host job

SA_REG = 'SARegistration'

Support Assist register iDRAC to Dell backend server job

SEKM_REKEY = 'SEKMRekey'

A Secure Enterprise Key Manager rekey job

SEKM_STATUS_SET = 'SEKMStatusSet'

A Secure Enterprise Key Manager status set job

SHUTDOWN = 'Shutdown'

A shutdown job

SYS_ERASE = 'SystemErase'

A selective system erase job

SYS_INFO_CONF = 'SystemInfoConfiguration'

A system info configuration job

THERMAL_HIST_EXP = 'ThermalHistoryExport'

A thermal history export job

UNKNOWN = 'Unknown'

An unknown job

sushy.oem.dell.resources.taskservice.task module

class sushy.oem.dell.resources.taskservice.task.DellTaskExtension(connector, path='', redfish_version=None, registries=None, reader=None, root=None)

Bases: OEMResourceBase

Dell OEM extension for DellJob type

completion_time = <sushy.resources.base.Field object>

Job completion time

description = <sushy.resources.base.Field object>
end_time = <sushy.resources.base.Field object>

End time of job

Timestamp until when the service will wait for a job to complete. If a job does not complete within this time, it is killed and marked as failed. TIME_NA is a default value and implies EndTime is not applicable.

identity = <sushy.resources.base.Field object>
job_state = <sushy.resources.base.MappedField object>

Job state

job_type = <sushy.resources.base.MappedField object>

Job type

message = <sushy.resources.base.Field object>

The status message for job

message_args = <sushy.resources.base.Field object>

Array of message arguments for message field

message_id = <sushy.resources.base.Field object>

Message id for job

name = <sushy.resources.base.Field object>
percent_complete = <sushy.resources.base.Field object>

The percentage completion of job

start_time = <sushy.resources.base.Field object>

Scheduled start time of job

String that will contain a timestamp in Edm.DateTime format. TIME_NOW is a default value and implies apply pending configuration now.

sushy.oem.dell.resources.taskservice.task.get_extension(*args, **kwargs)

Module contents