Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
| 4 | <!--# Redfish Schema: SecureBoot v1.0.3--> |
| 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-2017 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://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> |
| 51 | </EntityType> |
| 52 | |
| 53 | <Action Name="ResetKeys" IsBound="true"> |
| 54 | <Parameter Name="SecureBoot" Type="SecureBoot.v1_0_0.Actions"/> |
| 55 | <Parameter Name="ResetKeysType" Type="SecureBoot.v1_0_0.ResetKeysType" Nullable="false"> |
| 56 | <Annotation Term="OData.Description" String="The type of keys to reset or delete."/> |
| 57 | <Annotation Term="OData.LongDescription" String="This parameter shall specify the type of keys to reset or delete."/> |
| 58 | </Parameter> |
| 59 | <Annotation Term="OData.Description" String="This action is used to reset the Secure Boot keys."/> |
| 60 | <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."/> |
| 61 | </Action> |
| 62 | |
| 63 | </Schema> |
| 64 | |
| 65 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_0"> |
| 66 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 67 | |
| 68 | <EntityType Name="SecureBoot" BaseType="SecureBoot.SecureBoot"> |
| 69 | <Property Name="SecureBootEnable" Type="Edm.Boolean"> |
| 70 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 71 | <Annotation Term="OData.Description" String="Enable or disable UEFI Secure Boot (takes effect on next boot)."/> |
| 72 | <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."/> |
| 73 | </Property> |
| 74 | <Property Name="SecureBootCurrentBoot" Type="SecureBoot.v1_0_0.SecureBootCurrentBootType"> |
| 75 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 76 | <Annotation Term="OData.Description" String="Secure Boot state during the current boot cycle."/> |
| 77 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the UEFI Secure Boot state during the current boot cycle."/> |
| 78 | </Property> |
| 79 | <Property Name="SecureBootMode" Type="SecureBoot.v1_0_0.SecureBootModeType"> |
| 80 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 81 | <Annotation Term="OData.Description" String="Current Secure Boot Mode."/> |
| 82 | <Annotation Term="OData.LongDescription" String="This property shall contain the current Secure Boot mode, as defined in the UEFI Specification."/> |
| 83 | </Property> |
| 84 | <Property Name="Actions" Type="SecureBoot.v1_0_0.Actions" Nullable="false"> |
| 85 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 86 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 87 | </Property> |
| 88 | </EntityType> |
| 89 | |
| 90 | <EnumType Name="SecureBootCurrentBootType"> |
| 91 | <Member Name="Enabled"> |
| 92 | <Annotation Term="OData.Description" String="Secure Boot is currently enabled."/> |
| 93 | </Member> |
| 94 | <Member Name="Disabled"> |
| 95 | <Annotation Term="OData.Description" String="Secure Boot is currently disabled."/> |
| 96 | </Member> |
| 97 | </EnumType> |
| 98 | |
| 99 | <EnumType Name="SecureBootModeType"> |
| 100 | <Member Name="SetupMode"> |
| 101 | <Annotation Term="OData.Description" String="Secure Boot is currently in Setup Mode."/> |
| 102 | </Member> |
| 103 | <Member Name="UserMode"> |
| 104 | <Annotation Term="OData.Description" String="Secure Boot is currently in User Mode."/> |
| 105 | </Member> |
| 106 | <Member Name="AuditMode"> |
| 107 | <Annotation Term="OData.Description" String="Secure Boot is currently in Audit Mode."/> |
| 108 | </Member> |
| 109 | <Member Name="DeployedMode"> |
| 110 | <Annotation Term="OData.Description" String="Secure Boot is currently in Deployed Mode."/> |
| 111 | </Member> |
| 112 | </EnumType> |
| 113 | |
| 114 | <EnumType Name="ResetKeysType"> |
| 115 | <Member Name="ResetAllKeysToDefault"> |
| 116 | <Annotation Term="OData.Description" String="Reset the content of all UEFI Secure Boot key databases (PK, KEK, DB, DBX) to their default values."/> |
| 117 | </Member> |
| 118 | <Member Name="DeleteAllKeys"> |
| 119 | <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."/> |
| 120 | </Member> |
| 121 | <Member Name="DeletePK"> |
| 122 | <Annotation Term="OData.Description" String="Delete the content of the PK UEFI Secure Boot database. This puts the system in Setup Mode."/> |
| 123 | </Member> |
| 124 | </EnumType> |
| 125 | |
| 126 | <ComplexType Name="Actions"> |
| 127 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 128 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 129 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
| 130 | <Property Name="Oem" Type="SecureBoot.v1_0_0.OemActions" Nullable="false"/> |
| 131 | </ComplexType> |
| 132 | |
| 133 | <ComplexType Name="OemActions"> |
| 134 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 135 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 136 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 137 | </ComplexType> |
| 138 | |
| 139 | </Schema> |
| 140 | |
| 141 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_1"> |
| 142 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 143 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 144 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_0.SecureBoot"/> |
| 145 | </Schema> |
| 146 | |
| 147 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_2"> |
| 148 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 149 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 150 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_1.SecureBoot"/> |
| 151 | </Schema> |
| 152 | |
| 153 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SecureBoot.v1_0_3"> |
| 154 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 155 | <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."/> |
| 156 | <EntityType Name="SecureBoot" BaseType="SecureBoot.v1_0_2.SecureBoot"/> |
| 157 | </Schema> |
| 158 | |
| 159 | </edmx:DataServices> |
| 160 | </edmx:Edmx> |