blob: 3dd0b156723bc469fecf60bc97e124c3e8359fb0 [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"/>
62
63 <EntityType Name="SerialInterface" BaseType="SerialInterface.SerialInterface">
64 <Annotation Term="OData.Description" String="This schema defines an asynchronous serial interface resource."/>
65 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent serial resources as part of the Redfish specification."/>
66 <Property Name="InterfaceEnabled" Type="Edm.Boolean">
67 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
68 <Annotation Term="OData.Description" String="This indicates whether this interface is enabled."/>
69 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this interface is enabled."/>
70 </Property>
71 <Property Name="SignalType" Type="SerialInterface.v1_0_0.SignalType" Nullable="false">
72 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
73 <Annotation Term="OData.Description" String="The type of signal used for the communication connection - RS232 or RS485."/>
74 <Annotation Term="OData.LongDescription" String="This property shall indicate the type of serial signalling that will be utilized for the serial connection."/>
75 </Property>
76 <Property Name="BitRate" Type="SerialInterface.v1_0_0.BitRate" Nullable="false">
77 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
78 <Annotation Term="OData.Description" String="The receive and transmit rate of data flow, typically in bits-per-second (bps), over the serial connection."/>
79 <Annotation Term="OData.LongDescription" String="This property shall indicate the transmit and receive speed of the serial connection."/>
80 </Property>
81 <Property Name="Parity" Type="SerialInterface.v1_0_0.Parity" Nullable="false">
82 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
83 <Annotation Term="OData.Description" String="The type of parity used by the sender and receiver in order to detect errors over the serial connection."/>
84 <Annotation Term="OData.LongDescription" String="This property shall indicate parity information for a serial connection."/>
85 </Property>
86 <Property Name="DataBits" Type="SerialInterface.v1_0_0.DataBits" Nullable="false">
87 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
88 <Annotation Term="OData.Description" String="The number of data bits that will follow the start bit over the serial connection."/>
89 <Annotation Term="OData.LongDescription" String="This property shall indicate number of data bits for the serial connection."/>
90 </Property>
91 <Property Name="StopBits" Type="SerialInterface.v1_0_0.StopBits" Nullable="false">
92 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
93 <Annotation Term="OData.Description" String="The period of time before the next start bit is transmitted."/>
94 <Annotation Term="OData.LongDescription" String="This property shall indicate the stop bits for the serial connection."/>
95 </Property>
96 <Property Name="FlowControl" Type="SerialInterface.v1_0_0.FlowControl" Nullable="false">
97 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
98 <Annotation Term="OData.Description" String="The type of flow control, if any, that will be imposed on the serial connection."/>
99 <Annotation Term="OData.LongDescription" String="This property shall indicate the flow control mechanism for the serial connection."/>
100 </Property>
101 <Property Name="ConnectorType" Type="SerialInterface.v1_0_0.ConnectorType" Nullable="false">
102 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
103 <Annotation Term="OData.Description" String="The type of connector used for this interface."/>
104 <Annotation Term="OData.LongDescription" String="This property shall indicate the type of phyiscal connector used for this serial connection."/>
105 </Property>
106 <Property Name="PinOut" Type="SerialInterface.v1_0_0.PinOut">
107 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
108 <Annotation Term="OData.Description" String="The physical pin configuration needed for a serial connector."/>
109 <Annotation Term="OData.LongDescription" String="This property shall indicate the physical pin out for the serial connection."/>
110 </Property>
111 </EntityType>
112
113 <EnumType Name="SignalType">
114 <Member Name="Rs232">
115 <Annotation Term="OData.Description" String="The serial interface follows RS232."/>
116 </Member>
117 <Member Name="Rs485">
118 <Annotation Term="OData.Description" String="The serial interface follows RS485."/>
119 </Member>
120 </EnumType>
121
122 <TypeDefinition Name="BitRate" UnderlyingType="Edm.String">
123 <Annotation Term="Redfish.Enumeration">
124 <Collection>
125 <Record>
126 <PropertyValue Property="Member" String="1200"/>
127 <Annotation Term="OData.Description" String="A bit rate of 1200bps."/>
128 </Record>
129 <Record>
130 <PropertyValue Property="Member" String="2400"/>
131 <Annotation Term="OData.Description" String="A bit rate of 2400bps."/>
132 </Record>
133 <Record>
134 <PropertyValue Property="Member" String="4800"/>
135 <Annotation Term="OData.Description" String="A bit rate of 4800bps."/>
136 </Record>
137 <Record>
138 <PropertyValue Property="Member" String="9600"/>
139 <Annotation Term="OData.Description" String="A bit rate of 9600bps."/>
140 </Record>
141 <Record>
142 <PropertyValue Property="Member" String="19200"/>
143 <Annotation Term="OData.Description" String="A bit rate of 19200bps."/>
144 </Record>
145 <Record>
146 <PropertyValue Property="Member" String="38400"/>
147 <Annotation Term="OData.Description" String="A bit rate of 38400bps."/>
148 </Record>
149 <Record>
150 <PropertyValue Property="Member" String="57600"/>
151 <Annotation Term="OData.Description" String="A bit rate of 57600bps."/>
152 </Record>
153 <Record>
154 <PropertyValue Property="Member" String="115200"/>
155 <Annotation Term="OData.Description" String="A bit rate of 115200bps."/>
156 </Record>
157 <Record>
158 <PropertyValue Property="Member" String="230400"/>
159 <Annotation Term="OData.Description" String="A bit rate of 230400bps."/>
160 </Record>
161 </Collection>
162 </Annotation>
163 </TypeDefinition>
164
165 <EnumType Name="Parity">
166 <Member Name="None">
167 <Annotation Term="OData.Description" String="No parity bit."/>
168 </Member>
169 <Member Name="Even">
170 <Annotation Term="OData.Description" String="An even parity bit."/>
171 </Member>
172 <Member Name="Odd">
173 <Annotation Term="OData.Description" String="An odd parity bit."/>
174 </Member>
175 <Member Name="Mark">
176 <Annotation Term="OData.Description" String="A mark parity bit."/>
177 </Member>
178 <Member Name="Space">
179 <Annotation Term="OData.Description" String="A space parity bit."/>
180 </Member>
181 </EnumType>
182
183 <TypeDefinition Name="DataBits" UnderlyingType="Edm.String">
184 <Annotation Term="Redfish.Enumeration">
185 <Collection>
186 <Record>
187 <PropertyValue Property="Member" String="5"/>
188 <Annotation Term="OData.Description" String="5 bits of data following the start bit."/>
189 </Record>
190 <Record>
191 <PropertyValue Property="Member" String="6"/>
192 <Annotation Term="OData.Description" String="6 bits of data following the start bit."/>
193 </Record>
194 <Record>
195 <PropertyValue Property="Member" String="7"/>
196 <Annotation Term="OData.Description" String="7 bits of data following the start bit."/>
197 </Record>
198 <Record>
199 <PropertyValue Property="Member" String="8"/>
200 <Annotation Term="OData.Description" String="8 bits of data following the start bit."/>
201 </Record>
202 </Collection>
203 </Annotation>
204 </TypeDefinition>
205
206 <TypeDefinition Name="StopBits" UnderlyingType="Edm.String">
207 <Annotation Term="Redfish.Enumeration">
208 <Collection>
209 <Record>
210 <PropertyValue Property="Member" String="1"/>
211 <Annotation Term="OData.Description" String="1 stop bit following the data bits."/>
212 </Record>
213 <Record>
214 <PropertyValue Property="Member" String="2"/>
215 <Annotation Term="OData.Description" String="2 stop bits following the data bits."/>
216 </Record>
217 </Collection>
218 </Annotation>
219 </TypeDefinition>
220
221 <EnumType Name="FlowControl">
222 <Member Name="None">
223 <Annotation Term="OData.Description" String="No flow control imposed."/>
224 </Member>
225 <Member Name="Software">
226 <Annotation Term="OData.Description" String="XON/XOFF in-band flow control imposed."/>
227 </Member>
228 <Member Name="Hardware">
229 <Annotation Term="OData.Description" String="Out of band flow control imposed."/>
230 </Member>
231 </EnumType>
232
233 <EnumType Name="PinOut">
234 <Member Name="Cisco">
235 <Annotation Term="OData.Description" String="The Cisco pin configuration."/>
236 </Member>
237 <Member Name="Cyclades">
238 <Annotation Term="OData.Description" String="The Cyclades pin configuration."/>
239 </Member>
240 <Member Name="Digi">
241 <Annotation Term="OData.Description" String="The Digi pin configuration."/>
242 </Member>
243 </EnumType>
244
245 <TypeDefinition Name="ConnectorType" UnderlyingType="Edm.String">
246 <Annotation Term="Redfish.Enumeration">
247 <Collection>
248 <Record>
249 <PropertyValue Property="Member" String="RJ45"/>
250 <Annotation Term="OData.Description" String="An RJ45 connector."/>
251 </Record>
252 <Record>
253 <PropertyValue Property="Member" String="RJ11"/>
254 <Annotation Term="OData.Description" String="An RJ11 connector."/>
255 </Record>
256 <Record>
257 <PropertyValue Property="Member" String="DB9 Female"/>
258 <Annotation Term="OData.Description" String="A DB9 Female connector."/>
259 </Record>
260 <Record>
261 <PropertyValue Property="Member" String="DB9 Male"/>
262 <Annotation Term="OData.Description" String="A DB9 Male connector."/>
263 </Record>
264 <Record>
265 <PropertyValue Property="Member" String="DB25 Female"/>
266 <Annotation Term="OData.Description" String="A DB25 Female connector."/>
267 </Record>
268 <Record>
269 <PropertyValue Property="Member" String="DB25 Male"/>
270 <Annotation Term="OData.Description" String="A DB25 Male connector."/>
271 </Record>
272 <Record>
273 <PropertyValue Property="Member" String="USB"/>
274 <Annotation Term="OData.Description" String="A USB connector."/>
275 </Record>
276 <Record>
277 <PropertyValue Property="Member" String="mUSB"/>
278 <Annotation Term="OData.Description" String="A mUSB connector."/>
279 </Record>
280 <Record>
281 <PropertyValue Property="Member" String="uUSB"/>
282 <Annotation Term="OData.Description" String="A uUSB connector."/>
283 </Record>
284 </Collection>
285 </Annotation>
286 </TypeDefinition>
287
288 </Schema>
289
290 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_2">
291 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
292 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
293 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_0.SerialInterface"/>
294 </Schema>
295
296 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_3">
297 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
298 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
299 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_2.SerialInterface"/>
300 </Schema>
301
302 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_4">
303 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
304 <Annotation Term="OData.Description" String="This version was created to correct the ConnectorType enum values to match orginal publication."/>
305 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_3.SerialInterface"/>
306 </Schema>
307
308 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_5">
309 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
310 <Annotation Term="OData.Description" String="This version was created to add descriptions to various enum values."/>
311 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_4.SerialInterface"/>
312 </Schema>
313
Ed Tanous530520e2019-01-02 13:41:37 -0800314 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_0_6">
315 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
316 <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."/>
317 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_5.SerialInterface"/>
318 </Schema>
319
Jason M. Billsea4aa752018-06-05 13:29:11 -0700320 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_0">
321 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
322 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_0_3.SerialInterface">
323 <Property Name="Actions" Type="SerialInterface.v1_1_0.Actions" Nullable="false">
324 <Annotation Term="OData.Description" String="The available actions for this resource."/>
325 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
326 </Property>
327 </EntityType>
328
329 <ComplexType Name="Actions">
330 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
331 <Annotation Term="OData.Description" String="The available actions for this resource."/>
332 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800333 <Property Name="Oem" Type="SerialInterface.v1_1_0.OemActions" Nullable="false">
334 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
335 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
336 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700337 </ComplexType>
338
339 <ComplexType Name="OemActions">
340 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
341 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
342 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
343 </ComplexType>
344 </Schema>
345
346 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_1">
347 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
348 <Annotation Term="OData.Description" String="This version was created to correct the ConnectorType enum values to match orginal publication."/>
349 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_0.SerialInterface"/>
350 </Schema>
351
352 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_2">
353 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
354 <Annotation Term="OData.Description" String="This version was created to add descriptions to various enum values."/>
355 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_1.SerialInterface"/>
356 </Schema>
357
Ed Tanous530520e2019-01-02 13:41:37 -0800358 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SerialInterface.v1_1_3">
359 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
360 <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."/>
361 <EntityType Name="SerialInterface" BaseType="SerialInterface.v1_1_2.SerialInterface"/>
362 </Schema>
363
Jason M. Billsea4aa752018-06-05 13:29:11 -0700364 </edmx:DataServices>
365</edmx:Edmx>