blob: ad7670030b13bd39bf8a04c4c88eea62e35fa9d1 [file] [log] [blame]
Vidya Satyamsetti4cee35e2022-04-21 14:53:44 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: RootOfTrust v1.0.0 -->
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-2021 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/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
22 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
25 <edmx:Include Namespace="Resource"/>
26 <edmx:Include Namespace="Resource.v1_0_0"/>
27 </edmx:Reference>
28
29 <edmx:DataServices>
30
31 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RootOfTrust">
32 <Annotation Term="Redfish.OwningEntity" String="Google"/>
33
34 <EntityType Name="RootOfTrust" BaseType="Resource.v1_0_0.Resource" Abstract="true">
35 <Annotation Term="OData.Description" String="The RootOfTrust resource represents a trusted physical entity."/>
36 <Annotation Term="OData.LongDescription" String="This resource shall represent a trusted physical entity."/>
37 </EntityType>
38
39 </Schema>
40
41 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RootOfTrust.v1_0_0">
42 <Annotation Term="Redfish.OwningEntity" String="Google"/>
43
44 <EntityType Name="RootOfTrust" BaseType="RootOfTrust.RootOfTrust">
45 <Property Name="Actions" Type="RootOfTrust.v1_0_0.Actions" Nullable="false">
46 <Annotation Term="OData.Description" String="The available actions for this resource."/>
47 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
48 </Property>
49 </EntityType>
50
51 <ComplexType Name="Actions">
52 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
53 <Annotation Term="OData.Description" String="The available actions for this resource."/>
54 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
55 </ComplexType>
56
57 <Action Name="SendCommand" IsBound="true">
58 <Annotation Term="OData.Description" String="This action sends commands to trusted component."/>
59 <Annotation Term="OData.LongDescription" String="This action shall send hoth commands to trusted component."/>
60 <Parameter Name="RootOfTrust" Type="RootOfTrust.v1_0_0.Actions"/>
61 <Parameter Name="Command" Type="Edm.String" Nullable="false"/>
62 <Annotation Term="OData.Description" String="The bytes to forward to the root of trust device."/>
63 <Annotation Term="OData.LongDescription" String="This parameter shall contain the bytes to be forwarded to the root of trust device. The string should be a hex-encoded string, for instance '0100'. Each byte shall be encoded as a 2-character hex."/>
64 <ReturnType Name="CommandResponse" Type="Edm.String"/>
65 <Annotation Term="OData.Description" String="The bytes returned by the root of trust device."/>
66 <Annotation Term="OData.LongDescription" String="This return value shall contain the bytes returned by the root of trust device. The string should be a hex-encoded string, for instance '0100'. Each byte shall be encoded as a 2-character hex."/>
67 </Action>
68 </Schema>
69
70 </edmx:DataServices>
71</edmx:Edmx>