summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'software-indications'Michal Minar2013-05-108-76/+305
|\
| * support for method parameters and pre/post indicationsMichal Minar2013-05-108-76/+305
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'devel/parse-instance'Jan Safranek2013-05-102-32/+22
|\ \
| * | Added global function to parse InstanceID.Jan Safranek2013-05-022-32/+22
| | |
* | | realmd: Remove extra semi-colonsStef Walter2013-05-095-5/+5
| | |
* | | Remove unused functions from realmd providerStef Walter2013-05-091-137/+0
| |/ |/|
* | Hardware: Added additional information to the Memory providerPeter Schiffer2013-04-304-4/+168
| | | | | | | | | | | | | | | | Added information: * detect NUMA layout * standard memory page size * all supported sizes of huge memory pages * current state of transparent huge pages
* | openlmi.common.JobManager: fix output parameter nameJan Synacek2013-04-291-1/+1
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-2624-137/+6164
|\
| * fixed output parameter name of GetError methodMichal Minar2013-04-261-1/+1
| |
| * Revert "Merge branch 'software-indications' of ↵Michal Minar2013-04-261-1/+1
| | | | | | | | | | | | | | ssh://git.fedorahosted.org/git/openlmi-providers into software-indications" This reverts commit 0f9da4ac91a0acb2c53d19ca1ec345c07a5043fb, reversing changes made to 217acf2c624b99db7335acb0aa50d92efcb368a8.
| * updated doc comments for cimom callbacksMichal Minar2013-04-262-9/+114
| | | | | | | | | | cimom callbacks for filter enablement have misleading param names and miss proper doc
| * modified indication filtersMichal Minar2013-04-264-116/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * fixed error handling upon method params checkMichal Minar2013-04-261-1/+1
| |
| * Fixed LMI_ConcreteJob.GetError and .GetErrors to return correct CIM instance.Jan Safranek2013-04-251-11/+22
| | | | | | | | | | We should return CIMInstance instead of CIMError (which has nothing to do with CIM_Error).
| * Rename LMI_Realmd.mof to 60_LMI_Realmd.mofTomas Smetana2013-04-241-1/+1
| |
| * New provider: RealmDTomas Smetana2013-04-2419-0/+5951
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-238-10/+10
|\|
| * fixed enumeration of repository associationsMichal Minar2013-04-221-2/+2
| |
| * renamed mof files according to LMI conventionMichal Minar2013-04-226-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * small logging improvementMichal Minar2013-04-221-2/+2
| |
* | Hardware: Added Physical Memory ProviderPeter Schiffer2013-04-2312-36/+873
|/ | | | | | | | | | New Providers: * LMI_PhysicalMemoryProvider * LMI_PhysicalMemoryRealizesProvider Other Changes: * Fixed InstanceID in hardware to match the rest of the providers * Removed some unused variables
* Merge branch 'devel/sync-job'Jan Safranek2013-04-193-105/+525
|\
| * Set default log level to INFO.Jan Safranek2013-04-161-1/+1
| | | | | | | | | | | | DEBUG is too verbose. On the other hand, we'll see no logging until something sets more verbose level, e.g. after configuration load.
| * Use UTC times for all wall clock times.Jan Safranek2013-04-161-2/+2
| | | | | | | | clocktime_of_last_state_change was in local time.
| * Remove whitespaces.Jan Safranek2013-04-161-75/+75
| |
| * Use monotonic clock for job expiration.Jan Safranek2013-04-161-21/+32
| | | | | | | | Job expiration timer should not be influenced by admin changing date or time.
| * Use TimerManager where appropriate.Jan Safranek2013-04-162-9/+18
| |
| * Add TimerManager.Jan Safranek2013-04-161-0/+400
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix path to configured openlmi.pc fileRadek Novacek2013-04-171-1/+1
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-1713-94/+271
|\ \
| * | Support for using libopenlmicommon by external providersRadek Novacek2013-04-1711-35/+167
| |/ | | | | | | | | | | | | | | | | * 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
| * Fixed missing brace.Jan Safranek2013-04-161-1/+1
| |
| * Fixed subscription check, the new IndicationManager has additional parameter.Jan Safranek2013-04-161-1/+2
| |
| * Removed logging from indication sender thread.Jan Safranek2013-04-161-1/+0
| | | | | | | | | | | | 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.
| * Added a log decorator to IndicationManager.__init__Jan Safranek2013-04-161-0/+1
| |
| * Updated the filter queries to match those in software provider.Jan Safranek2013-04-161-21/+20
| | | | | | | | Both Storage and Software providers should use the same CQL filters for all job-realted indications.
| * Synchronize JobManager with storage.Jan Safranek2013-04-121-35/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Hardware: Added System Memory ProviderPeter Schiffer2013-04-159-6/+544
|/ | | | | Added new provider: * LMI_MemoryProvider
* Merge branch 'software-indications' (early part)Michal Minar2013-04-1127-70/+2673
|\ | | | | | | Merging reviewed code.
| * logging improvementsMichal Minar2013-04-113-8/+31
| | | | | | | | | | this relates mostly to YumWorker separated process that does not use cmpi_logging
| * added support for indications to software providersMichal Minar2013-04-116-5/+1578
| | | | | | | | | | | | | | 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.
| * docu updated and fixed on some placesMichal Minar2013-04-116-21/+122
| | | | | | | | also some tab/spaces fixes
| * added LMI_ to classnames prefix for to key propertiesMichal Minar2013-04-1116-43/+43
| | | | | | | | | | | | | | | | | | | | | | previous pattern of key properties: LMI:ShortClassName:* replaces with LMI:FullClassName:* where FullClassName = "LMI_" + ShortClassName
| * added indication manager to openlmi.commonMichal Minar2013-04-112-4/+910
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * moved singletonmixin module to shared subpackageMichal Minar2013-04-082-2/+2
| | | | | | | | | | singletonmixin python module moved under openlmi.common from software source tree. This allows it to be shared be other OpenLMI projects.
* | Hardware: Added Processor Chip ProviderPeter Schiffer2013-04-1010-7/+523
| | | | | | | | | | | | | | | | | | | | 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
* | Hardware: Code clean upPeter Schiffer2013-04-0812-240/+89
| | | | | | | | | | | | * Got rid of asprintf() where suitable (used static memory instead) * Removed if conditional before free() * Replaced more hard coded numbers with LMI constants
* | Hardware: Added Processor Cache Memory ProviderPeter Schiffer2013-04-0411-95/+1891
|/ | | | | | | | | | | | | 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
* Hardware: added new providersPeter Schiffer2013-03-2610-7/+670
| | | | | | Providers added: * LMI_ProcessorCapabilitiesProvider * LMI_ProcessorElementCapabilitiesProvider