Rename client from redfish-client.py to redfish-client

This commit is contained in:
Uggla 2016-02-19 18:33:56 +01:00
parent 1cf02e1aa1
commit 562999c633
6 changed files with 16 additions and 17 deletions

View File

@ -104,15 +104,15 @@ Host configuration file configuration
#. Verify redfish-client is working correclty::
redfish-client.py -h
redfish-client -h
#. Create a default entry to use the mockup::
redfish-client.py config add default default http://localhost:8000/redfish/v1
redfish-client config add default default http://localhost:8000/redfish/v1
#. Verify the entry is correctly registered::
redfish-client.py config showall
redfish-client config showall
===================
Mockup installation
@ -146,11 +146,11 @@ Testing against the mockup
#. Follow `Host configuration file configuration`_ and `Mockup installation`_ section.
#. Run the following command::
redfish-client.py manager getinfo
redfish-client manager getinfo
The result should be like this::
(pypi)[uggla@ugglalaptop dmtf]$ redfish-client.py manager getinfo
(pypi)[uggla@ugglalaptop dmtf]$ redfish-client manager getinfo
Gathering data from manager, please wait...
Redfish API version : 1.00

View File

@ -20,7 +20,7 @@ redfish-client usage
The client usage can be display using::
redfish-client.py -h
redfish-client -h
This is also available at http://pythonhosted.org/python-redfish/redfish-client.html .

View File

@ -130,7 +130,7 @@ defpkgdir python-redfish = .
# List of files per pkg on which to apply filters
# Files are mentioned relatively to pbroot/defpkgdir
filteredfiles python-redfish = redfish-client/redfish-client.py,doc/source/conf.py
filteredfiles python-redfish = redfish-client/redfish-client,doc/source/conf.py
#supfiles python-redfish = python-redfish.init
# For perl modules, names are different depending on distro

View File

@ -33,7 +33,6 @@ make latexpdf
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
# This will go in a separate script later on to share with other distros
%{__mkdir} -p %{buildroot}/%{_bindir}
install -m 755 redfish-client/redfish-client.py %{buildroot}/%{_bindir}/redfish-client
rm -fr %{buildroot}/%{python_sitelib}/redfish/old
for i in 1; do

View File

@ -6,14 +6,14 @@
redfish-client ::
Usage:
redfish-client.py [options] config add <manager_name> <manager_url> [<login>] [<password>]
redfish-client.py [options] config del <manager_name>
redfish-client.py [options] config modify <manager_name> (manager_name | url | login | password) <changed_value>
redfish-client.py [options] config show
redfish-client.py [options] config showall
redfish-client.py [options] manager getinfo [<manager_name>]
redfish-client.py (-h | --help)
redfish-client.py --version
redfish-client [options] config add <manager_name> <manager_url> [<login>] [<password>]
redfish-client [options] config del <manager_name>
redfish-client [options] config modify <manager_name> (manager_name | url | login | password) <changed_value>
redfish-client [options] config show
redfish-client [options] config showall
redfish-client [options] manager getinfo [<manager_name>]
redfish-client (-h | --help)
redfish-client --version
Options:

View File

@ -25,7 +25,7 @@ packages =
redfish
scripts =
redfish-client/redfish-client.py
redfish-client/redfish-client
data_files =
usr/share/redfish-client/templates = redfish-client/templates/*