python-dracclient/doc/source/usage.rst
Miles Gould 51b97178aa Remove references to 'wsmanclient' in docs.
Change-Id: I34af0ce32d5a7acf67a9d977616ef8353dbcdb9b
2016-11-14 16:33:25 +00:00

511 B

Usage

Create a client object by providing the connection details of the DRAC card:

client = dracclient.client.DRACClient('1.2.3.4', 'username', 's3cr3t')

Note

By default it will use port 443, '/wsman' as path and https protocol.

You can override the default port, path and protocol:

client = dracclient.client.DRACClient('1.2.3.4', 'username', 's3cr3t',
                                      port=443, path='/wsman',
                                      protocol='https')