blob: 63d65f90a56520dddf741a7cbe421b692d0b41b4 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: SerialInterface v1.1.3-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
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 Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource.v1_0_0"/>
25 </edmx:Reference>
26
27 <edmx:DataServices>
28
29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface">
30 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
31
32 <EntityType Name="SerialInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">
33 <Annotation Term="OData.Description" String="This resource describes an asynchronous serial interface, such as an RS-232 interface, available to a system or device."/>
34 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent serial resources as part of the Redfish specification."/>
35 <Annotation Term="Capabilities.InsertRestrictions">
36 <Record>
37 <PropertyValue Property="Insertable" Bool="false"/>
38 </Record>
39 </Annotation>
40 <Annotation Term="Capabilities.UpdateRestrictions">
41 <Record>
42 <PropertyValue Property="Updatable" Bool="true"/>
43 <Annotation Term="OData.Description" String="A Serial Interface can be updated to enable or disable it or to change the configuration."/>
44 </Record>
45 </Annotation>
46 <Annotation Term="Capabilities.DeleteRestrictions">
47 <Record>
48 <PropertyValue Property="Deletable" Bool="false"/>
49 </Record>
50 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080051 <Annotation Term="Redfish.Uris">
52 <Collection>
53 <String>/redfish/v1/Managers/{ManagerId}/SerialInterfaces/{SerialInterfaceId}</String>
54 </Collection>
55 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070056 </EntityType>
57
58 </Schema>
59
60 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_0">
61 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060062 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070063
64 <EntityType Name="SerialInterface" BaseType="SerialInterface.SerialInterface">
65 <Annotation Term="OData.Description" String="This schema defines an asynchronous serial interface resource."/>
66 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent serial resources as part of the Redfish specification."/>
67 <Property Name="InterfaceEnabled" Type="Edm.Boolean">
68 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
69 <Annotation Term="OData.Description" String="This indicates whether this interface is enabled."/>
70 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this interface is enabled."/>
71 </Property>
72 <Property Name="SignalType" Type="SerialInterface.v1_0_0.SignalType" Nullable="false">
73 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
74 <Annotation Term="OData.Description" String="The type of signal used for the communication connection - RS232 or RS485."/>
75 <Annotation Term="OData.LongDescription" String="This property shall indicate the type of serial signalling that will be utilized for the serial connection."/>
76 </Property>
77 <Property Name="BitRate" Type="SerialInterface.v1_0_0.BitRate" Nullable="false">
78 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
79 <Annotation Term="OData.Description" String="The receive and transmit rate of data flow, typically in bits-per-second (bps), over the serial connection."/>
80 <Annotation Term="OData.LongDescription" String="This property shall indicate the transmit and receive speed of the serial connection."/>
81 </Property>
82 <Property Name="Parity" Type="SerialInterface.v1_0_0.Parity" Nullable="false">
83 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
84 <Annotation Term="OData.Description" String="The type of parity used by the sender and receiver in order to detect errors over the serial connection."/>
85 <Annotation Term="OData.LongDescription" String="This property shall indicate parity information for a serial connection."/>
86 </Property>
87 <Property Name="DataBits" Type="SerialInterface.v1_0_0.DataBits" Nullable="false">
88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
89 <Annotation Term="OData.Description" String="The number of data bits that will follow the start bit over the serial connection."/>
90 <Annotation Term="OData.LongDescription" String="This property shall indicate number of data bits for the serial connection."/>
91 </Property>
92 <Property Name="StopBits" Type="SerialInterface.v1_0_0.StopBits" Nullable="false">
93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
94 <Annotation Term="OData.Description" String="The period of time before the next start bit is transmitted."/>
95 <Annotation Term="OData.LongDescription" String="This property shall indicate the stop bits for the serial connection."/>
96 </Property>
97 <Property Name="FlowControl" Type="SerialInterface.v1_0_0.FlowControl" Nullable="false">
98 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
99 <Annotation Term="OData.Description" String="The type of flow control, if any, that will be imposed on the serial connection."/>
100 <Annotation Term="OData.LongDescription" String="This property shall indicate the flow control mechanism for the serial connection."/>
101 </Property>
102 <Property Name="ConnectorType" Type="SerialInterface.v1_0_0.ConnectorType" Nullable="false">
103 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
104 <Annotation Term="OData.Description" String="The type of connector used for this interface."/>
105 <Annotation Term="OData.LongDescription" String="This property shall indicate the type of phyiscal connector used for this serial connection."/>
106 </Property>
107 <Property Name="PinOut" Type="SerialInterface.v1_0_0.PinOut">
108 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
109 <Annotation Term="OData.Description" String="The physical pin configuration needed for a serial connector."/>
110 <Annotation Term="OData.LongDescription" String="This property shall indicate the physical pin out for the serial connection."/>
111 </Property>
112 </EntityType>
113
114 <EnumType Name="SignalType">
115 <Member Name="Rs232">
116 <Annotation Term="OData.Description" String="The serial interface follows RS232."/>
117 </Member>
118 <Member Name="Rs485">
119 <Annotation Term="OData.Description" String="The serial interface follows RS485."/>
120 </Member>
121 </EnumType>
122
123 <TypeDefinition Name="BitRate" UnderlyingType="Edm.String">
124 <Annotation Term="Redfish.Enumeration">
125 <Collection>
126 <Record>
127 <PropertyValue Property="Member" String="1200"/>
128 <Annotation Term="OData.Description" String="A bit rate of 1200bps."/>
129 </Record>
130 <Record>
131 <PropertyValue Property="Member" String="2400"/>
132 <Annotation Term="OData.Description" String="A bit rate of 2400bps."/>
133 </Record>
134 <Record>
135 <PropertyValue Property="Member" String="4800"/>
136 <Annotation Term="OData.Description" String="A bit rate of 4800bps."/>
137 </Record>
138 <Record>
139 <PropertyValue Property="Member" String="9600"/>
140 <Annotation Term="OData.Description" String="A bit rate of 9600bps."/>
141 </Record>
142 <Record>
143 <PropertyValue Property="Member" String="19200"/>
144 <Annotation Term="OData.Description" String="A bit rate of 19200bps."/>
145 </Record>
146 <Record>
147 <PropertyValue Property="Member" String="38400"/>
148 <Annotation Term="OData.Description" String="A bit rate of 38400bps."/>
149 </Record>
150 <Record>
151 <PropertyValue Property="Member" String="57600"/>
152 <Annotation Term="OData.Description" String="A bit rate of 57600bps."/>
153 </Record>
154 <Record>
155 <PropertyValue Property="Member" String="115200"/>
156 <Annotation Term="OData.Description" String="A bit rate of 115200bps."/>
157 </Record>
158 <Record>
159 <PropertyValue Property="Member" String="230400"/>
160 <Annotation Term="OData.Description" String="A bit rate of 230400bps."/>
161 </Record>
162 </Collection>
163 </Annotation>
164 </TypeDefinition>
165
166 <EnumType Name="Parity">
167 <Member Name="None">
168 <Annotation Term="OData.Description" String="No parity bit."/>
169 </Member>
170 <Member Name="Even">
171 <Annotation Term="OData.Description" String="An even parity bit."/>
172 </Member>
173 <Member Name="Odd">
174 <Annotation Term="OData.Description" String="An odd parity bit."/>
175 </Member>
176 <Member Name="Mark">
177 <Annotation Term="OData.Description" String="A mark parity bit."/>
178 </Member>
179 <Member Name="Space">
180 <Annotation Term="OData.Description" String="A space parity bit."/>
181 </Member>
182 </EnumType>
183
184 <TypeDefinition Name="DataBits" UnderlyingType="Edm.String">
185 <Annotation Term="Redfish.Enumeration">
186 <Collection>
187 <Record>
188 <PropertyValue Property="Member" String="5"/>
189 <Annotation Term="OData.Description" String="5 bits of data following the start bit."/>
190 </Record>
191 <Record>
192 <PropertyValue Property="Member" String="6"/>
193 <Annotation Term="OData.Description" String="6 bits of data following the start bit."/>
194 </Record>
195 <Record>
196 <PropertyValue Property="Member" String="7"/>
197 <Annotation Term="OData.Description" String="7 bits of data following the start bit."/>
198 </Record>
199 <Record>
200 <PropertyValue Property="Member" String="8"/>
201 <Annotation Term="OData.Description" String="8 bits of data following the start bit."/>
202 </Record>
203 </Collection>
204 </Annotation>
205 </TypeDefinition>
206
207 <TypeDefinition Name="StopBits" UnderlyingType="Edm.String">
208 <Annotation Term="Redfish.Enumeration">
209 <Collection>
210 <Record>
211 <PropertyValue Property="Member" String="1"/>
212 <Annotation Term="OData.Description" String="1 stop bit following the data bits."/>
213 </Record>
214 <Record>
215 <PropertyValue Property="Member" String="2"/>
216 <Annotation Term="OData.Description" String="2 stop bits following the data bits."/>
217 </Record>
218 </Collection>
219 </Annotation>
220 </TypeDefinition>
221
222 <EnumType Name="FlowControl">
223 <Member Name="None">
224 <Annotation Term="OData.Description" String="No flow control imposed."/>
225 </Member>
226 <Member Name="Software">
227 <Annotation Term="OData.Description" String="XON/XOFF in-band flow control imposed."/>
228 </Member>
229 <Member Name="Hardware">
230 <Annotation Term="OData.Description" String="Out of band flow control imposed."/>
231 </Member>
232 </EnumType>
233
234 <EnumType Name="PinOut">
235 <Member Name="Cisco">
236 <Annotation Term="OData.Description" String="The Cisco pin configuration."/>
237 </Member>
238 <Member Name="Cyclades">
239 <Annotation Term="OData.Description" String="The Cyclades pin configuration."/>
240 </Member>
241 <Member Name="Digi">
242 <Annotation Term="OData.Description" String="The Digi pin configuration."/>
243 </Member>
244 </EnumType>
245
246 <TypeDefinition Name="ConnectorType" UnderlyingType="Edm.String">
247 <Annotation Term="Redfish.Enumeration">
248 <Collection>
249 <Record>
250 <PropertyValue Property="Member" String="RJ45"/>
251 <Annotation Term="OData.Description" String="An RJ45 connector."/>
252 </Record>
253 <Record>
254 <PropertyValue Property="Member" String="RJ11"/>
255 <Annotation Term="OData.Description" String="An RJ11 connector."/>
256 </Record>
257 <Record>
258 <PropertyValue Property="Member" String="DB9 Female"/>
259 <Annotation Term="OData.Description" String="A DB9 Female connector."/>
260 </Record>
261 <Record>
262 <PropertyValue Property="Member" String="DB9 Male"/>
263 <Annotation Term="OData.Description" String="A DB9 Male connector."/>
264 </Record>
265 <Record>
266 <PropertyValue Property="Member" String="DB25 Female"/>
267 <Annotation Term="OData.Description" String="A DB25 Female connector."/>
268 </Record>
269 <Record>
270 <PropertyValue Property="Member" String="DB25 Male"/>
271 <Annotation Term="OData.Description" String="A DB25 Male connector."/>
272 </Record>
273 <Record>
274 <PropertyValue Property="Member" String="USB"/>
275 <Annotation Term="OData.Description" String="A USB connector."/>
276 </Record>
277 <Record>
278 <PropertyValue Property="Member" String="mUSB"/>
279 <Annotation Term="OData.Description" String="A mUSB connector."/>
280 </Record>
281 <Record>
282 <PropertyValue Property="Member" String="uUSB"/>
283 <Annotation Term="OData.Description" String="A uUSB connector."/>
284 </Record>
285 </Collection>
286 </Annotation>
287 </TypeDefinition>
288
289 </Schema>
290
291 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_2">
292 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
293 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
294 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_0.SerialInterface"/>
295 </Schema>
296
297 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_3">
298 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
299 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
300 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_2.SerialInterface"/>
301 </Schema>
302
303 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_4">
304 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
305 <Annotation Term="OData.Description" String="This version was created to correct the ConnectorType enum values to match orginal publication."/>
306 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_3.SerialInterface"/>
307 </Schema>
308
309 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_5">
310 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
311 <Annotation Term="OData.Description" String="This version was created to add descriptions to various enum values."/>
312 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_4.SerialInterface"/>
313 </Schema>
314
Ed Tanous530520e2019-01-02 13:41:37 -0800315 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_6">
316 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
317 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
318 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_5.SerialInterface"/>
319 </Schema>
320
Jason M. Billsea4aa752018-06-05 13:29:11 -0700321 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_0">
322 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600323 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700324 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_3.SerialInterface">
325 <Property Name="Actions" Type="SerialInterface.v1_1_0.Actions" Nullable="false">
326 <Annotation Term="OData.Description" String="The available actions for this resource."/>
327 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
328 </Property>
329 </EntityType>
330
331 <ComplexType Name="Actions">
332 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
333 <Annotation Term="OData.Description" String="The available actions for this resource."/>
334 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800335 <Property Name="Oem" Type="SerialInterface.v1_1_0.OemActions" Nullable="false">
336 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
337 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
338 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700339 </ComplexType>
340
341 <ComplexType Name="OemActions">
342 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
343 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
344 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
345 </ComplexType>
346 </Schema>
347
348 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_1">
349 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
350 <Annotation Term="OData.Description" String="This version was created to correct the ConnectorType enum values to match orginal publication."/>
351 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_0.SerialInterface"/>
352 </Schema>
353
354 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_2">
355 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
356 <Annotation Term="OData.Description" String="This version was created to add descriptions to various enum values."/>
357 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_1.SerialInterface"/>
358 </Schema>
359
Ed Tanous530520e2019-01-02 13:41:37 -0800360 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_3">
361 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
362 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
363 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_2.SerialInterface"/>
364 </Schema>
365
Jason M. Billsea4aa752018-06-05 13:29:11 -0700366 </edmx:DataServices>
367</edmx:Edmx>