sushy.oem.dell.resources package¶
Subpackages¶
- sushy.oem.dell.resources.manager package
- Submodules
- sushy.oem.dell.resources.manager.constants module
- sushy.oem.dell.resources.manager.idrac_card_service module
- sushy.oem.dell.resources.manager.job_collection module
- sushy.oem.dell.resources.manager.job_service module
- sushy.oem.dell.resources.manager.lifecycle_service module
- sushy.oem.dell.resources.manager.manager module
- Module contents
Submodules¶
sushy.oem.dell.resources.attributes module¶
-
class
sushy.oem.dell.resources.attributes.
DellAttributes
(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶ Bases:
sushy.resources.base.ResourceBase
-
attributes
= <sushy.resources.base.Field object>¶ Vendor-specific key-value dict of effective DellAttributes
They cannot be updated directly. To update use
set_attribute()
orset_attributes()
-
description
= <sushy.resources.base.Field object>¶ Human-readable description of the DellAttributes resource
-
get_attribute_registry
(language='en')¶ Get the Attribute Registry associated with this resource
- Parameters
language – RFC 5646 language code for Message Registries. Indicates language of registry to be used. Defaults to ‘en’.
- Returns
the DellAttributes Attribute Registry
-
identity
= <sushy.resources.base.Field object>¶ The DellAttributes resource identity string
-
name
= <sushy.resources.base.Field object>¶ The name of the resource
-
set_attribute
(key, value)¶ Update an attribute
Attribute update is not immediate but requires system restart. Committed attributes can be checked at
pending_attributes
property- Parameters
key – Attribute name
value – Attribute value
-
set_attributes
(value)¶ Update many attributes at once
Attribute update is not immediate but requires system restart. Committed attributes can be checked at
pending_attributes
property- Parameters
value – Key-value pairs for attribute name and value
apply_time – When to update the attributes. Optional. An
sushy.ApplyTime
value.
-