@@ -18,9 +18,22 @@ top-of-rack switches (endpoints)
1818* Configuring servers through the use of Configuration Patterns
1919* Applying firmware updates to endpoints
2020
21- Whats New in 2.6 .0
21+ Whats New in 3.2 .0
2222------------------
23- * Add metrics support for nodes
23+ * License Compliance
24+ * Manage/Unmanage Support for Edge Servers
25+ * Support for firmware update for AMD-1S
26+ * Bug Fixes and Minor improvements
27+
28+ Whats New in 2.4.0
29+ ------------------
30+ * Argument Parsing library replaced from optparse to argparse.
31+ * Support for subcmd under various commands.
32+ * New commands supported under shell
33+ osimages
34+ managementserver
35+ resourcegroups
36+ * Better Error handling.
2437
2538Installation
2639------------
@@ -37,44 +50,49 @@ more information about Python, see the [Link]www.python.org website.
3750
3851Complete the following steps to install the PYLXCA CLI.
3952
40- 1. Run the following command to install the module:
41- pip install pylxca
42-
43- 2. Start a Python shell session in Command mode.
44- $lxca_shell
45- --------------------------------------------------
46- Welcome to PyLXCA Shell v2.5.0
47- Type "help" at any time for a list of commands.
48- Type "pyshell" at any time to get interactive python shell
49- --------------------------------------------------
50- PyLXCA >>
53+ 1. Download the toolkit by clicking Help ( )> Resources from the
54+ Lenovo XClarity Administrator title bar, and then clicking Download
55+ PYLXCA CLI from the dialog.
56+ 2. Unzip the package into a local directory.
57+ 3. Run the following command to install the module:
58+ easy_install unzip_directory\pylxca-1.0-py2.7.egg
59+ 4. Start a Python shell session.
60+
61+ $lxca_shell
62+ --------------------------------------------------
63+ Welcome to PyLXCA Shell v1.0
64+ Type "help" at any time for a list of commands.
65+ Type "pyshell" at any time to get interactive python shell
66+ --------------------------------------------------
67+ PyLXCA >>
5168
52693. Start a Python LXCA Shell in Interactive mode.
5370
5471
5572 $lxca_shell --api
56- Interactive Python Shell for Lenovo XClarity Administrator v2.5 .0
73+ Interactive Python Shell for Lenovo XClarity Administrator v2.4 .0
5774 Type "dir()" or "help(lxca command object)" for more information.
5875 >>>
5976
60774. Validate that the module was installed correctly by running the following command:
6178
62- In Python Shell Try to import pylxca module as follows
79+ In Python Shell Try to import pylxca module as follows
6380
64- >>> import pylxca
81+ >>> import pylxca
6582
66- If python able to import pylxca without any error then it is installed correctly.
83+ If python able to import pylxca without any error then it is installed correctly.
6784
6885
6986API Reference
7087-------------
7188
7289PyLXCA command reference is available at
73- https://sysmgt.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.lxca_restapis.doc%2Fpycli_overview.html&cp=1_23_1
90+ http://ralfss30.labs.lenovo.com:8120/help/topic/com.lenovo.lxca.doc/pycli_overview.html
91+
7492PyLXCA API Help can be seen from Interactive Python Shell as follows.
7593
7694 $lxca_shell --api
77- Interactive Python Shell for Lenovo XClarity Administrator v2.5 .0
95+ Interactive Python Shell for Lenovo XClarity Administrator v2.4 .0
7896 Type "dir()" or "help(lxca command object)" for more information.
7997 >>>
8098 >>> help(connect)
@@ -83,13 +101,13 @@ Example
83101------------
84102
85103 python lxca_shell
86- connect -l <ipaddress> -u <user> --noverify
87- connect -l <ipaddress> -u <user>
104+ connect -l https://10.241.106.216 -u USERID --noverify
105+ connect -l https://10.241.106.216 -u USERID
88106
89107Example to call lxca_cmd python module from python script or Ansible module
90108
91109 import pylxca
92- con1 = connect("<ipaddress> ","<user> ","<password> ","True")
110+ con1 = connect("https://10.241.106.216 ","USERID ","Passw0rd ","True")
93111
94112Several sample scripts are also available to help you to quickly begin using the PYLXCA command-line interface (CLI) to manage endpoints.
95113The sample scripts are location in the following directory:
0 commit comments