blob: 276a5b53b3ff8d659b9c297f40e6974cdc03ffa4 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: Port v1.1.0-->
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-2017 Distributed Management Task Force, Inc. (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://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
18 <edmx:Include Namespace="Resource"/>
19 <edmx:Include Namespace="Resource.v1_0_0"/>
20 </edmx:Reference>
21 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
22 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
25 <edmx:Include Namespace="Endpoint"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Switch_v1.xml">
28 <edmx:Include Namespace="Switch"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
31 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
32 </edmx:Reference>
33 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Protocol_v1.xml">
34 <edmx:Include Namespace="Protocol"/>
35 </edmx:Reference>
36
37 <edmx:DataServices>
38
39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port">
40 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41
42 <EntityType Name="Port" BaseType="Resource.v1_0_0.Resource" Abstract="true">
43 <Annotation Term="OData.Description" String="Port contains properties describing a port of a switch."/>
44 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a simple switch port for a Redfish implementation."/>
45 </EntityType>
46
47 <Action Name="Reset" IsBound="true">
48 <Parameter Name="Port" Type="Port.v1_0_0.Actions"/>
49 <Parameter Name="ResetType" Type="Resource.ResetType">
50 <Annotation Term="OData.Description" String="The type of reset to be performed."/>
51 <Annotation Term="OData.LongDescription" String="This parameter shall define the type of reset to be performed. The service may accept a request without the parameter and perform an implementation specific default reset."/>
52 </Parameter>
53 <Annotation Term="OData.Description" String="This action is used to reset this port."/>
54 <Annotation Term="OData.LongDescription" String="This action shall perform a reset of this port."/>
55 </Action>
56
57 </Schema>
58
59 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port.v1_0_0">
60 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
61
62 <EntityType Name="Port" BaseType="Port.Port">
63 <Property Name="Status" Type="Resource.Status" Nullable="false"/>
64 <Property Name="PortId" Type="Edm.String">
65 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
66 <Annotation Term="OData.Description" String="This is the label of this port on the physical switch package."/>
67 <Annotation Term="OData.LongDescription" String="The value of this property shall be the name of the switch port as indicated on the outside of the switch."/>
68 </Property>
69 <Property Name="PortProtocol" Type="Protocol.Protocol">
70 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
71 <Annotation Term="OData.Description" String="The protocol being sent over this port."/>
72 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the protocol being sent over this port."/>
73 </Property>
74 <Property Name="PortType" Type="Port.v1_0_0.PortType">
75 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
76 <Annotation Term="OData.Description" String="This is the type of this port."/>
77 <Annotation Term="OData.LongDescription" String="The value of this property shall be the port type for this port."/>
78 </Property>
79 <Property Name="CurrentSpeedGbps" Type="Edm.Decimal">
80 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
81 <Annotation Term="OData.Description" String="The current speed of this port."/>
82 <Annotation Term="OData.LongDescription" String="The value of this property shall be the speed of this port currently negotiated and running."/>
83 <Annotation Term="Measures.Unit" String="Gbit/s"/>
84 </Property>
85 <Property Name="MaxSpeedGbps" Type="Edm.Decimal">
86 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
87 <Annotation Term="OData.Description" String="The maximum speed of this port as currently configured."/>
88 <Annotation Term="OData.LongDescription" String="The value of this property shall be the maximum speed of which this port is capable of being configured. If capable of auto-negotiation, the system shall attempt to negotiate at the maximum speed set."/>
89 <Annotation Term="Measures.Unit" String="Gbit/s"/>
90 </Property>
91 <Property Name="Width" Type="Edm.Int64">
92 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
93 <Annotation Term="OData.Description" String="The number of lanes, phys, or other physical transport links that this port contains."/>
94 <Annotation Term="OData.LongDescription" String="The value of this property shall be the number of physical transport links that this port contains."/>
95 </Property>
96 <Property Name="Links" Type="Port.v1_0_0.Links" Nullable="false">
97 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
98 <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
99 </Property>
100 <Property Name="Actions" Type="Port.v1_0_0.Actions" Nullable="false">
101 <Annotation Term="OData.Description" String="The available actions for this resource."/>
102 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
103 </Property>
104 </EntityType>
105
106 <ComplexType Name="Links" BaseType="Resource.Links">
107 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
108 <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
109 <NavigationProperty Name="AssociatedEndpoints" Type="Collection(Endpoint.Endpoint)">
110 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
111 <Annotation Term="OData.Description" String="An array of references to the endpoints that connect to the switch through this port."/>
112 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this port is associated with and shall reference a resource of type Endpoint."/>
113 <Annotation Term="OData.AutoExpandReferences"/>
114 </NavigationProperty>
115 <NavigationProperty Name="ConnectedSwitches" Type="Collection(Switch.Switch)">
116 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
117 <Annotation Term="OData.Description" String="An array of references to the switches that connect to the switch through this port."/>
118 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this port is associated with and shall reference a resource of type Switch."/>
119 <Annotation Term="OData.AutoExpandReferences"/>
120 </NavigationProperty>
121 <NavigationProperty Name="ConnectedSwitchPorts" Type="Collection(Port.Port)">
122 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
123 <Annotation Term="OData.Description" String="An array of references to the ports that connect to the switch through this port."/>
124 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this port is associated with and shall reference a resource of type Port."/>
125 <Annotation Term="OData.AutoExpandReferences"/>
126 </NavigationProperty>
127 </ComplexType>
128
129 <ComplexType Name="Actions">
130 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
131 <Annotation Term="OData.Description" String="The available actions for this resource."/>
132 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
133 <Property Name="Oem" Type="Port.v1_0_0.OemActions" Nullable="false"/>
134 </ComplexType>
135
136 <ComplexType Name="OemActions">
137 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
138 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
139 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
140 </ComplexType>
141
142 <EnumType Name="PortType">
143 <Member Name="UpstreamPort">
144 <Annotation Term="OData.Description" String="This port connects to a host device."/>
145 </Member>
146 <Member Name="DownstreamPort">
147 <Annotation Term="OData.Description" String="This port connects to a target device."/>
148 </Member>
149 <Member Name="InterswitchPort">
150 <Annotation Term="OData.Description" String="This port connects to another switch."/>
151 </Member>
152 <Member Name="ManagementPort">
153 <Annotation Term="OData.Description" String="This port connects to a switch manager."/>
154 </Member>
155 <Member Name="BidirectionalPort">
156 <Annotation Term="OData.Description" String="This port connects to any type of device."/>
157 </Member>
158 <Member Name="UnconfiguredPort">
159 <Annotation Term="OData.Description" String="This port has not yet been configured."/>
160 </Member>
161 </EnumType>
162 </Schema>
163
164 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port.v1_0_1">
165 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
166 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
167 <EntityType Name="Port" BaseType="Port.v1_0_0.Port"/>
168 </Schema>
169
170 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port.v1_0_2">
171 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
172 <Annotation Term="OData.Description" String="This version was created to remove the Nullable facet on NavigationProperties of type Collection."/>
173 <EntityType Name="Port" BaseType="Port.v1_0_1.Port"/>
174 </Schema>
175
176 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port.v1_0_3">
177 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
178 <Annotation Term="OData.Description" String="This version was created to change references to PortProtocol to use the unversioned definition. It was also created to correct the Descriptions and LongDescriptions used in the defined Actions."/>
179 <EntityType Name="Port" BaseType="Port.v1_0_2.Port"/>
180 </Schema>
181
182 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Port.v1_1_0">
183 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
184 <EntityType Name="Port" BaseType="Port.v1_0_3.Port">
185 <Property Name="Location" Type="Resource.Location" Nullable="false"/>
186 </EntityType>
187 </Schema>
188
189 </edmx:DataServices>
190</edmx:Edmx>