summaryrefslogtreecommitdiffstats
path: root/src/power
Commit message (Collapse)AuthorAgeFilesLines
* libopenlmi: rename back to openlmicommon and get versioning rightJan Synacek2014-05-061-1/+1
|
* libopenlmi: minor fixes and improvementsJan Synacek2014-05-064-12/+12
|
* libopenlmi: reorganize and gatherJan Synacek2014-04-309-28/+15
| | | | | | | Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
* power: use proper poweroff/reboot commands with sysvinitRadek Novacek2014-04-101-3/+3
| | | | The commands/options that were used are not compatible with sysvinit.
* power: check if connection to Logind DBus is validRadek Novacek2014-04-101-9/+10
|
* Updated copyright yearsPeter Schiffer2014-01-169-9/+9
| | | | Updated copyright years to include new year 2014.
* Remove trailing spacesPeter Schiffer2014-01-163-99/+99
| | | | This patch removes trailing spaces from source files.
* power: Always init provider when startingRadek Novacek2013-12-172-6/+33
| | | | | | Power provider didn't call power_ref to init itself when enumerating some "static" objects like LMI_HostedPowerManagementService. But it has to be called because of obtaining hostname from ComputerSystem instance.
* power: Use logind instead of upowerRadek Novacek2013-11-042-68/+143
|
* power: handle memory allocation failures properlyRadek Novacek2013-11-044-4/+30
|
* Add lmi_get_computer_system function and fix lmi_get_system_nameRadek Novacek2013-10-318-51/+45
| | | | | | | | | | | | | | PG_ComputerSystem has different method how to get hostname than our providers. In order to create the associations to this class we need to enumerate it. The downside is that all providers must supply CMPIContext to the lmi_init function. New function lmi_get_computer_system returns CMPIObjectPath to the configured CIM_ComputerSystem subclass instance. This object should be used in all references with ComputerSystem. Function lmi_get_system_name has been altered to return same value as ComputerSystem "Name" property.
* cmake: don't use hardcoded pathsRadek Novacek2013-10-231-1/+1
| | | | | | | Path to the qualifiers and jobs mofs was hardcoded, now it's a variable. There is now also a variable for openlmi-mof-register script - this fixes (un)register-Provider targets.
* Rework documentation.Jan Safranek2013-10-1811-588/+0
| | | | | | | | | | - Everything is in openlmi-providers/doc/admin directory. - 'make doc' automatically builds documentation of all enabled providers. - Documentation shares one 'conf.py' for sphinx. - All documentation uses the same directory structure. There is only one CMakefile.txt to generate all the docs.
* power: Disable debug print to stderrRadek Novacek2013-10-171-3/+0
|
* power: Fix InstanceIDs to follow OpenLMI standard schemeRadek Novacek2013-10-175-7/+21
|
* power: Fetch definition of Implemented qualifier to konkretcmpiRadek Novacek2013-10-171-0/+1
|
* power: Fix memory leakRadek Novacek2013-10-172-0/+2
|
* power: Replace fprintf with debug()Radek Novacek2013-10-171-4/+6
|
* power: Add documentation for power providerRadek Novacek2013-10-1711-0/+588
|
* power: Fix crash in power providerRadek Novacek2013-09-191-1/+2
|
* Call lmi_init function from providersRadek Novacek2013-09-192-1/+9
|
* Fix for cim-schema > 2.33Radek Novacek2013-09-031-0/+27
| | | | There are some new methods in CIM_ConcreteJob
* power: various improvementsRadek Novacek2013-07-263-1/+56
| | | | | | * class versions in the mof file * profile registration * selinux wrapper
* power: Remove debugging signal handlingRadek Novacek2013-07-251-22/+0
|
* Silence many compilation warningsRadek Novacek2013-07-251-1/+5
| | | | Mostly deprecation warnings and wrong 'const' handling.
* Return list of CIM classes from konkretcmpi_generate macroRadek Novacek2013-07-231-0/+1
| | | | This list will be used by profile registration.
* Adapt for KonkretCMPI changes in EmbeddedInstancesRadek Novacek2013-07-012-4/+4
| | | | | | KonkretCMPI was recently changed to handle EmbeddedInstances as KInstance type instead of KString, which is much more convinient to use, but the generated sources must be sometimes fixed.
* power: fix undefined symbols in power provider0.0.23Radek Novacek2013-05-201-13/+13
| | | | | Previous commit renamed LMI_ConcreteJob to LMI_PowerConcreteJob but didn't rename some symbols in power.c causing compilation to fail.
* power: Rename LMI_ConcreteJob to LMI_PowerConcreteJobRadek Novacek2013-05-201-37/+35
| | | | | | There is collision with LMI_ConcreteJob provided by 30_LMI_Jobs.mof. This is just workaround, proper fix would be to use the jobs properly. The jobs in power provider were just an attempt and need to be fixed.
* renamed mof files according to LMI conventionMichal Minar2013-04-221-1/+1
| | | | | | | | | | | | | | | 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.
* Happy New Year! (better later than never)Jan Synacek2013-03-138-8/+8
|
* Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-128-80/+104
|
* Change project name from Cura to OpenLMIRadek Novacek2012-10-221-3/+3
|
* Make destination of .reg adjustable in CuraMacros0.0.3Radek Novacek2012-08-291-1/+1
| | | | | If CuraMacros are used by different provider it needs to change location where the .reg is installed.
* Define methods from experimental schemaRadek Novacek2012-08-293-0/+45
| | | | | Add missing methods to fix undefined references. All of the methods return NOT_SUPPORTED error
* Rename HostedService classes to avoid duplicationRadek Novacek2012-08-281-31/+31
| | | | | | | Both Power and Account providers defined LMI_HostedService class. It confuses sfcbd daemon, so the classes has been renamed based on which service they provide (HostedPowerManagementService and HostedAccountManagementService).
* Rename prefix from Cura_ to LMI_Radek Novacek2012-08-288-285/+285
|
* Add 'Cura_' to provider library nameRadek Novacek2012-08-021-1/+1
|
* Add GPLv2 license file and GPLv2+ headers to all filesRadek Novacek2012-08-028-0/+133
|
* Replace all Linux_ prefixes with Cura_ prefixes.Radek Novacek2012-07-318-285/+285
|
* power: use get_system_creation_class_name function in the providerRadek Novacek2012-07-304-7/+5
|
* Make provider optional using cmake optionsRadek Novacek2012-07-301-0/+3
|
* Fix typo in get_system_creation_class_name method nameRadek Novacek2012-07-302-4/+4
|
* power: fix finding Linux_ComputerSystem in referencesRadek Novacek2012-07-272-40/+16
|
* Unify logging through all providersRadek Novacek2012-07-279-109/+3
| | | | | Needs to be ported to sfcb/pegasus standard logging, using stderr for now.
* Fix few errors in CuraMacros.cmake and power cmakeRadek Novacek2012-07-251-2/+2
|
* power: correctly register and installRadek Novacek2012-07-241-6/+4
|
* power: check if upower and systemctl are installedRadek Novacek2012-07-241-1/+13
|
* Remove src/ subdirectory from power/Radek Novacek2012-07-241-70/+0
|
* Move provider-register to top level directoryRadek Novacek2012-07-231-755/+0
|