| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added input and output parameters to LMI_SoftwareInstallationJob.
Added PreCallIndication and PostCallIndication properties to
LMI_SoftwareMethodResult containg CIM_InstMethodCall indication
instances - that are rather useless but mandatory by Job Control
Profile.
|
|\ \ |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added information:
* detect NUMA layout
* standard memory page size
* all supported sizes of huge memory pages
* current state of transparent huge pages
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
ssh://git.fedorahosted.org/git/openlmi-providers into software-indications"
This reverts commit 0f9da4ac91a0acb2c53d19ca1ec345c07a5043fb, reversing
changes made to 217acf2c624b99db7335acb0aa50d92efcb368a8.
|
| |
| |
| |
| |
| | |
cimom callbacks for filter enablement have misleading param names and
miss proper doc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And moved software static filters to shared JobManager.
Indication filters now reflect the name of indication class, which is
instrumented by particular provider. This ensures, that cimom knows,
which provider to call and does not bother the others. So instead of
selecting indication instances from general class CIM_InstModification,
it will be LMI_SoftwareInstModification. This is a common pattern for
indication queries.
Avoided another shortcoming of sfcbmof parser:
/* comment */ something useful is also ignored :-(
Static filters of JobManager made more generic for any provider
to use. Software jobmanager is now using them. This reduces redundation
of code.
|
| | |
|
| |
| |
| |
| |
| | |
We should return CIMInstance instead of CIMError (which has nothing to do with
CIM_Error).
|
| | |
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mof files prefixed with digits ensuring their correct order of parsing
upon their installation. This avoids problems with sfcbmof compiler,
which can not handle dependent classes being parsed before their
antecedents.
Convention is specified in mof/README.
Removed inclusion of LMI_Qualifiers in LMI_Jobs. LMI_Qualifiers should
be registered in cimom instead of included in dependent mof files.
This allows it to be used by any other providers simultaneously.
Modified references to mof files in cmake build files.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
New Providers:
* LMI_PhysicalMemoryProvider
* LMI_PhysicalMemoryRealizesProvider
Other Changes:
* Fixed InstanceID in hardware to match the rest of the providers
* Removed some unused variables
|
|\ |
|
| |
| |
| |
| |
| |
| | |
DEBUG is too verbose. On the other hand, we'll see no logging until
something sets more verbose level, e.g. after configuration load.
|
| |
| |
| |
| | |
clocktime_of_last_state_change was in local time.
|
| | |
|
| |
| |
| |
| | |
Job expiration timer should not be influenced by admin changing date or time.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Standard Python threading.Timer starts separate thread for each timer.
That has two unpleseant consequences:
- We end up with lot of sleeping threads.
- If we want to use logging in thread callbacks, we must register the thread
at CIMOM using AttachThread (=tedious).
So let's create TimerManager
- Uses only on thread.
- It is possible to log stuff in timer callbacks.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* add FindOpenLMI.cmake module
* add pkgconfig for OpenLMI
* add openlmi.c/h with exported functions
* add symlink with major version to openlmicommon library
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=948948
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
When the method starts, the indication thread is not yet registered at
CIMOM, that's done inside the method using AttachThread(). Therefore
we should not log anything.
|
| | |
|
| |
| |
| |
| | |
Both Storage and Software providers should use the same CQL filters for
all job-realted indications.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
JobManager here is older version of the one in openlmi-storage.
Let's sync it with the storage so I can use it from there.
The patch includes:
Fixed job expiration under SFCB.
Added LMI_StorageJob.JobInParameters and .JobOutParameters properties.
Allow python to exit the provider even if there are threads running.
Fixed job returning an error
Added possibility to set AffectedElements when a job finishes.
Added workaround for rhbz#920763
|
|/
|
|
|
| |
Added new provider:
* LMI_MemoryProvider
|
|\
| |
| |
| | |
Merging reviewed code.
|
| |
| |
| |
| |
| | |
this relates mostly to YumWorker separated process that does not use
cmpi_logging
|
| |
| |
| |
| |
| |
| |
| | |
Only static indication filters listed in
mof/LMI_SoftwareIndicationFilters.mof are supported. They should be
installed at rpm package installation, so user can use them for
subscriptions.
|
| |
| |
| |
| | |
also some tab/spaces fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
previous pattern of key properties:
LMI:ShortClassName:*
replaces with
LMI:FullClassName:*
where
FullClassName = "LMI_" + ShortClassName
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IndicationManager python module is useful for many providers across
OpenLMI project. That's why it's landing in openlmi.common subpackage
from openlmi-storage. It supports checking for static filters
IndicationManager allows to check and install static filters at broker
at runtime
- but it should be avoided
filters should work also under sfcbd
|
| |
| |
| |
| |
| | |
singletonmixin python module moved under openlmi.common from software
source tree. This allows it to be shared be other OpenLMI projects.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added two new providers:
* LMI_ProcessorChipProvider
* LMI_ProcessorChipRealizesProvider
Other Changes:
* Added Association qualifier to the association classes in Hardware mof file
* Removed initialization for static strings used in snprintf() function
|
| |
| |
| |
| |
| |
| | |
* Got rid of asprintf() where suitable (used static memory instead)
* Removed if conditional before free()
* Replaced more hard coded numbers with LMI constants
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
New Providers:
* LMI_ProcessorCacheMemoryProvider
* LMI_AssociatedProcessorCacheMemoryProvider
Other Changes:
* Optimized usage of string constats
* Fixed wrong usage of pointers in dmidecode.c
* Filled unknown mandatory fields in providers with "Unknown" value
* Replaced hard coded numbers with LMI constants
* Minor optimization - don't gather data which won't be used
|
|
|
|
|
|
| |
Providers added:
* LMI_ProcessorCapabilitiesProvider
* LMI_ProcessorElementCapabilitiesProvider
|