blob: 7d58b2baa08313de7cd52895c5317782abccd5e1 [file] [log] [blame]
Zbigniew Kurzynski78158632019-11-05 12:57:37 +01001<?xml version="1.0" encoding="UTF-8"?>
2<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
3
4 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
5 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
6 </edmx:Reference>
7 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
8 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
9 </edmx:Reference>
10 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
11 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
12 </edmx:Reference>
13 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
14 <edmx:Include Namespace="Resource"/>
15 <edmx:Include Namespace="Resource.v1_0_0"/>
16 </edmx:Reference>
17
18 <edmx:DataServices>
19
20 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemAccountService">
21 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
22 </Schema>
23
24 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemAccountService.v1_0_0">
25 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
26 <Annotation Term="Redfish.Release" String="1.0"/>
27
James Feistbbf1a932020-09-22 17:09:03 -070028 <ComplexType Name="AuthMethodsConfig" BaseType="Resource.OemObject">
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010029 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
30 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
31 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
32
33 <Property Name="BasicAuth" Type="Edm.Boolean">
34 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
35 <Annotation Term="OData.Description" String="Indicates whether BasicAuth authorization is enabled."/>
36 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether BasicAuth authorization is enabled."/>
37 </Property>
38
39 <Property Name="Cookie" Type="Edm.Boolean">
40 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
41 <Annotation Term="OData.Description" String="Indicates whether Cookie authorization is enabled."/>
42 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether Cookie authorization is enabled."/>
43 </Property>
44
45 <Property Name="SessionToken" Type="Edm.Boolean">
46 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
47 <Annotation Term="OData.Description" String="Indicates whether SessionToken authorization is enabled."/>
48 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether SessionToken authorization is enabled."/>
49 </Property>
50
51 <Property Name="XToken" Type="Edm.Boolean">
52 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
53 <Annotation Term="OData.Description" String="Indicates whether XToken authorization is enabled."/>
54 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether XToken authorization is enabled."/>
55 </Property>
Zbigniew Kurzynski501f1e52019-10-02 11:22:11 +020056
57 <Property Name="TLS" Type="Edm.Boolean">
58 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
59 <Annotation Term="OData.Description" String="Indicates whether TLS authorization is enabled."/>
60 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether TLS authorization is enabled."/>
61 </Property>
Zbigniew Kurzynski78158632019-11-05 12:57:37 +010062 </ComplexType>
63
64 <!--Base entity type for array members-->
65 <EntityType Name="AccountService" BaseType="Resource.OemObject" Abstract="true">
66 <Annotation Term="OData.Description" String="OEM Extension for AccountService"/>
67 <Annotation Term="OData.LongDescription" String="OEM Extension for AccountService providing info about TLS Auth."/>
68
69 <Property Name="AuthMethods" Type="OemAccountService.v1_0_0.AuthMethodsConfig">
70 <Annotation Term="OData.Description" String="Authorization Methods configuration."/>
71 <Annotation Term="OData.LongDescription" String="Configuration describing which auth methods are enabled."/>
72 </Property>
73 </EntityType>
74 </Schema>
75
76 </edmx:DataServices>
77</edmx:Edmx>