summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
* marked two tests as dangerousMichal Minar2013-03-261-0/+2
|
* added association providerMichal Minar2013-03-263-0/+388
| | | | | | | added provider: * LMI_SoftwareInstallationServiceAffectsElement associating SoftwareInstallationService to Linux_ComputerSystem and SoftwareIdentity
* new association providersMichal Minar2013-03-264-0/+508
| | | | | | new providers: * LMI_AssociatedSoftwareInstallationServiceCapabilities * LMI_HostedSoftwareInstallationService
* fixed get instance of AffectedSoftwareJobElementMichal Minar2013-03-261-3/+13
|
* added LMI_SoftwareInstallationServiceCapabilities providerMichal Minar2013-03-263-0/+522
|
* minor enhancementsMichal Minar2013-03-262-9/+5
| | | | | fixed a typo and speeded up get_instance of LMI_InstalledSoftwareIdentity
* small comments and spaces cleanup, removed tabsMichal Minar2013-03-262-18/+5
| | | | removed redundant spaces in mof
* fixed concurrency issueMichal Minar2013-03-261-5/+25
| | | | | readded _replies dictionary to YumDB client to cache answers from YumWorker process, that can change the order of jobs to process
* software version bump to 0.9Michal Minar2013-03-221-1/+1
| | | | updated README
* added new providersMichal Minar2013-03-216-0/+1157
| | | | | | | | | | providers added: * LMI_AffectedSoftwareJobElement * LMI_AssociatedSoftwareJobMethodResult * LMI_OwningSoftwareJobElement * LMI_SoftwareMethodResult subclassed job classes defined in LMI_Jobs.mof
* various enhancementsMichal Minar2013-03-2115-136/+160
| | | | | | | | | | | | | | consistent access to Package's version and release attributes - all 'ver' and 'rel' replaced to full names added tracing decorators to some functions providers having Values class under core subpackage now reference it with self.values property Identity.pkg2model now accepts also nevra as string removed tabs in source code
* Merge remote-tracking branch 'origin/master' into software-smashMichal Minar2013-03-20124-707/+5696
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/software/cli/software.py src/software/openlmi/__init__.py src/software/openlmi/software/LMI_HostedSoftwareIdentityResource.py src/software/openlmi/software/LMI_SoftwareFileCheck.py src/software/openlmi/software/LMI_SoftwareInstalledPackage.py src/software/openlmi/software/LMI_SoftwarePackage.py src/software/openlmi/software/__init__.py src/software/openlmi/software/cimom_entry.py src/software/openlmi/software/core/ComputerSystem.py src/software/openlmi/software/core/SoftwareFileCheck.py src/software/openlmi/software/core/SoftwareInstalledPackage.py src/software/openlmi/software/core/SoftwarePackage.py src/software/openlmi/software/core/SoftwarePackageChecks.py src/software/openlmi/software/core/__init__.py src/software/openlmi/software/util/__init__.py src/software/openlmi/software/yumdb/__init__.py src/software/openlmi/software/yumdb/errors.py src/software/openlmi/software/yumdb/jobs.py src/software/openlmi/software/yumdb/packagecheck.py src/software/openlmi/software/yumdb/packageinfo.py src/software/openlmi/software/yumdb/process.py src/software/test/base.py src/software/test/rpmcache.py src/software/test/run.py src/software/test/test_software_file_check.py src/software/test/test_software_installed_package.py src/software/test/test_software_package.py
| * Happy New Year! (better later than never)Jan Synacek2013-03-1393-93/+93
| |
| * Service: remove unused variableVitezslav Crhonek2013-03-121-1/+0
| |
| * Created LMI_ProcessorProvider providing basic information about CPU. Main sourcePeter Schiffer2013-03-0610-4/+2467
| | | | | | | | | | | | of information is dmidecode program, with additional information from lscpu program and /proc/cpuinfo file. If no output from dmidecode program is available, fallback with only lscpu and /proc/cpuinfo is used.
| * LogicalFile: support deleting directoriesJan Synacek2013-02-141-2/+14
| |
| * LogicalFile: additional check for root directory in RootDirectoryJan Synacek2013-02-141-0/+9
| |
| * LogicalFile: fix DirectoryContainsFileJan Synacek2013-02-141-21/+16
| |
| * LogicalFile: update RootDirectoryJan Synacek2013-02-141-19/+43
| |
| * LogicalFile: fix FileIdentityJan Synacek2013-02-143-36/+123
| | | | | | | | | | | | LMI_FileIdentity.Associators() was not behaving correctly -- it was returning the object itself instead of the other one. Also, LMI_FileIdentity.References() has been updated.
| * LogicalFile: check for valid classes in association methodsJan Synacek2013-02-142-0/+62
| |
| * LogicalFile: add socket file type and root directory associationJan Synacek2013-02-143-0/+459
| | | | | | | | | | Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory associates the root directory with the computer system on which it resides.
| * Fix some typosJan Synacek2013-02-126-6/+6
| |
| * New provider: LogicalFileJan Synacek2013-02-1112-0/+1879
| |
* | happy new yearMichal Minar2013-03-2044-44/+44
| | | | | | | | welcome 2013! in our source code
* | changed LMI:* prefixes in key propertiesMichal Minar2013-03-208-26/+27
| | | | | | | | to avoid id collisions with other OpenLMI classes
* | added new providers, allowed for asynchronous jobsMichal Minar2013-03-2025-367/+4699
| | | | | | | | | | | | new providers: LMI_SoftwareInstallationJob LMI_SoftwareInstallationService
* | added association providers for SoftwareIdentityResourceMichal Minar2013-03-047-90/+781
| | | | | | | | simplified writing references() method of any association provider
* | lot of bugfixes in communicationMichal Minar2013-02-2616-259/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | communication: * now the client can detect YumWorker's early termination and restart it * session level is counted on client and server side - this allows to restore session state, when process is restarted * minimized session nesting on server to 1 at max - thanks to counter on client side - reduces communication traffic * improved logging api changes: * PackageInfo's pkgid renamed to objid * Repository's name renamed to repoid caption renamed to name * added include_repos and exclude_repos to YumDB methods, where it makes sense other bugfixes: * fixed issues with repo enable * assigning None to Instance properties with CIMProperty values instead of skipping the value assignment to prevent using old reference to value allowed for repository management - enable/disable allowed to list/filter packages of particular repositories added filter for packages to match those belonging to repository testing: * improved testing speed using run.py script * removed unfinishable tests
* | added LMI_SoftwareIdentityResource providerMichal Minar2013-02-1813-14/+1808
| | | | | | | | now it's possible to list and manage repositories
* | disabled devel - loggingMichal Minar2013-02-141-2/+2
| |