blob: d76db2af5fd32d8acceac4cd21be886d9e931b46 [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>
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -05007 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogService_v1.xml">
8 <edmx:Include Namespace="LogService"/>
9 <edmx:Include Namespace="LogService.v1_0_0"/>
Ravi Tejae7d68c32020-03-15 13:30:41 -050010 </edmx:Reference>
11
12 <edmx:DataServices>
13
Gunnar Mills99a467f2020-06-23 14:15:50 -050014 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService">
15 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
16 </Schema>
17
Ravi Tejae7d68c32020-03-15 13:30:41 -050018 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService.v1_0_0">
19 <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
20 <Annotation Term="Redfish.Release" String="1.0"/>
21
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050022 <Action Name="CollectDiagnosticData" IsBound="true">
23 <Parameter Name="OemLogService" Type="LogService.v1_0_0.OemActions"/>
24 <Annotation Term="OData.Description" String="This action is used to trigger the creation of a dump." />
25 <Annotation Term="OData.LongDescription" String="This action is used to trigger the creation of a dump." />
Asmitha Karunanithi40e7fea2020-06-22 03:40:15 -050026 <Parameter Name="DiagnosticDataType" Type="OemLogService.v1_0_0.DiagnosticDataType" Nullable="false">
27 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
28 <Annotation Term="OData.Description" String="The type of diagnostic data entry"/>
29 <Annotation Term="OData.LongDescription" String="This property shall contain the type of diagnostic data entry."/>
30 </Parameter>
31 <Parameter Name="OEMDiagnosticDataType" Type="Edm.String" Nullable="false">
32 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
33 <Annotation Term="OData.Description" String="The OEM type of diagnostic data entry"/>
34 <Annotation Term="OData.LongDescription" String="This property shall contain the OEM type of diagnostic data entry."/>
35 </Parameter>
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050036 </Action>
Ravi Tejae7d68c32020-03-15 13:30:41 -050037
Asmitha Karunanithi40e7fea2020-06-22 03:40:15 -050038 <EnumType Name="DiagnosticDataType">
39 <Member Name="Manager">
40 <Annotation Term="OData.Description" String="Indicates Manager diagnostic data."/>
41 </Member>
42 <Member Name="PreOS">
43 <Annotation Term="OData.Description" String="Indicates Pre-OS diagnostic data."/>
44 </Member>
45 <Member Name="OS">
46 <Annotation Term="OData.Description" String="Indicates Operating system(OS) diagnostic data."/>
47 </Member>
48 <Member Name="OEM">
49 <Annotation Term="OData.Description" String="Indicates OEM diagnostic data."/>
50 </Member>
51 </EnumType>
Ravi Tejae7d68c32020-03-15 13:30:41 -050052 </Schema>
53
54 </edmx:DataServices>
55</edmx:Edmx>
56