blob: 0ff91d211d22d746051b422970e450cd95d60c41 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: ExternalAccountProvider v1.0.1-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource"/>
25 <edmx:Include Namespace="Resource.v1_0_0"/>
26 </edmx:Reference>
27
28 <edmx:DataServices>
29
30 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ExternalAccountProvider">
31 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
32
33 <EntityType Name="ExternalAccountProvider" BaseType="Resource.v1_0_0.Resource" Abstract="true">
34 <Annotation Term="OData.Description" String="A remote service that can provide accounts for this manager to utilize for authentication."/>
35 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent resources that represent external user account services for this manager."/>
36 <Annotation Term="Capabilities.InsertRestrictions">
37 <Record>
38 <PropertyValue Property="Insertable" Bool="false"/>
39 </Record>
40 </Annotation>
41 <Annotation Term="Capabilities.UpdateRestrictions">
42 <Record>
43 <PropertyValue Property="Updatable" Bool="true"/>
44 <Annotation Term="OData.Description" String="External Account Providers can be updated to change the authentication and other writable properties."/>
45 </Record>
46 </Annotation>
47 <Annotation Term="Capabilities.DeleteRestrictions">
48 <Record>
49 <PropertyValue Property="Deletable" Bool="true"/>
50 <Annotation Term="OData.Description" String="External Account Providers are removed with a Delete operation."/>
51 </Record>
52 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080053 <Annotation Term="Redfish.Uris">
54 <Collection>
55 <String>/redfish/v1/AccountService/ExternalAccountProviders/{ExternalAccountProviderId}</String>
56 <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/ExternalAccountProviders/{ExternalAccountProviderId}</String>
57 </Collection>
58 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070059 </EntityType>
60
61 </Schema>
62
63 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ExternalAccountProvider.v1_0_0">
64 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
65
66 <EntityType Name="ExternalAccountProvider" BaseType="ExternalAccountProvider.ExternalAccountProvider">
67 <Property Name="AccountProviderType" Type="ExternalAccountProvider.v1_0_0.AccountProviderTypes">
68 <Annotation Term="Redfish.RequiredOnCreate"/>
69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
70 <Annotation Term="OData.Description" String="This property contains the type of external account provider this resource references."/>
71 <Annotation Term="OData.LongDescription" String="The value of this property shall be the type of external account provider referenced by this resource."/>
72 </Property>
73 <Property Name="ServiceEnabled" Type="Edm.Boolean">
74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
75 <Annotation Term="OData.Description" String="This indicates whether this service is enabled."/>
76 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this service is enabled."/>
77 </Property>
78 <Property Name="ServiceAddresses" Type="Collection(Edm.String)">
79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
80 <Annotation Term="OData.Description" String="This property contains the addresses of the user account providers this resource references. The format of this field depends on the Type."/>
81 <Annotation Term="OData.LongDescription" String="The value of this property shall be the addresses of the account providers this resource references. The format of this field depends on the Type of the ExternalAccountProvider. Each item in the array shall contain a single address. Services may define their own behavior for managing multiple addresses."/>
82 </Property>
83 <Property Name="Authentication" Type="ExternalAccountProvider.v1_0_0.Authentication">
84 <Annotation Term="OData.Description" String="This property contains the authentication information for the external account provider."/>
85 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the authentication information for the external account provider."/>
86 </Property>
87 <Property Name="LDAPService" Type="ExternalAccountProvider.v1_0_0.LDAPService">
88 <Annotation Term="OData.Description" String="This property contains additional mapping information needed to parse a generic LDAP service."/>
89 <Annotation Term="OData.LongDescription" String="The value of this property shall contain any additional mapping information needed to parse a generic LDAP service."/>
90 </Property>
91 <Property Name="RemoteRoleMapping" Type="Collection(ExternalAccountProvider.v1_0_0.RoleMapping)">
92 <Annotation Term="OData.Description" String="This property contains a collection of the mapping rules to convert the external account providers account information to the local Redfish Role."/>
93 <Annotation Term="OData.LongDescription" String="This property shall contain a collection of the mapping rules to convert the external account providers account information to the local Redfish Role."/>
94 </Property>
95 <Property Name="Links" Type="ExternalAccountProvider.v1_0_0.Links" Nullable="false">
96 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
97 <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
98 </Property>
99 <Property Name="Actions" Type="ExternalAccountProvider.v1_0_0.Actions" Nullable="false">
100 <Annotation Term="OData.Description" String="The available actions for this resource."/>
101 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
102 </Property>
103 </EntityType>
104
105 <EnumType Name="AccountProviderTypes">
106 <Member Name="RedfishService">
107 <Annotation Term="OData.Description" String="An external Redfish Service."/>
108 <Annotation Term="OData.LongDescription" String="The external account provider shall be a service conforming to the DMTF Redfish specification. The format of ServiceAddresses shall be a collection of URIs which corresponds to a Redfish AccountService entity."/>
109 </Member>
110 <Member Name="ActiveDirectoryService">
111 <Annotation Term="OData.Description" String="An external Active Directory Service."/>
112 <Annotation Term="OData.LongDescription" String="The external account provider shall be a service conforming to the Microsoft Active Directory Technical specification. The format of ServiceAddresses shall be a collection of FQDNs or Netbios names that references the set of domain servers for the Active Directory service."/>
113 </Member>
114 <Member Name="LDAPService">
115 <Annotation Term="OData.Description" String="A generic external LDAP Service."/>
116 <Annotation Term="OData.LongDescription" String="The external account provider shall be a service conforming to RFC4511. The format of ServiceAddresses shall be a collection of FQDNs that references the set of LDAP servers for the service."/>
117 </Member>
118 <Member Name="OEM">
119 <Annotation Term="OData.Description" String="An OEM specific external authentication or directory service."/>
120 </Member>
121 </EnumType>
122
123 <ComplexType Name="Authentication">
124 <Annotation Term="OData.Description" String="Contains the authentication information for the external service."/>
125 <Annotation Term="OData.LongDescription" String="This type shall contain all the required information to authenticate to the external service."/>
126 <Property Name="AuthenticationType" Type="ExternalAccountProvider.v1_0_0.AuthenticationTypes">
127 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
128 <Annotation Term="OData.Description" String="This property contains the type of authentication used to connect to the external account provider."/>
129 <Annotation Term="OData.LongDescription" String="The value of this property shall be the type of authentication used to connect to the external account provider."/>
130 </Property>
131 <Property Name="Username" Type="Edm.String" Nullable="false">
132 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
133 <Annotation Term="OData.Description" String="This property contains the user name for the account service."/>
134 <Annotation Term="OData.LongDescription" String="The value of this property shall be the user name for this account service."/>
135 </Property>
136 <Property Name="Password" Type="Edm.String">
137 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
138 <Annotation Term="OData.Description" String="This property is used with a PATCH or PUT to write the password for the account service. This property is null on a GET."/>
139 <Annotation Term="OData.LongDescription" String="The value of this property shall be the password for this account service. The value shall be null for GET requests."/>
140 </Property>
141 <Property Name="Token" Type="Edm.String">
142 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
143 <Annotation Term="OData.Description" String="This property is used with a PATCH or PUT to write the token for the account. This property is null on a GET."/>
144 <Annotation Term="OData.LongDescription" String="The value of this property shall be the token for this account service. The value shall be null for GET requests."/>
145 </Property>
146 <Property Name="KerberosKeytab" Type="Edm.String">
147 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
148 <Annotation Term="OData.Description" String="This property is used with a PATCH or PUT to write a base64 encoded version of the kerberos keytab for the account. This property is null on a GET."/>
149 <Annotation Term="OData.LongDescription" String="The value of this property shall be a base64 encoded version of the kerberos keytab for this account service. The value shall be null for GET requests."/>
150 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800151 <Property Name="Oem" Type="Resource.Oem" Nullable="false">
152 <Annotation Term="OData.Description" String="Oem extension object."/>
153 <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/>
154 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700155 </ComplexType>
156
157 <EnumType Name="AuthenticationTypes">
158 <Member Name="Token">
159 <Annotation Term="OData.Description" String="An opaque authentication token."/>
160 </Member>
161 <Member Name="KerberosKeytab">
162 <Annotation Term="OData.Description" String="A kerberos keytab."/>
163 </Member>
164 <Member Name="UsernameAndPassword">
165 <Annotation Term="OData.Description" String="Username and password combination."/>
166 </Member>
167 <Member Name="OEM">
168 <Annotation Term="OData.Description" String="An OEM specific authentication mechanism."/>
169 </Member>
170 </EnumType>
171
172 <ComplexType Name="LDAPService">
173 <Annotation Term="OData.Description" String="Contains settings for parsing a generic LDAP service."/>
174 <Annotation Term="OData.LongDescription" String="This type shall contain all the required settings for parsing a generic LDAP service."/>
175 <Property Name="SearchSettings" Type="ExternalAccountProvider.v1_0_0.LDAPSearchSettings">
176 <Annotation Term="OData.Description" String="This property contains the settings needed to search an external LDAP service."/>
177 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the settings needed to search an external LDAP service."/>
178 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800179 <Property Name="Oem" Type="Resource.Oem" Nullable="false">
180 <Annotation Term="OData.Description" String="Oem extension object."/>
181 <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/>
182 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700183 </ComplexType>
184
185 <ComplexType Name="LDAPSearchSettings">
186 <Annotation Term="OData.Description" String="Contains settings for searching a generic LDAP service."/>
187 <Annotation Term="OData.LongDescription" String="This type shall contain all the required settings for searching a generic LDAP service."/>
188 <Property Name="BaseDistinguishedNames" Type="Collection(Edm.String)">
189 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
190 <Annotation Term="OData.Description" String="The base distinguished names to use when searching the LDAP service."/>
191 <Annotation Term="OData.LongDescription" String="The value of this property shall be a collection of base distinguished names to use when searching the LDAP service."/>
192 </Property>
193 <Property Name="UsernameAttribute" Type="Edm.String">
194 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
195 <Annotation Term="OData.Description" String="The attribute name that contains the Username."/>
196 <Annotation Term="OData.LongDescription" String="The value of this property shall be the attribute name that contains the Username."/>
197 </Property>
198 <Property Name="GroupNameAttribute" Type="Edm.String">
199 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
200 <Annotation Term="OData.Description" String="The attribute name that contains the name of the Group."/>
201 <Annotation Term="OData.LongDescription" String="The value of this property shall be the attribute name that contains the name of the Group."/>
202 </Property>
203 <Property Name="GroupsAttribute" Type="Edm.String">
204 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
205 <Annotation Term="OData.Description" String="The attribute name that contains the Groups for a user."/>
206 <Annotation Term="OData.LongDescription" String="The value of this property shall be the attribute name that contains the Groups for a user."/>
207 </Property>
208 </ComplexType>
209
210 <ComplexType Name="RoleMapping">
211 <Annotation Term="OData.Description" String="Contains mapping rules to convert the external account providers account information to the local Redfish Role."/>
212 <Annotation Term="OData.LongDescription" String="This type shall contain mapping rules to convert the external account providers account information to the local Redfish Role."/>
213 <Property Name="RemoteGroup" Type="Edm.String">
214 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
215 <Annotation Term="OData.Description" String="This property is the name of the remote group (or in the case of a Redfish Service, remote role) that will be mapped to the local role referenced by this entity."/>
216 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the name of the remote group (or in the case of a Redfish Service, remote role) that will be mapped to the local role referenced by this entity."/>
217 </Property>
218 <Property Name="RemoteUser" Type="Edm.String">
219 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
220 <Annotation Term="OData.Description" String="This property is the name of the remote user that will be mapped to the local role referenced by this entity."/>
221 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the name of the remote user that will be mapped to the local role referenced by this entity."/>
222 </Property>
223 <Property Name="LocalRole" Type="Edm.String">
224 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
225 <Annotation Term="OData.Description" String="The name of the local role in which to map the remote user or group."/>
226 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the value of the RoleId property within a Role resource on this Redfish service in which to map the remote user or group."/>
227 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800228 <Property Name="Oem" Type="Resource.Oem" Nullable="false">
229 <Annotation Term="OData.Description" String="Oem extension object."/>
230 <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/>
231 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700232 </ComplexType>
233
234 <ComplexType Name="Links" BaseType="Resource.Links">
235 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
236 <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
237 </ComplexType>
238
239 <ComplexType Name="Actions">
240 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
241 <Annotation Term="OData.Description" String="The available actions for this resource."/>
242 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800243 <Property Name="Oem" Type="ExternalAccountProvider.v1_0_0.OemActions" Nullable="false">
244 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
245 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
246 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700247 </ComplexType>
248
249 <ComplexType Name="OemActions">
250 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
251 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
252 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
253 </ComplexType>
254 </Schema>
255
Ed Tanous530520e2019-01-02 13:41:37 -0800256 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ExternalAccountProvider.v1_0_1">
257 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
258 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
259 <EntityType Name="ExternalAccountProvider" BaseType="ExternalAccountProvider.v1_0_0.ExternalAccountProvider"/>
260 </Schema>
261
Jason M. Billsea4aa752018-06-05 13:29:11 -0700262 </edmx:DataServices>
263</edmx:Edmx>