| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This commit brings three basic static indication filters that should
make user's life easier. Also serves as an example.
|
|
|
|
| |
This is useful e.g. for indication filtering.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the Simple Identity Management Profile (DSP1034)
document the LMI_Account.UserPassword property should not contain
the password itself, no matter how encrypted it is. It should either
contain an array of zero elements when password has been set or
NULL when password is missing or not configured.
Another change this commit brings is a more precise behaviour
of LMI_Account.ModifyInstance() method. When the UserPassword
property is array of zero elements, no change regarding password
is made. This case was previously treated as a request for password
removal. The DSP1034 profile doesn't specify such scenario, let's
treat it the same way as the GetInstance() operation.
|
| |
|
|
|
|
|
| |
For the last addition of the LMI_JournalMessageLog.PositionToLastRecord()
method
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The logic of handling EOF is incompatible between journald API and
CIM_MessageLog model we use. The CIM_MessageLog.GetRecord() method
allows stepping to the next record after data retrieval but there's
no specific return code for the EOF case. And returning failure code
makes the client application think the whole data retrieval has failed
and thus throwing away the last record.
To work around this case, a new flag has been introduced to the
IterationIdentifier string, which is considered opaque to the client.
That way we return success from the GetRecord() method call and putting
a flag to the IterationIdentifier string so that any successive GetRecord()
method call properly fails without any data loss. Care is taken of the
case when a new message is logged between the GetRecord() calls.
This commit also adds the CIM_MessageLog.PositionToLastRecord() method
for convenient access to the end of the journal.
|
|
|
|
|
|
| |
- Add support for building service-legacy provider into cmake files (OFF by default)
- Add service-legacy mof file (no indications, builds with older cmake)
- Fix service enumeration (use chkconfig)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Updated copyright years to include new year 2014.
|
|
|
|
| |
This patch removes trailing spaces from source files.
|
|
|
|
|
|
| |
Renamed LMI_ATAProtocolEndpointProvider to
LMI_DiskDriveATAProtocolEndpointProvider so the name matches the pattern used in
all disk drive classes.
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveDeviceSAPImplementationProvider
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveATAPortProvider
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveSAPAvailableForElement
|
|
|
|
|
| |
New Provider:
* LMI_ATAProtocolEndpoint
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveElementSoftwareIdentity
|
|
|
|
|
|
|
|
|
| |
CIM_PowerManagementCapabilities class has the description decorator
poorly written from formatting point of view. There are missing
newlines, spaces, etc. This commit rewrites the doc and cleans it up.
It also removes non-implemented items from the PowerStatesSupported
valuemap.
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveSoftwareIdentity
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveSystemDeviceProvider
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveRealizes
|
|
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveProvider
Also, added missing config init to disk providers.
|
| |
|
|
|
|
|
|
|
| |
Added LMI_DiskPhysicalPackageContainer association between
LMI_DiskPhysicalPackage and LMI_Chassis.
Also, added default values for disk manufacturer and model.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It was impossible to remove user when its home directory was unable
to delete, e.g. either pointing to a bad location or inaccessible as
in not being mounted, etc. Even the "force" argument didn't help.
For this reason, any failure on homedir deletion is now ignored and
a warning is noted in the log. The particular error return code is
unused now but kept in the MOF file for compatibility, adding a note.
|
|
|
|
|
|
|
| |
When provider is disabled via WITH-PROVIDER=OFF in cmake, don't install
even the mof file.
Fixes ticket #170.
|
|
|
|
|
| |
New Provider:
* LMI_DiskPhysicalPackage
|
|
|
|
|
|
| |
With the recent change of the way classes are parsed out from MOF files
(commit 6d439c392595) the keyword "class" needs to be at the very beginning
of the line otherwise it gets ignored.
|
|
|
|
|
|
|
| |
A bit of cleanup, adding "Implemented(true)" qualifiers where applicable,
adding forgotten properties used by the provider and also added and modified
description for the methods we implement. Note that only modified descriptions
have been added, the unchanged ones get inherited just fine.
|
| |
|
| |
|
|
|
|
| |
Also contains simple test suite to test indications.
|
|
|
|
|
|
|
|
| |
This is a fully functional basic implementation of the provider.
Maximum number of enumerated instances is limited, see the code.
TODO list: https://fedorahosted.org/openlmi/ticket/142
|
|
|
|
|
|
| |
I missed this in previous commit
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
User deletetion is done by DeleteUser method. Added similar method
to delete a group.
Also do the check if the group isn't a primary group of a user.
Changed documentation accordingly.
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
| |
- don't use Linux_ classes
- fix ValueMaps
|
|
|
|
|
|
| |
libuser has a mechanism to encrypt password
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Separated PCI_Bridges from PCI_Devices and provided multiple additional
information related to PCI_Bridges.
New providers:
* LMI_PCIBridgeProvider
* LMI_PCIBridgeSystemDeviceProvider
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
| |
This method should be used insted of intrinsic DeleteInstace.
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
|
|
|
|
|
|
|
| |
Since disablement of SoftwareIdentity enumeration, there has been no way
to search for particular package (using [WC]QL query for example). This
serious limitation is now treated by this addition to
LMI_SoftwareInstallationService.
|
| |
|
|
|
|
|
| |
SFCB does not like the initial underscore charactes, which violate MOF syntax.
As consequence, the __MethodParameters classes are now in separate MOF file.
|
|
|
|
|
|
|
|
| |
Pegasus does not support instances of unknown classes, that's why we
need to define additional classes representing parameters of
asynchronous methods. These will be used in
LMI_ConcreteJob.JobOutParameters and CIM_InstMethodCall.MethodParameters
properties.
|
|
|
|
| |
Added information about tag, model, product name and UUID to the LMI_Chassis.
|