sushy.main
Module¶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
sushy.main.
Sushy
(base_url, username=None, password=None, root_prefix='/redfish/v1/', verify=True, auth=None, connector=None, public_connector=None, language='en')¶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_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_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
registries
¶Gets and combines all message registries together
Fetches all registries if any provided by Redfish service and combines together with packaged standard registries.
Returns: | dict of combined message registries where key is Registry_name.Major_version.Minor_version and value is registry itself. |
---|
uuid
= <sushy.resources.base.Field object>¶The Redfish root service UUID
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.