Unclassified¶
-
lmiwbem.lmiwbem_core.
is_subclass
()¶ Determine if one class is a subclass of another one.
Parameters: - ch (WBEMConnection) – CIMOM handle
- ns (string) – namespace where to look for
CIMClass
-es - superclass (string) – super class name
- subclass – either string containing sub class name of
CIMClass
instance
-
lmiwbem.lmiwbem_core.
slp_discover
(srvtype=None, scopelist=None, filter=None, async=False)¶ 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
- async (bool) – Defines, if a SLP callback should be called in asynchronous way.
Returns: py:class:.SLPResult
Return type: List of
Raises: SLPError
– When the SLP discovery fails.
-
lmiwbem.lmiwbem_core.
slp_discover_attrs
(srvurl=None, scopelist=None, attrids=None, async=False)¶ 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: Dictionary containing attrs with values
Raises: SLPError
– When the SLP discovery fails.
-
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.
-
-