The sushy.main Module

The sushy.main Module

class sushy.main.ProtocolFeaturesSupportedField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

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

The excerpt query parameter is supported

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

The expand query parameter is supported

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

The filter query parameter is supported

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

The only query parameter is supported

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

The select query parameter is supported

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

Bases: sushy.resources.base.ResourceBase

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_composition_service()

Get the CompositionService object

Raises:MissingAttributeError, if the composition service attribute is not found
Returns:The CompositionService object
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_session(identity)

Given the identity return a Session object

Parameters:identity – The identity of the session resource
Returns:The Session object
get_session_service()

Get the SessionService object

Raises:MissingAttributeError, if the collection attribute is not found
Returns:as SessionCollection 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
get_update_service()

Get the UpdateService object

Returns:The UpdateService object
identity = <sushy.resources.base.Field object>

The Redfish root service identity

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

The Redfish root service name

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

The product associated with this Redfish service

protocol_features_supported = <sushy.main.ProtocolFeaturesSupportedField object>

The information about protocol features supported by the service

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.