blob: beec201997492ba268e973c9e94e25489e0f24cd [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: PCIeSlots v1.1.1 -->
Ed Tanous530520e2019-01-02 13:41:37 -08005<!--# -->
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 Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 DMTF. -->
Ed Tanous530520e2019-01-02 13:41:37 -08009<!--# 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="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
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 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeDevice_v1.xml">
29 <edmx:Include Namespace="PCIeDevice"/>
30 </edmx:Reference>
31
32 <edmx:DataServices>
33
34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots">
35 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
36
37 <EntityType Name="PCIeSlots" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Ed Tanouscb103132019-10-08 11:34:22 -070038 <Annotation Term="OData.Description" String="The PCIeSlots schema describes PCIe slot properties."/>
39 <Annotation Term="OData.LongDescription" String="This Resource shall represent a set of PCIe slot information for a Redfish implementation."/>
Ed Tanous530520e2019-01-02 13:41:37 -080040 <Annotation Term="Capabilities.InsertRestrictions">
41 <Record>
42 <PropertyValue Property="Insertable" Bool="false"/>
43 </Record>
44 </Annotation>
45 <Annotation Term="Capabilities.UpdateRestrictions">
46 <Record>
47 <PropertyValue Property="Updatable" Bool="false"/>
48 </Record>
49 </Annotation>
50 <Annotation Term="Capabilities.DeleteRestrictions">
51 <Record>
52 <PropertyValue Property="Deletable" Bool="false"/>
53 </Record>
54 </Annotation>
55 <Annotation Term="Redfish.Uris">
56 <Collection>
57 <String>/redfish/v1/Chassis/{ChassisId}/PCIeSlots</String>
58 </Collection>
59 </Annotation>
60 </EntityType>
61
62 </Schema>
63
64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots.v1_0_0">
65 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060066 <Annotation Term="Redfish.Release" String="2018.2"/>
Ed Tanous530520e2019-01-02 13:41:37 -080067
68 <EntityType Name="PCIeSlots" BaseType="PCIeSlots.PCIeSlots">
Ed Tanouscb103132019-10-08 11:34:22 -070069 <Property Name="Slots" Type="Collection(PCIeSlots.v1_0_0.PCIeSlot)" Nullable="false">
Ed Tanous530520e2019-01-02 13:41:37 -080070 <Annotation Term="OData.Description" String="An array of PCI Slot information."/>
71 <Annotation Term="OData.LongDescription" String="This array shall contain an entry for each PCIe slot, including empty slots (with no device or card installed)."/>
72 </Property>
73 <Property Name="Actions" Type="PCIeSlots.v1_0_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070074 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
75 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080076 </Property>
77 </EntityType>
78
79 <ComplexType Name="PCIeSlot">
80 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -070081 <Annotation Term="OData.Description" String="This type defines information for a PCIe slot."/>
82 <Annotation Term="OData.LongDescription" String="These properties shall contain the definition for a PCIe Slot for a Redfish implementation."/>
Ed Tanous530520e2019-01-02 13:41:37 -080083 <Property Name="Oem" Type="Resource.Oem" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070084 <Annotation Term="OData.Description" String="The OEM extension property."/>
85 <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
Ed Tanous530520e2019-01-02 13:41:37 -080086 </Property>
87 <Property Name="PCIeType" Type="PCIeDevice.PCIeTypes">
88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070089 <Annotation Term="OData.Description" String="The PCIe specification supported by this slot."/>
90 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum PCIe specification that this slot supports."/>
Ed Tanous530520e2019-01-02 13:41:37 -080091 </Property>
92 <Property Name="SlotType" Type="PCIeSlots.v1_0_0.SlotTypes">
93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070094 <Annotation Term="OData.Description" String="The PCIe slot type for this slot."/>
95 <Annotation Term="OData.LongDescription" String="This property shall contain the slot type as specified by the PCIe specification."/>
Ed Tanous530520e2019-01-02 13:41:37 -080096 </Property>
97 <Property Name="Lanes" Type="Edm.Int64">
98 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070099 <Annotation Term="OData.Description" String="The number of PCIe lanes supported by this slot."/>
100 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of PCIe lanes supported by the slot."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800101 <Annotation Term="Validation.Maximum" Int="32"/>
102 </Property>
103 <Property Name="Status" Type="Resource.Status" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700104 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/>
105 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800106 </Property>
107 <Property Name="Location" Type="Resource.Location" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700108 <Annotation Term="OData.Description" String="The location of the PCIe slot."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800109 <Annotation Term="OData.LongDescription" String="This property shall contain part location information, including a ServiceLable of the associated PCIe Slot."/>
110 </Property>
Ed Tanouscb103132019-10-08 11:34:22 -0700111 <Property Name="Links" Type="PCIeSlots.v1_0_0.PCIeLinks" Nullable="false">
112 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
113 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800114 </Property>
115 </ComplexType>
116
117 <ComplexType Name="PCIeLinks" BaseType="Resource.Links">
Ed Tanouscb103132019-10-08 11:34:22 -0700118 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
119 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800120 <NavigationProperty Name="PCIeDevice" Type="Collection(PCIeDevice.PCIeDevice)">
121 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700122 <Annotation Term="OData.Description" String="An array of links to the PCIe devices contained in this slot."/>
123 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the Resources of the PCIeDevice type with which this physical slot is associated. If the Status.State of this slot is `Absent`, this property shall not appear in the Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800124 <Annotation Term="OData.AutoExpandReferences"/>
125 </NavigationProperty>
126 </ComplexType>
127
128 <EnumType Name="SlotTypes">
129 <Member Name="FullLength">
130 <Annotation Term="OData.Description" String="Full-Length PCIe slot."/>
131 </Member>
132 <Member Name="HalfLength">
133 <Annotation Term="OData.Description" String="Half-Length PCIe slot."/>
134 </Member>
135 <Member Name="LowProfile">
136 <Annotation Term="OData.Description" String="Low-Profile or Slim PCIe slot."/>
137 </Member>
138 <Member Name="Mini">
139 <Annotation Term="OData.Description" String="Mini PCIe slot."/>
140 </Member>
141 <Member Name="M2">
142 <Annotation Term="OData.Description" String="PCIe M.2 slot."/>
143 </Member>
144 <Member Name="OEM">
145 <Annotation Term="OData.Description" String="And OEM-specific slot."/>
146 </Member>
147 </EnumType>
148
149 <ComplexType Name="Actions">
150 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700151 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
152 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800153 <Property Name="Oem" Type="PCIeSlots.v1_0_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700154 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
155 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800156 </Property>
157 </ComplexType>
158
159 <ComplexType Name="OemActions">
160 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700161 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
162 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800163 </ComplexType>
Ed Tanouscb103132019-10-08 11:34:22 -0700164 </Schema>
Ed Tanous530520e2019-01-02 13:41:37 -0800165
Ed Tanouscb103132019-10-08 11:34:22 -0700166 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots.v1_0_1">
167 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
168 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format, and to add a missing term to Links and Slots to disallow them from being null."/>
169 <EntityType Name="PCIeSlots" BaseType="PCIeSlots.v1_0_0.PCIeSlots"/>
170 </Schema>
171
172 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots.v1_0_2">
173 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
174 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
175 <EntityType Name="PCIeSlots" BaseType="PCIeSlots.v1_0_1.PCIeSlots"/>
176 </Schema>
177
178 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots.v1_1_0">
179 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
180 <Annotation Term="Redfish.Release" String="2019.1"/>
181
182 <EntityType Name="PCIeSlots" BaseType="PCIeSlots.v1_0_1.PCIeSlots"/>
183 <ComplexType Name="PCIeSlot" BaseType="PCIeSlots.v1_0_0.PCIeSlot">
184 <Property Name="HotPluggable" Type="Edm.Boolean">
185 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
186 <Annotation Term="OData.Description" String="An indication of whether this PCIe slot supports hotplug."/>
187 <Annotation Term="OData.LongDescription" String="This property shall contain indicating whether this PCIe slot supports hotplug."/>
188 </Property>
189 </ComplexType>
190 </Schema>
191
192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PCIeSlots.v1_1_1">
193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
194 <Annotation Term="OData.Description" String="This version was created to correct the parent namespace of HotPluggable property from PCIeSlots to PCIeSlot. It was also created to update descriptions that this schema defines."/>
195 <EntityType Name="PCIeSlots" BaseType="PCIeSlots.v1_1_0.PCIeSlots"/>
Ed Tanous530520e2019-01-02 13:41:37 -0800196 </Schema>
197
198 </edmx:DataServices>
199</edmx:Edmx>