otcextensions.sdk.sdrs.v1.job.Job

The SDRS Job Class

The Job class inherits from Resource.

class otcextensions.sdk.sdrs.v1.job.Job(_synchronized=False, connection=None, **attrs)

SDRS Job Resource

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

base_path: str = '/jobs'

The base part of the URI for this resource.

allow_fetch = True

Allow get operation for this resource.

begin_time

Properties Task begin time

code

Error status code

end_time

Task end time

entities

Additional info on job

error_code

SDRS Error code

fail_reason

Fail reason

job_id

Job id

job_type

Job type

message

Error message

status

Job status

class otcextensions.sdk.sdrs.v1.job.SubJob(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

begin_time

Properties Task begin time

code

Error status code

end_time

Task end time

entities

Additional info on job

error_code

SDRS Error code

fail_reason

Fail reason

job_id

Job id

job_type

Job type

message

Error message

status

Job status

class otcextensions.sdk.sdrs.v1.job.EntitySpec(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

server_group_id

Properties Protection group ID

sub_jobs

Sub job information

class otcextensions.sdk.sdrs.v1.job.EntitySpecSub(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

server_group_id

Properties Protection group ID