summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools: don't use CIMOM for generating documentationRadek Novacek2013-03-185-399/+338
| | | | | | class2rst.py and class2uml.py was altered to use konkretmof for parsing MOFs instead of calling CIMOM. This two modules was also renamed to openlmi-doc-class2* and will be installed to $prefix/bin.
* Happy New Year! (better later than never)Jan Synacek2013-03-13116-116/+116
|
* Service: remove unused variableVitezslav Crhonek2013-03-121-1/+0
|
* Created LMI_ProcessorProvider providing basic information about CPU. Main sourcePeter Schiffer2013-03-0611-12/+2570
| | | | | | 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-144-0/+477
| | | | | Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory associates the root directory with the computer system on which it resides.
* Improve OpenLMIMacros.cmakeRadek Novacek2013-02-141-4/+15
| | | | | | * Make installation of .reg file optional * Find openlmi-mof-register instead of hardcoding it * Add unregister-provider target
* Fix some typosJan Synacek2013-02-127-7/+7
|
* LogicalFile: add forgotten mof fileJan Synacek2013-02-121-0/+52
|
* New provider: LogicalFileJan Synacek2013-02-1113-0/+1880
|
* fix path to Pegasus's repository in mof registration scriptVitezslav Crhonek2013-02-071-1/+1
| | | | | Resolves: #71 in openlmi trac - OpenLMI needs to be installable without the CIMOM running
* logging improvementsMichal Minar2013-02-052-1/+13
| | | | | | made tracing message for function exit match the entry one added threading related logging for YumDB
* fixed pylint plugins0.0.18Michal Minar2013-02-042-6/+7
| | | | | | Marking of line positions for error suppression needed finetuning in other to make them more robust. They did not work for multiline statements like decorated functions/methods etc.
* new subpackage openlmi.common created for sharing codeMichal Minar2013-02-0412-14/+39
| | | | | | | | openlmi.common subpackage allows to share code accros various OpenLMI provider packages. Currently there is a cmpi_logging.py module. Resolves: #71 in openlmi trac -- Make common package under openlmi namespace for utilities shared accross python providers.
* rewritten for safe execution of transactionsMichal Minar2013-02-0428-1606/+3406
| | | | | | | | | | | | | | | | | | | | | | | Made separate process openlmi.software.yumdb.process.YumWorker for calls to yum API. Its client openlmi.software.yumdb.YumDB communicates with it via synchronnous queues - uplink and downlink. Resolves: #63 in openlmi trac -- yum API not useable, while changing thread_id) Resolves: #33 in openlmi trac -- Install/remove package Common functionality of providers moved under openlmi.software.core subpackage to make them easily accessible from other providers without cyclic dependencies. Improved logging with cmpi_logging module. openlmi.software.cimom_entry module now is the only module loadable by cmpi-bindings. It sets up providers and maps them by their name. New subpackages: openlmi.software.core openlmi.software.yumdb
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2013-01-311-1/+1
|\
| * Fix registration make targetRadek Novacek2013-01-301-1/+1
| | | | | | | | Forgot to fix it when renaming register.sh to openlmi-mof-register
* | fixed pylint pluginMichal Minar2013-01-311-1/+5
|/ | | | | pylintlmi could raise an attribute error, when checking module name
* made pylint more friendlyMichal Minar2013-01-242-6/+6
| | | | | | allow arguments 2 characters long allow any arguments in provider methods to be unused - support functions spawning its arguments on multiple lines
* made pylint more friendlyMichal Minar2013-01-242-29/+38
| | | | | | | | | | | supressed: * too short variable names (allowed 2 chars long) * use of * and ** magic * warnings about hierarchically nested classes under Values * get_providers not required for each provider module * too long method names made 'i' a dummy variable
* pyling plugins improvementsMichal Minar2013-01-233-13/+95
| | | | | | | | | added allow_cmpi_logging module for suppressing errors concerning logging statements disabled our custom C9904 warning message because of providers like CapabilitiesProvider having no prefix - but still checking for consistency in module name and class name
* Fixed traceback on checking class with constants inside.Jan Safranek2013-01-231-0/+2
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-232-1/+25
|\
| * Account: add wrapper script to enable setting proper selinux context0.0.17Roman Rakus2013-01-172-1/+25
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Suppress common CIMProvider2 messages before analyzing other errors.Jan Safranek2013-01-231-1/+1
| |
* | Ignore 'W0613: unused argument' in entry methods from CIMOM.Jan Safranek2013-01-231-0/+12
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-1615-1/+939
|\
| * Use ModuleGroupName according to used library nameRoman Rakus2013-01-161-1/+1
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Hardware: Remove wrong install0.0.16Roman Rakus2013-01-161-2/+0
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * New provider: hardwareTomas Smetana2013-01-155-0/+442
| |\
| | * New provider: HardwareTomas Smetana2013-01-155-0/+442
| | |
| * | Account: testsRoman Rakus2013-01-149-0/+498
| |/ | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Added cim2uml tool, which creates instance diagram in PlantUML syntax.Jan Safranek2013-01-161-0/+273
| |
* | Check 'Implemeted' qualifier and show all implemented properties/methods as ↵Jan Safranek2013-01-114-8/+28
|/ | | | local.
* Allow experimental classes and version updates in MOF files.Jan Safranek2013-01-091-2/+2
|
* Fixed case switch, 'break' is for loops only.Jan Safranek2013-01-091-2/+2
|
* Allow more mofs to be registered by openlmi-mof-register.Jan Safranek2013-01-091-14/+30
| | | | The script is backward compatible, i.e. some ugly bash arrays needed to be used.
* Merge branch 'devel'Roman Rakus2012-12-201-1/+72
|\
| * Account: Allow to create instance of LMI_MemberOfGroupRoman Rakus2012-12-201-1/+72
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Allow numbers in class name in OpenLMIMacros.cmakeRadek Novacek2012-12-141-1/+1
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-12-131-1/+76
|\|
| * Account: Allow to delete instance of LMI_MemberOfGroupRoman Rakus2012-12-111-1/+76
| | | | | | | | | | | | Effectively it means this allows to remove user from group Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | fixed test selection, when launching tests with runMichal Minar2012-12-137-261/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular tests can be selected like this: * # runs all tests defined by this test case ./run.py -- TestSoftwarePackage * # runs single test defined by TestSoftwarePackage TestCase ./run.py -- TestSoftwarePackage.test_get_instance added comments for each assert made results of tests a lot more readable different file mode for symlinks passes like in rpm -V increased number of packages for testing to 5
* | more software test bugfixesMichal Minar2012-12-111-2/+4
|/ | | | | * handle '*' in yum repolist * select pkg database from 5 times required number of packages
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-12-112-0/+671
|\