The sushy.main Module

The sushy.main Module

class sushy.main.Sushy(base_url, username=None, password=None, root_prefix='/redfish/v1/', verify=True)

Bases: sushy.resources.base.ResourceBase

get_manager(identity)

Given the identity return a Manager object

Parameters:identity – The identity of the Manager resource
Returns:The Manager object
get_manager_collection()

Get the ManagerCollection object

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

Given the identity return a System object

Parameters:identity – The identity of the System resource
Returns:The System object
get_system_collection()

Get the SystemCollection object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:a SystemCollection object
identity = <sushy.resources.base.Field object>

The Redfish root service identity

name = <sushy.resources.base.Field object>

The Redfish root service name

uuid = <sushy.resources.base.Field object>

The Redfish root service UUID

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.