blob: 25311b438485197e9604cc6e202ecc267d5e2a4b [file] [log] [blame]
Ed Tanous710adfc2017-10-24 17:04:52 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: Bios v1.0.1 -->
5<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
8<!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
9<!--# 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28 <edmx:Include Namespace="Resource"/>
29 <edmx:Include Namespace="Resource.v1_0_0"/>
30 </edmx:Reference>
31
32 <edmx:DataServices>
33
34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Bios">
35
36 <EntityType Name="Bios" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
38 <Annotation Term="OData.Description" String="Bios contains properties surrounding a BIOS Attribute Registry (where the system-specific BIOS attributes are described) and the Actions needed to perform changes to BIOS settings, which typically require a system reset to apply."/>
39 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent BIOS attributes for a Redfish implementation."/>
40 <Annotation Term="Capabilities.InsertRestrictions">
41 <Record>
42 <PropertyValue Property="Insertable" Bool="false"/>
43 </Record>
44 </Annotation>
45 <Annotation Term="Capabilities.UpdateRestrictions">
46 <Record>
47 <PropertyValue Property="Updatable" Bool="true"/>
48 <Annotation Term="OData.Description" String="The BIOS resource can be updated to change the value of the BIOS properties available in the Attribute Registry."/>
49 </Record>
50 </Annotation>
51 <Annotation Term="Capabilities.DeleteRestrictions">
52 <Record>
53 <PropertyValue Property="Deletable" Bool="false"/>
54 </Record>
55 </Annotation>
56 </EntityType>
57
58 <Action Name="ResetBios" IsBound="true">
59 <Parameter Name="Bios" Type="Bios.v1_0_0.Actions"/>
60 <Annotation Term="OData.Description" String="This action is used to reset the BIOS attributes to default."/>
61 <Annotation Term="OData.LongDescription" String="This action shall perform a reset of the BIOS attributes to teir default values."/>
62 </Action>
63
64 <Action Name="ChangePassword" IsBound="true">
65 <Parameter Name="Bios" Type="Bios.v1_0_0.Actions"/>
66 <Parameter Name="PasswordName" Type="Edm.String" Nullable="false">
67 <Annotation Term="OData.Description" String="The name of the BIOS password to change."/>
68 <Annotation Term="OData.LongDescription" String="This defines the BIOS password name to change. For instance, this could be the AdminPassword or UserPassword."/>
69 </Parameter>
70 <Parameter Name="OldPassword" Type="Edm.String" Nullable="false">
71 <Annotation Term="OData.Description" String="The value of the existing password."/>
72 <Annotation Term="OData.LongDescription" String="This defines the value of the existing BIOS password that is about to be changed."/>
73 </Parameter>
74 <Parameter Name="NewPassword" Type="Edm.String" Nullable="false">
75 <Annotation Term="OData.Description" String="The value of the new BIOS password."/>
76 <Annotation Term="OData.LongDescription" String="This defines the value of the new BIOS password."/>
77 </Parameter>
78 <Annotation Term="OData.Description" String="This action is used to change the BIOS passwords."/>
79 <Annotation Term="OData.LongDescription" String="This action shall perform a change of the selected BIOS password."/>
80 </Action>
81
82 </Schema>
83
84 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Bios.v1_0_0">
85
86 <EntityType Name="Bios" BaseType="Bios.Bios">
87 <Property Name="AttributeRegistry" Type="Edm.String">
88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
89 <Annotation Term="OData.Description" String="The Resource ID of the Attribute Registry for the BIOS Attributes resource."/>
90 <Annotation Term="OData.LongDescription" String="The reference to the Attribute Registry that lists the metadata describing the BIOS attribute settings in this resource."/>
91 </Property>
92 <Property Name="Actions" Type="Bios.v1_0_0.Actions" Nullable="false">
93 <Annotation Term="OData.Description" String="The available actions for this resource."/>
94 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
95 </Property>
96 <Property Name="Attributes" Type="Bios.v1_0_0.Attributes" Nullable="false">
97 <Annotation Term="OData.Description" String="This is the manufacturer/provider specific list of BIOS attributes."/>
98 <Annotation Term="OData.LongDescription" String="BIOS Attribute settings appear as additional properties in this object, and can be looked up in the Attribute Registry by their AttributeName."/>
99 </Property>
100 </EntityType>
101
102 <ComplexType Name="Actions">
103 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
104 <Property Name="Oem" Type="Bios.v1_0_0.OemActions" Nullable="false"/>
105 </ComplexType>
106
107 <ComplexType Name="OemActions">
108 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
109 </ComplexType>
110
111 <ComplexType Name="Attributes">
112 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
113 <Annotation Term="Redfish.DynamicPropertyPatterns">
114 <Collection>
115 <Record>
116 <PropertyValue Property="Pattern" String="^[A-Za-z][A-Za-z0-9_]+$"/>
117 <PropertyValue Property="Type" String="Edm.Primitive"/>
118 </Record>
119 </Collection>
120 </Annotation>
121 </ComplexType>
122
123 </Schema>
124
125 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Bios.v1_0_1">
126 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
127 <EntityType Name="Bios" BaseType="Bios.v1_0_0.Bios"/>
128 </Schema>
129
130 </edmx:DataServices>
131</edmx:Edmx>