1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  CXLLogicalDevice v1.1.1                                             -->
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-2023 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.Measures.V1.xml">
18    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
21    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
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:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28    <edmx:Include Namespace="Resource"/>
29    <edmx:Include Namespace="Resource.v1_0_0"/>
30  </edmx:Reference>
31  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeFunction_v1.xml">
32    <edmx:Include Namespace="PCIeFunction"/>
33  </edmx:Reference>
34  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MemoryDomain_v1.xml">
35    <edmx:Include Namespace="MemoryDomain"/>
36  </edmx:Reference>
37  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MemoryChunks_v1.xml">
38    <edmx:Include Namespace="MemoryChunks"/>
39  </edmx:Reference>
40  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
41    <edmx:Include Namespace="Endpoint"/>
42  </edmx:Reference>
43  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogService_v1.xml">
44    <edmx:Include Namespace="LogService"/>
45  </edmx:Reference>
46  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MemoryRegionCollection_v1.xml">
47    <edmx:Include Namespace="MemoryRegionCollection"/>
48  </edmx:Reference>
49
50  <edmx:DataServices>
51
52    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice">
53      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
54
55      <EntityType Name="CXLLogicalDevice" BaseType="Resource.v1_0_0.Resource" Abstract="true">
56        <Annotation Term="OData.Description" String="The schema definition for the CXLLogicalDevice resource.  It represents the properties of a CXL logical device within a PCIe device."/>
57        <Annotation Term="OData.LongDescription" String="This resource shall represent a CXL logical device that is a part of a PCIe device."/>
58        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
59        <Annotation Term="Capabilities.InsertRestrictions">
60          <Record>
61            <PropertyValue Property="Insertable" Bool="false"/>
62          </Record>
63        </Annotation>
64        <Annotation Term="Capabilities.UpdateRestrictions">
65          <Record>
66            <PropertyValue Property="Updatable" Bool="true"/>
67          </Record>
68        </Annotation>
69        <Annotation Term="Capabilities.DeleteRestrictions">
70          <Record>
71            <PropertyValue Property="Deletable" Bool="false"/>
72          </Record>
73        </Annotation>
74        <Annotation Term="Redfish.Uris">
75          <Collection>
76            <String>/redfish/v1/Chassis/{ChassisId}/PCIeDevices/{PCIeDeviceId}/CXLLogicalDevices/{CXLLogicalDeviceId}</String>
77          </Collection>
78        </Annotation>
79      </EntityType>
80    </Schema>
81
82    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice.v1_0_0">
83      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
84      <Annotation Term="Redfish.Release" String="2022.3"/>
85
86      <EntityType Name="CXLLogicalDevice" BaseType="CXLLogicalDevice.CXLLogicalDevice">
87        <Property Name="Identifiers" Type="Collection(Resource.Identifier)" Nullable="false">
88          <Annotation Term="OData.Description" String="The durable names for the CXL logical device."/>
89          <Annotation Term="OData.LongDescription" String="This property shall contain a list of all known durable names for the associated CXL logical device."/>
90        </Property>
91        <Property Name="SemanticsSupported" Type="Collection(CXLLogicalDevice.v1_0_0.CXLSemantic)" Nullable="false">
92          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
93          <Annotation Term="OData.Description" String="The semantics supported by this CXL logical device."/>
94          <Annotation Term="OData.LongDescription" String="This property shall contain the CXL Specification-defined semantics that are supported by this CXL logical device."/>
95        </Property>
96        <Property Name="Status" Type="Resource.Status" Nullable="false">
97          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
98          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
99        </Property>
100        <Property Name="Links" Type="CXLLogicalDevice.v1_0_0.Links" Nullable="false">
101          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
103        </Property>
104        <Property Name="Actions" Type="CXLLogicalDevice.v1_0_0.Actions" Nullable="false">
105          <Annotation Term="OData.Description" String="The available actions for this resource."/>
106          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
107        </Property>
108        <Property Name="MemorySizeMiB" Type="Edm.Int64" Nullable="false">
109          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
110          <Annotation Term="OData.Description" String="The memory region size defined in this CXL logical device."/>
111          <Annotation Term="OData.LongDescription" String="This property shall contain the memory region size defined in this CXL logical device in mebibytes (MiB)."/>
112          <Annotation Term="Measures.Unit" String="MiBy"/>
113        </Property>
114        <Property Name="QoSTelemetryCapabilities" Type="CXLLogicalDevice.v1_0_0.QoSTelemetryCapabilities" Nullable="false">
115          <Annotation Term="OData.Description" String="The quality of service telemetry capabilities for this CXL logical device."/>
116          <Annotation Term="OData.LongDescription" String="This property shall contain the quality of service telemetry capabilities for this CXL logical device."/>
117        </Property>
118        <Property Name="QoS" Type="CXLLogicalDevice.v1_0_0.QoS" Nullable="false">
119          <Annotation Term="OData.Description" String="The quality of service configuration for this CXL logical device."/>
120          <Annotation Term="OData.LongDescription" String="This property shall contain the quality of service configuration for this CXL logical device."/>
121        </Property>
122        <NavigationProperty Name="Log" Type="LogService.LogService" ContainsTarget="true" Nullable="false">
123          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
124          <Annotation Term="OData.Description" String="The link to the log service associated with this CXL logical device."/>
125          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type LogService."/>
126          <Annotation Term="OData.AutoExpandReferences"/>
127        </NavigationProperty>
128      </EntityType>
129
130      <ComplexType Name="QoSTelemetryCapabilities">
131        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
132        <Annotation Term="OData.Description" String="The quality of service telemetry capabilities for a CXL logical device."/>
133        <Annotation Term="OData.LongDescription" String="This type shall contain the quality of service telemetry capabilities for a CXL logical device."/>
134        <Property Name="EgressPortBackpressureSupported" Type="Edm.Boolean">
135          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
136          <Annotation Term="OData.Description" String="Indicates whether the device supports the CXL Specification-defined 'Egress Port Backpressure' mechanism."/>
137          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the device supports the CXL Specification-defined 'Egress Port Backpressure' mechanism."/>
138        </Property>
139        <Property Name="TemporaryThroughputReductionSupported" Type="Edm.Boolean">
140          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
141          <Annotation Term="OData.Description" String="Indicates whether the device supports the CXL Specification-defined 'Temporary Throughput Reduction' mechanism."/>
142          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the device supports the CXL Specification-defined 'Temporary Throughput Reduction' mechanism."/>
143        </Property>
144      </ComplexType>
145
146      <ComplexType Name="QoS">
147        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
148        <Annotation Term="OData.Description" String="The quality of service properties for this CXL logical device."/>
149        <Annotation Term="OData.LongDescription" String="This type shall contain the quality of service properties of this CXL logical device."/>
150        <Property Name="AllocatedBandwidth" Type="Edm.Int64">
151          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
152          <Annotation Term="OData.Description" String="The bandwidth allocated for this CXL logical device in multiples of 256."/>
153          <Annotation Term="OData.LongDescription" String="This property shall contain the bandwidth allocated for this CXL logical device in multiples of 256."/>
154        </Property>
155        <Property Name="LimitPercent" Type="Edm.Int64">
156          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
157          <Annotation Term="OData.Description" String="The bandwidth limit to this CXL logical device as a percentage."/>
158          <Annotation Term="OData.LongDescription" String="This property shall contain the bandwidth limit, `0` to `100`, for this CXL logical device as a percentage."/>
159          <Annotation Term="Measures.Unit" String="%"/>
160          <Annotation Term="Validation.Minimum" Int="0"/>
161          <Annotation Term="Validation.Maximum" Int="100"/>
162        </Property>
163      </ComplexType>
164
165      <ComplexType Name="Links" BaseType="Resource.Links">
166        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
167        <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
168        <NavigationProperty Name="PCIeFunctions" Type="Collection(PCIeFunction.PCIeFunction)">
169          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
170          <Annotation Term="OData.Description" String="An array of links to the PCIe functions assigned to this CXL logical device."/>
171          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type PCIeFunction that represent the PCIe functions assigned to this CXL logical device."/>
172          <Annotation Term="OData.AutoExpandReferences"/>
173        </NavigationProperty>
174        <NavigationProperty Name="MemoryDomains" Type="Collection(MemoryDomain.MemoryDomain)">
175          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
176          <Annotation Term="OData.Description" String="An array of links to the memory domains associated with this CXL logical device."/>
177          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type MemoryDomain that represent the memory domains associated with this CXL logical device."/>
178          <Annotation Term="OData.AutoExpandReferences"/>
179        </NavigationProperty>
180        <NavigationProperty Name="MemoryChunks" Type="Collection(MemoryChunks.MemoryChunks)">
181          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
182          <Annotation Term="OData.Description" String="An array of links to the memory chunks owned by this CXL logical device."/>
183          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type MemoryChunks that represent the memory chunks owned by this CXL logical device."/>
184          <Annotation Term="OData.AutoExpandReferences"/>
185        </NavigationProperty>
186        <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
187          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
188          <Annotation Term="OData.Description" String="An array of links to the endpoints associated with this CXL logical device."/>
189          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Endpoint that represent the endpoints associated with this CXL logical device."/>
190          <Annotation Term="OData.AutoExpandReferences"/>
191        </NavigationProperty>
192      </ComplexType>
193
194      <ComplexType Name="Actions">
195        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
196        <Annotation Term="OData.Description" String="The available actions for this resource."/>
197        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
198        <Property Name="Oem" Type="CXLLogicalDevice.v1_0_0.OemActions" Nullable="false">
199          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
200          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
201        </Property>
202      </ComplexType>
203
204      <ComplexType Name="OemActions">
205        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
206        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
207        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
208      </ComplexType>
209
210      <EnumType Name="CXLSemantic">
211        <Member Name="CXLio">
212          <Annotation Term="OData.Description" String="CXL I/O semantic."/>
213          <Annotation Term="OData.LongDescription" String="This value shall indicate the device conforms with the CXL Specification-defined 'CXL.io' semantic."/>
214        </Member>
215        <Member Name="CXLcache">
216          <Annotation Term="OData.Description" String="CXL caching protocol semantic."/>
217          <Annotation Term="OData.LongDescription" String="This value shall indicate the device conforms with the CXL Specification-defined 'CXL.cache' semantic."/>
218        </Member>
219        <Member Name="CXLmem">
220          <Annotation Term="OData.Description" String="CXL memory access semantic."/>
221          <Annotation Term="OData.LongDescription" String="This value shall indicate the device conforms with the CXL Specification-defined 'CXL.mem' semantic."/>
222        </Member>
223      </EnumType>
224    </Schema>
225
226    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice.v1_0_1">
227      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
228      <Annotation Term="OData.Description" String="This version was created to clarify the range of possible values for properties with percent units."/>
229      <EntityType Name="CXLLogicalDevice" BaseType="CXLLogicalDevice.v1_0_0.CXLLogicalDevice"/>
230    </Schema>
231
232    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice.v1_0_2">
233      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
234      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
235      <EntityType Name="CXLLogicalDevice" BaseType="CXLLogicalDevice.v1_0_1.CXLLogicalDevice"/>
236    </Schema>
237
238    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice.v1_1_0">
239      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
240      <Annotation Term="Redfish.Release" String="2023.2"/>
241
242      <EntityType Name="CXLLogicalDevice" BaseType="CXLLogicalDevice.v1_0_1.CXLLogicalDevice">
243        <NavigationProperty Name="MemoryRegions" Type="MemoryRegionCollection.MemoryRegionCollection" ContainsTarget="true" Nullable="false">
244          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
245          <Annotation Term="OData.Description" String="The link to the collection of memory regions associated with this CXL logical device."/>
246          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type MemoryRegionCollection that represents the memory regions associated with this CXL logical device."/>
247          <Annotation Term="OData.AutoExpandReferences"/>
248        </NavigationProperty>
249      </EntityType>
250    </Schema>
251
252    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CXLLogicalDevice.v1_1_1">
253      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
254      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
255      <EntityType Name="CXLLogicalDevice" BaseType="CXLLogicalDevice.v1_1_0.CXLLogicalDevice"/>
256    </Schema>
257
258  </edmx:DataServices>
259</edmx:Edmx>
260