pyds8k.client.ds8k.v1 package
Submodules
pyds8k.client.ds8k.v1.client module
- class pyds8k.client.ds8k.v1.client.Client(service_address, user, password, port=8452, hostname='', service_type='ds8k', service_version='v1', timeout=None, verify=True)[source]
Bases:
objectTop-level object to access all the DS8K resources.
See available member functions from the docstring of
pyds8k.resources.ds8k.v1.common.mixins- Parameters
service_address (string) – Required. Hostname/IP address of the REST server if it is standalone or the hostname/IP address of the DS8K system.
user (string) – Required. Username for logining to the DS8K system.
password (string) – Required. Password for logining to the DS8K system.
port (int) – Port number of the server.
hostname (string) – Hostname/IP address of the DS8K HMC. Required if the REST-API server is standalone.
timeout (float) – How long to wait for the server to send data before giving up. In seconds. Default is 25, and 0 means no limitation.
verify (bool) –
Either 1)a boolean, indicating whether we verify the server’s TLS certificate, or 2) a string of the path to a CA bundle to use. Defaults to
True, meaning that the default CA of pythonrequestsmodule is used. The default CA bundle of requests module can be found by:import requestsprint(requests.certs.where())
- Returns
DS8000 REST-API Client
- Return type
object