The rsd_lib.base
Module¶
- class rsd_lib.base.DynamicField(*args, **kwargs)¶
Bases:
sushy.resources.base.Field
Base class for fields consisting of several dynamic attributes.
- class rsd_lib.base.IdentifierCollectionField(*args, **kwargs)¶
Bases:
rsd_lib.base.ReferenceableMemberField
- durable_name = <sushy.resources.base.Field object>¶
This indicates the world wide, persistent name of the resource.
- durable_name_format = <sushy.resources.base.Field object>¶
This represents the format of the DurableName property.
- class rsd_lib.base.IdentifierField(*args, **kwargs)¶
Bases:
sushy.resources.base.CompositeField
- durable_name = <sushy.resources.base.Field object>¶
This indicates the world wide, persistent name of the resource.
- durable_name_format = <sushy.resources.base.Field object>¶
This represents the format of the DurableName property.
- class rsd_lib.base.LocationCollectionField(*args, **kwargs)¶
Bases:
rsd_lib.base.ReferenceableMemberField
- info = <sushy.resources.base.Field object>¶
This indicates the location of the resource.
- info_format = <sushy.resources.base.Field object>¶
This represents the format of the Info property.
- class rsd_lib.base.LocationField(*args, **kwargs)¶
Bases:
sushy.resources.base.CompositeField
- info = <sushy.resources.base.Field object>¶
This indicates the location of the resource.
- info_format = <sushy.resources.base.Field object>¶
This represents the format of the Info property.
- class rsd_lib.base.ReferenceableMemberField(*args, **kwargs)¶
Bases:
sushy.resources.base.ListField
- member_id = <sushy.resources.base.Field object>¶
This is the identifier for the member within the collection.
- class rsd_lib.base.ResourceBase(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None)¶
Bases:
sushy.resources.base.ResourceBase
- delete()¶
Delete this resource
- description = <sushy.resources.base.Field object>¶
The resource description
- identity = <sushy.resources.base.Field object>¶
The resource identity string
- name = <sushy.resources.base.Field object>¶
The resource name
- patch(path='', data=None)¶
Issue HTTP PATCH request to this resource
- post(path='', data=None)¶
Issue HTTP POST request to this resource
- put(path='', data=None)¶
Issue HTTP PUT request to this resource
- class rsd_lib.base.ResourceCollectionBase(connector, path, redfish_version=None, registries=None)¶
Bases:
sushy.resources.base.ResourceCollectionBase
- delete()¶
Delete this resource collection
- description = <sushy.resources.base.Field object>¶
The resource collection description
- name = <sushy.resources.base.Field object>¶
The resource collection name
- patch(path='', data=None)¶
Issue HTTP PATCH request to this resource
- post(path='', data=None)¶
Issue HTTP POST request to this resource
- put(path='', data=None)¶
Issue HTTP PUT request to this resource
- class rsd_lib.base.StatusField(*args, **kwargs)¶
Bases:
sushy.resources.base.CompositeField
This Field describes the status of a resource and its children.
- health = <sushy.resources.base.Field object>¶
Represents health of resource w/o considering its dependent resources
- health_rollup = <sushy.resources.base.Field object>¶
Represents health state of resource and its dependent resources
- state = <sushy.resources.base.Field object>¶
Indicates the known state of the resource, such as if it is enabled.