The rsd_lib.main Module

The rsd_lib.main Module

class rsd_lib.main.RSDLib(base_url, username=None, password=None, root_prefix=’/redfish/v1/’, verify=True, auth=None, connector=None)

Bases: sushy.main.Sushy

get_chassis(identity)

Given the identity return a Chassis object

Parameters:identity – The identity of the Chassis resource
Returns:The Chassis object
get_chassis_collection()

Get the ChassisCollection object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:a ChassisCollection object
get_fabric(identity)

Given the identity return a Fabric object

Parameters:identity – The identity of the Fabric resource
Returns:The Fabric object
get_fabric_collection()

Get the FabricCollection object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:a FabricCollection object
get_node(identity)

Given the identity return a Node object

Parameters:identity – The identity of the Node resource
Returns:The Node object
get_node_collection()

Get the NodeCollection object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:a NodeCollection object
get_storage_service(identity)

Given the identity return a StorageService object

Parameters:identity – The identity of the StorageService resource
Returns:The StorageService object
get_storage_service_collection()

Get the StorageServiceCollection object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:a StorageServiceCollection object
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.