blob: 95f5e1157c7b5eb9623606a0e2a91170dc3f885e [file] [log] [blame]
Ravi Tejae7d68c32020-03-15 13:30:41 -05001<?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="OemLogService">
21 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
22 </Schema>
23
24 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService.v1_0_0">
25 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
26 <Annotation Term="Redfish.Release" String="1.0"/>
27
28 <ComplexType Name="OpenBmc" BaseType="Resource.OemObject">
29 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
30 <Annotation Term="OData.Description" String="Oem properties for OpenBmc." />
31 <Action Name="CreateLog" IsBound="true">
32 <Parameter Name="LogService" Type="LogService.v1_0_0.OemActions"/>
33 <Annotation Term="OData.Description" String="The action to create the log for this Log Service."/>
34 <Annotation Term="OData.LongDescription" String="This action is used to trigger a new system dump."/>
35 </Action>
36 <Property Name="Type" Type="Edm.String">
37 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
38 <Annotation Term="OData.Description" String="The entry type"/>
39 <Annotation Term="OData.LongDescription" String="This property shall contain the EntryType is `Dump`."/>
40 </Property>
41 <Property Name="DumpType" Type="Edm.String">
42 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
43 <Annotation Term="OData.Description" String="The dump entry type"/>
44 <Annotation Term="OData.LongDescription" String="This property shall contain dump entry type."/>
45 </Property>
46 </ComplexType>
47
48 <EntityType Name="LogService" BaseType="Resource.OemObject" Abstract="true">
49 <Annotation Term="OData.Description" String="OEM Extension for LogService"/>
50 <Annotation Term="OData.LongDescription" String="OEM Extension of LogService for dump"/>
51 </EntityType>
52 </Schema>
53
54 </edmx:DataServices>
55</edmx:Edmx>
56