Rename client from redfish-client.py to redfish-client
This commit is contained in:
parent
1cf02e1aa1
commit
562999c633
@ -104,15 +104,15 @@ Host configuration file configuration
|
|||||||
|
|
||||||
#. Verify redfish-client is working correclty::
|
#. Verify redfish-client is working correclty::
|
||||||
|
|
||||||
redfish-client.py -h
|
redfish-client -h
|
||||||
|
|
||||||
#. Create a default entry to use the mockup::
|
#. 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::
|
#. Verify the entry is correctly registered::
|
||||||
|
|
||||||
redfish-client.py config showall
|
redfish-client config showall
|
||||||
|
|
||||||
===================
|
===================
|
||||||
Mockup installation
|
Mockup installation
|
||||||
@ -146,11 +146,11 @@ Testing against the mockup
|
|||||||
#. Follow `Host configuration file configuration`_ and `Mockup installation`_ section.
|
#. Follow `Host configuration file configuration`_ and `Mockup installation`_ section.
|
||||||
#. Run the following command::
|
#. Run the following command::
|
||||||
|
|
||||||
redfish-client.py manager getinfo
|
redfish-client manager getinfo
|
||||||
|
|
||||||
The result should be like this::
|
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...
|
Gathering data from manager, please wait...
|
||||||
|
|
||||||
Redfish API version : 1.00
|
Redfish API version : 1.00
|
||||||
|
@ -20,7 +20,7 @@ redfish-client usage
|
|||||||
|
|
||||||
The client usage can be display using::
|
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 .
|
This is also available at http://pythonhosted.org/python-redfish/redfish-client.html .
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ defpkgdir python-redfish = .
|
|||||||
|
|
||||||
# List of files per pkg on which to apply filters
|
# List of files per pkg on which to apply filters
|
||||||
# Files are mentioned relatively to pbroot/defpkgdir
|
# 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
|
#supfiles python-redfish = python-redfish.init
|
||||||
|
|
||||||
# For perl modules, names are different depending on distro
|
# For perl modules, names are different depending on distro
|
||||||
|
@ -33,7 +33,6 @@ make latexpdf
|
|||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
# This will go in a separate script later on to share with other distros
|
# This will go in a separate script later on to share with other distros
|
||||||
%{__mkdir} -p %{buildroot}/%{_bindir}
|
%{__mkdir} -p %{buildroot}/%{_bindir}
|
||||||
install -m 755 redfish-client/redfish-client.py %{buildroot}/%{_bindir}/redfish-client
|
|
||||||
rm -fr %{buildroot}/%{python_sitelib}/redfish/old
|
rm -fr %{buildroot}/%{python_sitelib}/redfish/old
|
||||||
|
|
||||||
for i in 1; do
|
for i in 1; do
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
redfish-client ::
|
redfish-client ::
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
redfish-client.py [options] config add <manager_name> <manager_url> [<login>] [<password>]
|
redfish-client [options] config add <manager_name> <manager_url> [<login>] [<password>]
|
||||||
redfish-client.py [options] config del <manager_name>
|
redfish-client [options] config del <manager_name>
|
||||||
redfish-client.py [options] config modify <manager_name> (manager_name | url | login | password) <changed_value>
|
redfish-client [options] config modify <manager_name> (manager_name | url | login | password) <changed_value>
|
||||||
redfish-client.py [options] config show
|
redfish-client [options] config show
|
||||||
redfish-client.py [options] config showall
|
redfish-client [options] config showall
|
||||||
redfish-client.py [options] manager getinfo [<manager_name>]
|
redfish-client [options] manager getinfo [<manager_name>]
|
||||||
redfish-client.py (-h | --help)
|
redfish-client (-h | --help)
|
||||||
redfish-client.py --version
|
redfish-client --version
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
@ -25,7 +25,7 @@ packages =
|
|||||||
redfish
|
redfish
|
||||||
|
|
||||||
scripts =
|
scripts =
|
||||||
redfish-client/redfish-client.py
|
redfish-client/redfish-client
|
||||||
|
|
||||||
data_files =
|
data_files =
|
||||||
usr/share/redfish-client/templates = redfish-client/templates/*
|
usr/share/redfish-client/templates = redfish-client/templates/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user