sushy.oem.dell.resources package

Subpackages

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: 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() or set_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.

Module contents