diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-03-31 12:33:03 +0200 |
---|---|---|
committer | Pavel Březina <pbrezina@redhat.com> | 2014-03-31 12:33:03 +0200 |
commit | 8de08ef441e540a07ad7065e906379d8498c7050 (patch) | |
tree | 69108e25fabfe8fd948a140c2752e2c41afc23a2 | |
parent | 0d1ee0b1a3370dbec920f1d679cc8a6d075b8fb8 (diff) | |
download | openlmi_sssd-8de08ef441e540a07ad7065e906379d8498c7050.tar.gz openlmi_sssd-8de08ef441e540a07ad7065e906379d8498c7050.tar.xz openlmi_sssd-8de08ef441e540a07ad7065e906379d8498c7050.zip |
SSSD CIM Schema - associations
-rw-r--r-- | mof/LMI_SSSD.mof | 92 |
1 files changed, 53 insertions, 39 deletions
diff --git a/mof/LMI_SSSD.mof b/mof/LMI_SSSD.mof index 6670b36..0ec9f8e 100644 --- a/mof/LMI_SSSD.mof +++ b/mof/LMI_SSSD.mof @@ -18,23 +18,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -class LMI_SSSD_Error +class LMI_SSSDService : CIM_Service { - [Static] - string GetMessage(uint32 code); -}; - -class LMI_SSSD -{ - [Static] - uint32 GetServices([Out] LMI_SSSD_Service REF services[]); - - [Static] - uint32 GetBackends([Out] LMI_SSSD_Backend REF backends[]); -}; + [Description("Default domain name for all names without a domain name + component.")] + string DefaultDomainSuffix; +} [Abstract] -class LMI_SSSD_Process +class LMI_SSSDProcess { [Key] string Name; @@ -54,32 +46,66 @@ class LMI_SSSD_Process "Trace libraries", "Trace internal", "Trace all", - "Reserved"}] + "Reserved"}, + Description("Debug level used within this process.")] uint16 DebugLevel; - uint32 SetDebugLevel([In] uint16 debug_level); -}; + [Description("True if this process is enabled (running) and false + otherwise.")] + boolean IsEnabled; -[Abstract] -class LMI_SSSD_OptionalProcess : LMI_SSSD_Process -{ - boolean IsEnabled; + [Description("Permanently change debug level of running process.")] + uint32 SetDebugLevelPermanently([In] uint16 debug_level); + [Description("Change debug level of running process but switch it back + to original value when SSSD is restarted.")] + uint32 SetDebugLevelTemporarily([In] uint16 debug_level); + + [Description("Enable this process. SSSD has to be restarted in order + this change to take any effect.")] uint32 Enable(); + + [Description("Disable this process. SSSD has to be restarted in order + this change to take any effect.")] uint32 Disable(); }; -class LMI_SSSD_Monitor : LMI_SSSD_Process +[Association] +class LMI_SSSDAvailableResponder { + LMI_SSSDService REF SSSD; + LMI_SSSDResponder REF Responder; +} -}; +class LMI_SSSDResponder : LMI_SSSDProcess +{ -class LMI_SSSD_Service : LMI_SSSD_OptionalProcess +} + +[Association] +class LMI_SSSDAvailableBackend { + LMI_SSSDService REF SSSD; + LMI_SSSDBackend REF Backend; +} -}; +class LMI_SSSDBackend : LMI_SSSDProcess +{ + uint32 MinId; + uint32 MaxId; + boolean Enumerate; + boolean SubdomainEnumerate; + boolean UseFullyQualifiedNames; +} + +[Association] +class LMI_SSSDAvailableDomain +{ + LMI_SSSDBackend REF Backend; + LMI_SSSDDomain REF Domain; +} -class LMI_SSSD_Domain +class LMI_SSSDDomain { [Key] string Name; @@ -99,16 +125,4 @@ class LMI_SSSD_Domain [Description("True if the domain is an autodiscovered subdomain, " "false otherwise.")] boolean IsSubdomain; -}; - -class LMI_SSSD_Provider -{ - string Type; - string Provider; -}; - -class LMI_SSSD_Backend : LMI_SSSD_OptionalProcess -{ - LMI_SSSD_Provider REF providers[]; - LMI_SSSD_Domain REF domains[]; -}; +} |