diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-04-02 10:56:41 +0200 |
---|---|---|
committer | Pavel Březina <pbrezina@redhat.com> | 2014-04-02 10:56:41 +0200 |
commit | 9e29e1dd9394fdb2fe8a8673efc81ab8905df37b (patch) | |
tree | 90989eae596e1b62203b42f41910ff57e76b0aed /mof | |
parent | 8de08ef441e540a07ad7065e906379d8498c7050 (diff) | |
download | openlmi_sssd-9e29e1dd9394fdb2fe8a8673efc81ab8905df37b.tar.gz openlmi_sssd-9e29e1dd9394fdb2fe8a8673efc81ab8905df37b.tar.xz openlmi_sssd-9e29e1dd9394fdb2fe8a8673efc81ab8905df37b.zip |
CIM schema v3
Diffstat (limited to 'mof')
-rw-r--r-- | mof/LMI_SSSD.mof | 117 |
1 files changed, 76 insertions, 41 deletions
diff --git a/mof/LMI_SSSD.mof b/mof/LMI_SSSD.mof index 0ec9f8e..52e96e4 100644 --- a/mof/LMI_SSSD.mof +++ b/mof/LMI_SSSD.mof @@ -18,6 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Description("System Security Services Daemon")] class LMI_SSSDService : CIM_Service { [Description("Default domain name for all names without a domain name @@ -25,10 +27,11 @@ class LMI_SSSDService : CIM_Service string DefaultDomainSuffix; } -[Abstract] -class LMI_SSSDProcess +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Abstract, Description("Base class for SSSD's components.")] +class LMI_SSSDComponent : CIM_ManagedElement { - [Key] + [Key, Description("Name of the component.")] string Name; [BitValues{"Reserved", @@ -54,62 +57,52 @@ class LMI_SSSDProcess otherwise.")] boolean IsEnabled; - [Description("Permanently change debug level of running process.")] + [Description("Permanently change debug level of this component.")] uint32 SetDebugLevelPermanently([In] uint16 debug_level); - [Description("Change debug level of running process but switch it back + [Description("Change debug level of thi component 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 + [Description("Enable this component. 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 + [Description("Disable this component. SSSD has to be restarted in order this change to take any effect.")] uint32 Disable(); }; -[Association] -class LMI_SSSDAvailableResponder +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Description("SSSD responder.")] +class LMI_SSSDResponder : LMI_SSSDComponent { - LMI_SSSDService REF SSSD; - LMI_SSSDResponder REF Responder; -} - -class LMI_SSSDResponder : LMI_SSSDProcess -{ - -} -[Association] -class LMI_SSSDAvailableBackend -{ - LMI_SSSDService REF SSSD; - LMI_SSSDBackend REF Backend; } -class LMI_SSSDBackend : LMI_SSSDProcess +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Description("SSSD domain.")] +class LMI_SSSDDomain : LMI_SSSDComponent { + [Description("List of primary servers for this domain.")] + string PrimaryServers[]; + + [Description("List of backup servers for this domain.")] + string BackupServers[]; + + [Description("Minimum UID and GID value for this domain.")] uint32 MinId; + + [Description("Maximum UID and GID value for this domain.")] uint32 MaxId; + + [Description("True if this domain supports enumeration.")] boolean Enumerate; - boolean SubdomainEnumerate; + + [Description("True if objects from this domain can be accessed only via + fully qualified name.")] boolean UseFullyQualifiedNames; -} - -[Association] -class LMI_SSSDAvailableDomain -{ - LMI_SSSDBackend REF Backend; - LMI_SSSDDomain REF Domain; -} - -class LMI_SSSDDomain -{ - [Key] - string Name; - + [Description("The Kerberos realm this domain is configured with.")] string Realm; @@ -121,8 +114,50 @@ class LMI_SSSDDomain [Description("The output format this domain uses.")] string OutputFormat; +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Description("Autodiscovered trusted subdomain of SSSD domain.")] +class LMI_SSSDSubdomain : LMI_SSSDDomain +{ + +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), + Description("Data provider.")] +class LMI_SSSDDataProvider +{ + [Key, Description("Name of data class handled by the provider.")] + string Name; - [Description("True if the domain is an autodiscovered subdomain, " - "false otherwise.")] - boolean IsSubdomain; + [Key, Description("Name of the module that provides desired data.")] + string Provider; +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), Association] +class LMI_SSSDAvailableResponder +{ + LMI_SSSDService REF SSSD; + LMI_SSSDResponder REF Responder; +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), Association] +class LMI_SSSDAvailableDomain +{ + LMI_SSSDService REF SSSD; + LMI_SSSDDomain REF Domain; +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), Association] +class LMI_SSSDAvailableSubdomain +{ + LMI_SSSDDomain REF Domain; + LMI_SSSDSubdomain REF Subdomain; +} + +[Version("0.1.0"), Provider("cmpi:cmpiLMI_SSSD"), Association] +class LMI_SSSDDomainDataProvider +{ + LMI_SSSDDomain REF Domain; + LMI_SSSDDataProvider REF DataProvider; } |