Bug 918908 - [RFE] [ovirt-engine-cli]: Add option to define auto connect from rhevm-shell environment configuration file
Summary: [RFE] [ovirt-engine-cli]: Add option to define auto connect from rhevm-shell ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Juan Hernández
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
Depends On:
Blocks: 1019470
TreeView+ depends on / blocked
 
Reported: 2013-03-07 08:22 UTC by Oded Ramraz
Modified: 2016-02-10 19:35 UTC (History)
8 users (show)

Fixed In Version: is6
Doc Type: Enhancement
Doc Text:
The "autoconnect" option has been added in the rhevmshellrc configuration file to define automatic connection to the rhevm-shell.
Clone Of:
Environment:
Last Closed: 2014-01-21 15:53:31 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0076 0 normal SHIPPED_LIVE rhevm-cli enhancement update 2014-01-21 20:14:43 UTC
oVirt gerrit 16439 0 None None None Never

Description Oded Ramraz 2013-03-07 08:22:09 UTC
Description of problem:

Currently I can define almost all parameters for rhevm-shell from the configuration file ( .rhevmshellrc ) : e.g url , user name password e.t.c . 
I would like to have the option to define auto connect to rhevm shell.
Instead of running "rhev-shell -c" I want to simply run rhevm-shell. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:


 
vim ~/.rhevmshellrc

[ovirt-shell]
username = admin@internal
url = https://10.35.161.46:443/api
insecure = True
no_paging = True
filter = False
timeout = -1
password = XXXXXX

Comment 3 Michael Pasternak 2013-07-04 09:36:56 UTC
added autoconnect = True|False key to configuration file (default is True)

Comment 5 Ilia Meerovich 2013-07-23 08:25:40 UTC
[imeerovi@imeerovi ART]$ rhevm-shell

 ==========================================
 >>> connected to RHEVM manager 3.3.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]# exit
[imeerovi@imeerovi ART]$ cat ~/.rhevmshellrc 
[cli]
autoconnect = True
autopage = True
[ovirt-shell]
username = admin@internal
timeout = -1
extended_prompt = False
url = https://vm-161-147.scl.lab.tlv.redhat.com:443/api/
insecure = True
filter = False
session_timeout = -1
ca_file = None
dont_validate_cert_chain = False
key_file = None
password = 123456
cert_file = None
[imeerovi@imeerovi ART]$ rpm -q rhevm-cli
rhevm-cli-3.3.0.5-1.el6ev.noarch
[imeerovi@imeerovi ART]$

Comment 7 errata-xmlrpc 2014-01-21 15:53:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0076.html


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