Bug 928314 - [RHEVM-CLI]: Implement Session-TTL header support
Summary: [RHEVM-CLI]: Implement Session-TTL header support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Michael Pasternak
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
Depends On: 928313
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-27 11:37 UTC by Michael Pasternak
Modified: 2016-02-10 19:06 UTC (History)
8 users (show)

Fixed In Version: sf14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 14019 0 None None None Never
oVirt gerrit 14031 0 None None None Never

Description Michael Pasternak 2013-03-27 11:37:22 UTC
3.2 api introduced new header Session-TTL (bug 921013) which is used to 
define session TTL or disable it, cli should allow users to use this feature

Comment 1 Ilia Meerovich 2013-05-13 09:20:17 UTC
Where can user find help for this feature in cli?

Comment 2 Michael Pasternak 2013-05-13 10:41:02 UTC
(In reply to comment #1)
> Where can user find help for this feature in cli?

[root@lpt21-f yum.repos.d]# rhevm-shell --help
Usage: rhevm-shell [options]
       rhevm-shell [options] command...

This program is a command-line interface to RHEVM Virtualization.

Options:
  -h, --help            show this help message and exit
  -d, --debug           enable debugging
  -l URL, --url=URL     specifies the API entry point URL
                        (http[s]://server[:port]/api)
  -u USERNAME, --username=USERNAME
                        connect as this user
  -K KEY_FILE, --key-file=KEY_FILE
                        specify client PEM key-file
  -C CERT_FILE, --cert-file=CERT_FILE
                        specify client PEM cert-file
  -A CA_FILE, --ca-file=CA_FILE
                        specify server CA cert-file
  -I, --insecure        allow connecting to SSL sites without CA certificate
  -D, --dont-validate-cert-chain
                        do not validate server CA certificate
  -F, --filter          enables user permission based filtering
  -P PORT, --port=PORT  specify port
  -T TIMEOUT, --timeout=TIMEOUT
                        specify request timeout
  -S SESSION_TIMEOUT, --session-timeout=SESSION_TIMEOUT
                        specify authentication session timeout (0 disables
                        session expiry)
  -c, --connect         automatically connect
  -f FILE, --file=FILE  read commands from FILE instead of stdin

Comment 3 Ilia Meerovich 2013-05-13 10:42:54 UTC
sf15:
[imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I  -S 0


 ==========================================
 >>> connected to RHEVM manager 3.2.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]# exit

Comment 4 Itamar Heim 2013-06-11 09:07:18 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:07:21 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:07:25 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 09:35:54 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.