Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 928314

Summary: [RHEVM-CLI]: Implement Session-TTL header support
Product: Red Hat Enterprise Virtualization Manager Reporter: Michael Pasternak <mpastern>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Ilia Meerovich <iliam>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, bazulay, bdagan, dyasny, iheim, oramraz, Rhev-m-bugs, 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: 928313    
Bug Blocks:    

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