Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | <!--# Redfish Schema: SecureBoot v1.0.4--> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | <!--# Copyright 2014-2018 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 21 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 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:Reference> |
| 26 | |
| 27 | <edmx:DataServices> |
| 28 | |
| 29 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot"> |
| 30 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 31 | |
| 32 | <EntityType Name="SecureBoot" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 33 | <Annotation Term="OData.Description" String="This resource contains UEFI Secure Boot information. It represents properties for managing the UEFI Secure Boot functionality of a system."/> |
| 34 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a UEFI Secure Boot resource for a Redfish implementation."/> |
| 35 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 36 | <Record> |
| 37 | <PropertyValue Property="Insertable" Bool="false"/> |
| 38 | </Record> |
| 39 | </Annotation> |
| 40 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 41 | <Record> |
| 42 | <PropertyValue Property="Updatable" Bool="true"/> |
| 43 | <Annotation Term="OData.Description" String="Secure Boot can be updated to enable or disable it."/> |
| 44 | </Record> |
| 45 | </Annotation> |
| 46 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 47 | <Record> |
| 48 | <PropertyValue Property="Deletable" Bool="false"/> |
| 49 | </Record> |
| 50 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 51 | <Annotation Term="Redfish.Uris"> |
| 52 | <Collection> |
| 53 | <String>/redfish/v1/Systems/{ComputerSystemId}/SecureBoot</String> |
| 54 | <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/SecureBoot</String> |
| 55 | </Collection> |
| 56 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 57 | </EntityType> |
| 58 | |
| 59 | <Action Name="ResetKeys" IsBound="true"> |
| 60 | <Parameter Name="SecureBoot" Type="SecureBoot.v1_0_0.Actions"/> |
| 61 | <Parameter Name="ResetKeysType" Type="SecureBoot.v1_0_0.ResetKeysType" Nullable="false"> |
| 62 | <Annotation Term="OData.Description" String="The type of keys to reset or delete."/> |
| 63 | <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of keys to reset or delete."/> |
| 64 | </Parameter> |
| 65 | <Annotation Term="OData.Description" String="This action is used to reset the Secure Boot keys."/> |
| 66 | <Annotation Term="OData.LongDescription" String="This action shall perform a reset of the Secure Boot key databases. The ResetAllKeysToDefault value shall reset the UEFI Secure Boot key databases to their default values. The DeleteAllKeys value shall delete the content of the UEFI Secure Boot key databases. The DeletePK value shall delete the content of the PK Secure boot key."/> |
| 67 | </Action> |
| 68 | |
| 69 | </Schema> |
| 70 | |
| 71 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_0"> |
| 72 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 73 | |
| 74 | <EntityType Name="SecureBoot" BaseType="SecureBoot.SecureBoot"> |
| 75 | <Property Name="SecureBootEnable" Type="Edm.Boolean"> |
| 76 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 77 | <Annotation Term="OData.Description" String="Enable or disable UEFI Secure Boot (takes effect on next boot)."/> |
| 78 | <Annotation Term="OData.LongDescription" String="Setting this property to true enables UEFI Secure Boot, and setting it to false disables it. This property can be enabled only in UEFI boot mode."/> |
| 79 | </Property> |
| 80 | <Property Name="SecureBootCurrentBoot" Type="SecureBoot.v1_0_0.SecureBootCurrentBootType"> |
| 81 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 82 | <Annotation Term="OData.Description" String="Secure Boot state during the current boot cycle."/> |
| 83 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the UEFI Secure Boot state during the current boot cycle."/> |
| 84 | </Property> |
| 85 | <Property Name="SecureBootMode" Type="SecureBoot.v1_0_0.SecureBootModeType"> |
| 86 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 87 | <Annotation Term="OData.Description" String="Current Secure Boot Mode."/> |
| 88 | <Annotation Term="OData.LongDescription" String="This property shall contain the current Secure Boot mode, as defined in the UEFI Specification."/> |
| 89 | </Property> |
| 90 | <Property Name="Actions" Type="SecureBoot.v1_0_0.Actions" Nullable="false"> |
| 91 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 92 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 93 | </Property> |
| 94 | </EntityType> |
| 95 | |
| 96 | <EnumType Name="SecureBootCurrentBootType"> |
| 97 | <Member Name="Enabled"> |
| 98 | <Annotation Term="OData.Description" String="Secure Boot is currently enabled."/> |
| 99 | </Member> |
| 100 | <Member Name="Disabled"> |
| 101 | <Annotation Term="OData.Description" String="Secure Boot is currently disabled."/> |
| 102 | </Member> |
| 103 | </EnumType> |
| 104 | |
| 105 | <EnumType Name="SecureBootModeType"> |
| 106 | <Member Name="SetupMode"> |
| 107 | <Annotation Term="OData.Description" String="Secure Boot is currently in Setup Mode."/> |
| 108 | </Member> |
| 109 | <Member Name="UserMode"> |
| 110 | <Annotation Term="OData.Description" String="Secure Boot is currently in User Mode."/> |
| 111 | </Member> |
| 112 | <Member Name="AuditMode"> |
| 113 | <Annotation Term="OData.Description" String="Secure Boot is currently in Audit Mode."/> |
| 114 | </Member> |
| 115 | <Member Name="DeployedMode"> |
| 116 | <Annotation Term="OData.Description" String="Secure Boot is currently in Deployed Mode."/> |
| 117 | </Member> |
| 118 | </EnumType> |
| 119 | |
| 120 | <EnumType Name="ResetKeysType"> |
| 121 | <Member Name="ResetAllKeysToDefault"> |
| 122 | <Annotation Term="OData.Description" String="Reset the content of all UEFI Secure Boot key databases (PK, KEK, DB, DBX) to their default values."/> |
| 123 | </Member> |
| 124 | <Member Name="DeleteAllKeys"> |
| 125 | <Annotation Term="OData.Description" String="Delete the content of all UEFI Secure Boot key databases (PK, KEK, DB, DBX). This puts the system in Setup Mode."/> |
| 126 | </Member> |
| 127 | <Member Name="DeletePK"> |
| 128 | <Annotation Term="OData.Description" String="Delete the content of the PK UEFI Secure Boot database. This puts the system in Setup Mode."/> |
| 129 | </Member> |
| 130 | </EnumType> |
| 131 | |
| 132 | <ComplexType Name="Actions"> |
| 133 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 134 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 135 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 136 | <Property Name="Oem" Type="SecureBoot.v1_0_0.OemActions" Nullable="false"> |
| 137 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 138 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 139 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 140 | </ComplexType> |
| 141 | |
| 142 | <ComplexType Name="OemActions"> |
| 143 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 144 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 145 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 146 | </ComplexType> |
| 147 | |
| 148 | </Schema> |
| 149 | |
| 150 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_1"> |
| 151 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 152 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 153 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_0.SecureBoot"/> |
| 154 | </Schema> |
| 155 | |
| 156 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_2"> |
| 157 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 158 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 159 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_1.SecureBoot"/> |
| 160 | </Schema> |
| 161 | |
| 162 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_3"> |
| 163 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 164 | <Annotation Term="OData.Description" String="This version was created to add requirements on the action parameters to show they are mandatory via Nullable=false. It was also created to correct the Descriptions and LongDescriptions used in the defined Actions."/> |
| 165 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_2.SecureBoot"/> |
| 166 | </Schema> |
| 167 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 168 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_4"> |
| 169 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 170 | <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."/> |
| 171 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_3.SecureBoot"/> |
| 172 | </Schema> |
| 173 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 174 | </edmx:DataServices> |
| 175 | </edmx:Edmx> |