freezerclient.v2.managers.sessions
Module¶freezerclient.v2.managers.sessions.
SessionManager
(client, verify=True)[source]¶Bases: object
end_session
(session_id, job_id, session_tag, result)[source]¶Informs the freezer service that the job has ended. Provides information about the job’s result and the session tag
Parameters: |
|
---|---|
Returns: |
headers
¶start_session
(session_id, job_id, session_tag)[source]¶Informs the api that the client is starting the session identified by the session_id and request the session_tag to be incremented up to the requested value. The returned session_id could be:
- current_tag + 1 if the session has started
- > current_tag + 1 if the action had already been started by some other node and this node was out of sync
Parameters: |
|
---|---|
Returns: | the response obj: { result: string ‘running’ or ‘error’,
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.