The sushy.resources.sessionservice.sessionservice Module

The sushy.resources.sessionservice.sessionservice Module

class sushy.resources.sessionservice.sessionservice.SessionService(connector, identity, redfish_version=None)

Bases: sushy.resources.base.ResourceBase

close_session(session_uri)

This function is for closing a session based on its id.

Raises:ServerSideError
create_session(username, password)

This function will try to create a session.

Returns:A session key and uri in the form of a tuple
Raises:MissingXAuthToken
Raises:ConnectionError
Raises:AccessError
Raises:HTTPError
description = <sushy.resources.base.Field object>

The session service description

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

The session service identify string

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

The session service name

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

Tells us if session service is enabled

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

The session service timeout

sessions

Property to provide reference to the SessionCollection instance

It is calculated once when the first time it is queried. On refresh, this property gets reset.

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.