Unclassified¶
- lmiwbem.lmiwbem_core.is_subclass()¶
Determine if one class is a subclass of another one.
Parameters:
- lmiwbem.lmiwbem_core.slp_discover()¶
Peforms SLP discovery.
Parameters: - srvtype (str) – service type
- scopelist (str) – comma separated list of scope names
- filter (str) – query formulated of attribute pattern matching expressions in the form of an LDAPv3 search filter
Returns: list of SLPResult
Raises:
- lmiwbem.lmiwbem_core.slp_discover_attrs()¶
Performs SLP attributes discovery.
Parameters: - srvurl (str) – service URL
- scopelist (str) – comma separated list of scope names
- attrids (str) – comma separated list of attribute ids to return
Returns: dict containing attrs with values
Raises:
- lmiwbem_core.DEFAULT_NAMESPACE = u'root/cimv2'¶
This variable is used, when no namespace parameter is provided to WBEMConnection.
- lmiwbem_core.config = Config(ns='root/cimv2', trust_store='/etc/pki/ca-trust/source/anchors/', verbosity='EXC_VERB_NONE')¶
- config.DEFAULT_TRUST_STORE = u'/etc/pki/ca-trust/source/anchors/'¶
This variable is used, when SSL connection is applied.
- config.EXCEPTION_VERBOSITY = 0¶
This attribute defines the exceptions verbosity. There are 3 applicable levels:
- EXC_VERB_NONE = 0¶
No additional information is added to exceptions’ args.
- EXC_VERB_CALL = 1¶
Call prototype is added to exceptions’ args.
- EXC_VERB_MORE = 2¶
Call prototype and other useful information is added to exceptions’ args.