class LMIBaseClient.LMIBaseClient(uri, username='', password='', **kwargs)[source]¶
Base client class for CIMOM communication. It abstracts the pywbem dependent
calls to LMIBaseClient API.
Parameters:
uri (string) – URI of the CIMOM
username (string) – account, under which, the CIM calls will be performed
password (string) – user’s password
conn_type –
type of connection; can be of 2 values:
LMIBaseClient.CONN_TYPE_WBEM – WBEM connection
LMIBaseClient.CONN_TYPE_PEGASUS_UDS – applicable only for
Tog-Pegasus CIMOM, it uses Unix socket for the connection; default value is
LMIbaseClient.CONN_TYPE_WBEM
key_file (string) – path to x509 key file; default value is None
cert_file (string) – path to x509 cert file; default value is None
verify_server_cert (bool) – indicates, whether a server side certificate needs to
be verified, if SSL used; default value is True