Bug 928313
| Summary: | [RHEVM-SDK-PYTHON]: Implement Session-TTL header support | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michael Pasternak <mpastern> |
| Component: | ovirt-engine-sdk | Assignee: | Michael Pasternak <mpastern> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | acathrow, bazulay, dyasny, iheim, oramraz, Rhev-m-bugs, yeylon, ykaul |
| Target Milestone: | --- | ||
| Target Release: | 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | sf14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 928314 | ||
|
Description
Michael Pasternak
2013-03-27 11:35:13 UTC
sf15:
[imeerovi@imeerovi ART]$ ipython
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
Type "copyright", "credits" or "license" for more information.
IPython 0.10 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: from ovirtsdk.xml import params
In [2]: from ovirtsdk.api import API
In [3]: print API.__init__.__doc__
------> print(API.__init__.__doc__)
@param url: server url (format "http/s://server[:port]/api")
@param username: user (format user@domain)
@param password: password
[@param key_file: client PEM key_file for ssl enabled connection]
[@param cert_file: client PEM cert_file for ssl enabled connection]
[@param ca_file: server ca_file for ssl enabled connection]
[@param port: port to use (if not specified in url)]
[@param timeout: request timeout]
[@param session_timeout: authentication session timeout (if persistent_auth is enabled)]
[@param persistent_auth: enable persistent authentication (format True|False)]
[@param insecure: signals to not demand site trustworthiness for ssl enabled connection (format True|False, default is False)]
[@param validate_cert_chain: validate the server's certificate (format True|False, default is True)]
[@param filter: signals if user permission based filtering should be turned on/off (format True|False)]
[@param debug: debug (format True|False)]
@raise NoCertificatesError: raised when CA certificate is not provided for SSL site (can be disabled using 'insecure=True' argument).
@raise UnsecuredConnectionAttemptError: raised when HTTP protocol is used in url against server running HTTPS.
@raise ImmutableError: raised on sdk < 3.2 when sdk initiation attempt occurred while sdk instance already exist under the same domain.
@raise DisconnectedError: raised when sdk usage attempt occurred after it was explicitly disconnected.
@raise MissingParametersError: raised when get() method invoked without id or name been specified.
@raise ConnectionError: raised when any kind of communication error occurred.
@raise RequestError: raised when any kind of oVirt server error occurred.
@raise FormatError: raised when server replies in non-XML format.
In [4]: api = API(url='https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/', username='admin@internal', password='123456', insecure=True, session_timeout=10)
3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |