File: usage.rst

package info (click to toggle)
python-dracclient 3.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,008 kB
  • sloc: xml: 18,999; python: 7,076; makefile: 23
file content (15 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')