From 2540525cf84d181007fe517275cb4f65db4a2152 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Tue, 28 Aug 2012 14:35:53 +0200 Subject: account: format mof file same as other mofs --- mof/LMI_Account.mof | 189 ++++++++++++++++++++++++++-------------------------- 1 file changed, 94 insertions(+), 95 deletions(-) (limited to 'mof') diff --git a/mof/LMI_Account.mof b/mof/LMI_Account.mof index ba68aff..ce89884 100644 --- a/mof/LMI_Account.mof +++ b/mof/LMI_Account.mof @@ -20,214 +20,213 @@ // [ Description("Class representing Linux Account"), - Provider("cmpi:Account") + Provider("cmpi:cmpiCura_Account") ] -class LMI_Account : CIM_Account +class LMI_Account: CIM_Account { - [Description("User's home directory")] + [ Description("User's home directory") ] string HomeDirectory; - [Description("User's login shell")] + [ Description("User's login shell") ] string LoginShell; - [Description("The date when was password last changed")] + [ Description("The date when was password last changed") ] datetime PasswordLastChange; - [Description("The minimal date when can be password changed")] + [ Description("The minimal date when can be password changed") ] datetime PasswordMinLifetime; - [Description("The maximal date when can be password changed")] + [ Description("The maximal date when can be password changed") ] datetime PasswordMaxLifetime; }; -[ Description("LMI_AccountManagementService creates, manages, and if necessary destroys Linux Accounts on behalf of other SecuritySerices."), - Provider("cmpi:Account") +[ Description("LMI_AccountManagementService creates, manages, and if necessary " + "destroys Linux Accounts on behalf of other SecuritySerices."), + Provider("cmpi:cmpiCura_Account") ] -class LMI_AccountManagementService : CIM_AccountManagementService +class LMI_AccountManagementService: CIM_AccountManagementService { }; -[ Provider("cmpi:Account") ] -class LMI_AccountManagementCapabilities : CIM_AccountManagementCapabilities +[ Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountManagementCapabilities: CIM_AccountManagementCapabilities { }; [ Association, - Provider("cmpi:Account") ] -class LMI_AccountOnSystem : CIM_AccountOnSystem + Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountOnSystem: CIM_AccountOnSystem { - [ Override ("GroupComponent"), - Min ( 1 ), - Max ( 1 ), - Description ( "The hosting System." )] + [ Override("GroupComponent"), Min(1), Max(1), + Description("The hosting System.") ] CIM_ComputerSystem REF GroupComponent; - [ Override ("PartComponent"), - Description ( "The managed Account on the System" )] + [ Override("PartComponent"), + Description("The managed Account on the System") ] LMI_Account REF PartComponent; }; -[ Provider("cmpi:Account") ] -class LMI_AccountSettingData : CIM_AccountSettingData +[ Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountSettingData: CIM_AccountSettingData { }; -[ Provider("cmpi:Account") ] -class LMI_Identity : CIM_Identity +[ Provider("cmpi:cmpiCura_Account") ] +class LMI_Identity: CIM_Identity { }; -[ Provider("cmpi:Account") ] -class LMI_Group : CIM_Group +[ Provider("cmpi:cmpiCura_Account") ] +class LMI_Group: CIM_Group { }; [ Association, - Provider("cmpi:Account") ] -class LMI_AssignedAccountIdentity : CIM_AssignedIdentity + Provider("cmpi:cmpiCura_Account") ] +class LMI_AssignedAccountIdentity: CIM_AssignedIdentity { - [ Override ("IdentityInfo"), - Description ( "The managed Identity" ) ] + [ Override("IdentityInfo"), + Description("The managed Identity") ] LMI_Identity REF IdentityInfo; - [ Override ("ManagedElement"), - Description ( "The managed Account on the System" ) ] + [ Override("ManagedElement"), + Description("The managed Account on the System") ] LMI_Account REF ManagedElement; }; [ Association, - Provider("cmpi:Account") ] -class LMI_AssignedGroupIdentity : CIM_AssignedIdentity + Provider("cmpi:cmpiCura_Account") ] +class LMI_AssignedGroupIdentity: CIM_AssignedIdentity { - [ Override ("IdentityInfo"), - Description ( "The managed Identity" ) ] + [ Override("IdentityInfo"), + Description("The managed Identity") ] LMI_Identity REF IdentityInfo; - [ Override ("ManagedElement"), - Description ( "The managed Group on the System" ) ] + [ Override("ManagedElement"), + Description("The managed Group on the System") ] LMI_Group REF ManagedElement; }; [ Association, - Provider("cmpi:Account") ] -class LMI_AccountManagementServiceCapabilities : CIM_ElementCapabilities + Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountManagementServiceCapabilities: CIM_ElementCapabilities { - [ Override ("ManagedElement"), - Description ( "The Central Instance of Account Management" ) ] + [ Override("ManagedElement"), + Description("The Central Instance of Account Management") ] LMI_AccountManagementService REF ManagedElement; - [ Override ("Capabilities"), - Description ( "The supported Capabilities for managing Linux Accounts" ) ] + [ Override("Capabilities"), + Description("The supported Capabilities for managing Linux Accounts") ] LMI_AccountManagementCapabilities REF Capabilities; }; -[ Provider("cmpi:Account") ] -class LMI_EnabledAccountCapabilities : CIM_EnabledLogicalElementCapabilities +[ Provider("cmpi:cmpiCura_Account") ] +class LMI_EnabledAccountCapabilities: CIM_EnabledLogicalElementCapabilities { }; [ Association, - Provider("cmpi:Account") ] -class LMI_AccountCapabilities : CIM_ElementCapabilities + Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountCapabilities: CIM_ElementCapabilities { - [ Override ("ManagedElement"), - Description ( "The managed Account" ) ] + [ Override("ManagedElement"), + Description("The managed Account") ] LMI_Account REF ManagedElement; - [ Override ("Capabilities"), - Description ( "The supported Capabilities for changing the state of the Linux Account" ) ] + [ Override("Capabilities"), + Description("The supported Capabilities for changing the state of the " + "Linux Account") ] LMI_EnabledAccountCapabilities REF Capabilities; }; [ Association, - Provider("cmpi:Account") ] -class LMI_AccountManagementServiceSettingData : CIM_ElementSettingData + Provider("cmpi:cmpiCura_Account") ] +class LMI_AccountManagementServiceSettingData: CIM_ElementSettingData { - [ Override ("ManagedElement"), - Description ( "The Central Instance of Account management" ) ] + [ Override("ManagedElement"), + Description("The Central Instance of Account management") ] LMI_AccountManagementService REF ManagedElement; - [ Override ("SettingData"), - Description ( "The default enforced setting for new Accounts" ) ] + [ Override("SettingData"), + Description("The default enforced setting for new Accounts") ] LMI_AccountSettingData REF SettingData; }; [ Association, - Provider("cmpi:Account") ] -class LMI_HostedService : CIM_HostedService + Provider("cmpi:cmpiCura_Account") ] +class LMI_HostedAccountManagementService: CIM_HostedService { - [ Override ("Antecedent"), - Description ( "The hosting System" ) ] + [ Override("Antecedent"), + Description("The hosting System") ] CIM_ComputerSystem REF Antecedent; - [ Override ("Dependent"), - Description ( "The Central Instance of Account management" ) ] + [ Override("Dependent"), + Description("The Central Instance of Account management") ] LMI_AccountManagementService REF Dependent; }; [ Association, - Provider("cmpi:Account") ] -class LMI_MemberOfGroup : CIM_MemberOfCollection + Provider("cmpi:cmpiCura_Account") ] +class LMI_MemberOfGroup: CIM_MemberOfCollection { - [ Override ("Collection"), - Description ( "The managed Group on the System" ) ] + [ Override("Collection"), + Description("The managed Group on the System") ] LMI_Group REF Collection; - [ Override ("Member"), - Description ( "The managed Identity" ) ] + [ Override("Member"), + Description("The managed Identity") ] LMI_Identity REF Member; }; [ Association, - Provider("cmpi:Account") ] -class LMI_OwningGroup : CIM_OwningCollectionElement + Provider("cmpi:cmpiCura_Account") ] +class LMI_OwningGroup: CIM_OwningCollectionElement { - [ Override ("OwningElement"), - Description ( "The hosting System" ) ] + [ Override("OwningElement"), + Description("The hosting System") ] CIM_ComputerSystem REF OwningElement; - [ Override ("OwnedElement"), - Description ( "The managed Group on the System" ) ] + [ Override("OwnedElement"), + Description("The managed Group on the System") ] LMI_Group REF OwnedElement; }; [ Association, - Provider("cmpi:Account") ] -class LMI_ServiceAffectsIdentity : CIM_ServiceAffectsElement + Provider("cmpi:cmpiCura_Account") ] +class LMI_ServiceAffectsIdentity: CIM_ServiceAffectsElement { - [ Override ("AffectingElement"), - Description ( "The Central Instance of Account management" ) ] + [ Override("AffectingElement"), + Description("The Central Instance of Account management") ] LMI_AccountManagementService REF AffectingElement; - [ Override ("AffectedElement"), - Description ( "The managed Identity" ) ] + [ Override("AffectedElement"), + Description("The managed Identity") ] LMI_Identity REF AffectedElement; }; [ Association, - Provider("cmpi:Account") ] -class LMI_SettingsDefineManagementCapabilities : CIM_SettingsDefineCapabilities + Provider("cmpi:cmpiCura_Account") ] +class LMI_SettingsDefineManagementCapabilities: CIM_SettingsDefineCapabilities { - [ Override ("GroupComponent"), - Description ( "The Account Management Capabilities" ) ] + [ Override("GroupComponent"), + Description("The Account Management Capabilities") ] LMI_AccountManagementCapabilities REF GroupComponent; - [ Override ("PartComponent"), - Description ( "The default enforced setting for new Accounts" ) ] + [ Override("PartComponent"), + Description("The default enforced setting for new Accounts") ] LMI_AccountSettingData REF PartComponent; }; [ Association, - Provider("cmpi:Account") ] -class LMI_SettingsDefineAccountCapabilities : CIM_SettingsDefineCapabilities + Provider("cmpi:cmpiCura_Account") ] +class LMI_SettingsDefineAccountCapabilities: CIM_SettingsDefineCapabilities { - [ Override ("GroupComponent"), - Description ( "The Account Capabilities" ) ] + [ Override("GroupComponent"), + Description("The Account Capabilities") ] LMI_EnabledAccountCapabilities REF GroupComponent; - [ Override ("PartComponent"), - Description ( "The default enforced setting for new Accounts" ) ] + [ Override("PartComponent"), + Description("The default enforced setting for new Accounts") ] LMI_AccountSettingData REF PartComponent; }; - -- cgit