Package with utilities for checking availability of profiles or CIM classes. Version requirements can also be specified.
Compare two profiles by their version.
| Returns: |
|
|---|---|
| Return type: | int |
Evaluate LMIReSpL expression on particular broker.
| Parameters: |
|
|---|---|
| Returns: | True if requirements in expression are satisfied. |
| Return type: | boolean |
Query broker for version of particular CIM class. Version is stored in Version qualifier of particular CIM class.
| Parameters: |
|
|---|---|
| Returns: | Version of CIM matching class. Empty string if class is registered but is missing Version qualifier and None if it is not registered. |
| Return type: | string |
Get version of registered profile on particular broker. Queries CIM_RegisteredProfile and CIM_RegisteredSubProfile. The latter comes in question only when CIM_RegisteredProfile does not yield any matching result.
| Parameters: |
|
|---|---|
| Returns: | Version of matching profile found. If there were more of them, the highest version will be returned. None will be returned when no matching profile or subprofile is found. |
| Return type: | string |