blob: 0ec2e61d29574fdadfd71833df5ab45ae5ee4aab [file] [log] [blame]
Ed Tanouscb103132019-10-08 11:34:22 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06004<!--# Redfish Schema: Zone v1.4.0 -->
Ed Tanouscb103132019-10-08 11:34:22 -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 -->
8<!--# Copyright 2014-2019 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.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/Resource_v1.xml">
21 <edmx:Include Namespace="Resource"/>
22 <edmx:Include Namespace="Resource.v1_0_0"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
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://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
31 <edmx:Include Namespace="Endpoint"/>
32 </edmx:Reference>
33 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlock_v1.xml">
34 <edmx:Include Namespace="ResourceBlock"/>
35 </edmx:Reference>
Gunnar Mills09b9d452020-02-11 13:27:39 -060036 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/AddressPool_v1.xml">
37 <edmx:Include Namespace="AddressPool"/>
38 </edmx:Reference>
Ed Tanouscb103132019-10-08 11:34:22 -070039
40 <edmx:DataServices>
41
42 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone">
43 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
44
45 <EntityType Name="Zone" BaseType="Resource.v1_0_0.Resource" Abstract="true">
46 <Annotation Term="OData.Description" String="The Zone schema describes a simple fabric zone for a Redfish implementation."/>
47 <Annotation Term="OData.LongDescription" String="This Resource shall represent a simple fabric zone for a Redfish implementation."/>
48 <Annotation Term="Capabilities.InsertRestrictions">
49 <Record>
50 <PropertyValue Property="Insertable" Bool="false"/>
51 </Record>
52 </Annotation>
53 <Annotation Term="Capabilities.UpdateRestrictions">
54 <Record>
Gunnar Mills09b9d452020-02-11 13:27:39 -060055 <PropertyValue Property="Updatable" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -070056 </Record>
57 </Annotation>
58 <Annotation Term="Capabilities.DeleteRestrictions">
59 <Record>
Gunnar Mills09b9d452020-02-11 13:27:39 -060060 <PropertyValue Property="Deletable" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -070061 </Record>
62 </Annotation>
63 <Annotation Term="Redfish.Uris">
64 <Collection>
65 <String>/redfish/v1/Fabrics/{FabricId}/Zones/{ZoneId}</String>
66 <String>/redfish/v1/CompositionService/ResourceZones/{ZoneId}</String>
67 </Collection>
68 </Annotation>
69 </EntityType>
70
71 </Schema>
72
73 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_0">
74 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
75 <Annotation Term="Redfish.Release" String="2016.2"/>
76
77 <EntityType Name="Zone" BaseType="Zone.Zone">
78 <Property Name="Status" Type="Resource.Status" Nullable="false">
79 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/>
80 <Annotation Term="OData.LongDescription" String="This property shall contain the status and health properties of the Resource and its children."/>
81 </Property>
82 <Property Name="Links" Type="Zone.v1_0_0.Links" Nullable="false">
83 <Annotation Term="OData.Description" String="The links to Resources related to but not subordinate to this Resource."/>
84 <Annotation Term="OData.LongDescription" String="This Redfish Specification-described property shall contain links to Resources related to but not subordinate to this Resource."/>
85 </Property>
86 </EntityType>
87
88 <ComplexType Name="Links" BaseType="Resource.Links">
89 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
90 <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to Resources that are not contained in or subordinate to this Resource."/>
91 <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
92 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
93 <Annotation Term="OData.Description" String="The links to the endpoints that this zone contains."/>
94 <Annotation Term="OData.LongDescription" String="This property shall contain a link to the Resources of the Endpoint type that this zone contains."/>
95 <Annotation Term="OData.AutoExpandReferences"/>
96 </NavigationProperty>
97 <NavigationProperty Name="InvolvedSwitches" Type="Collection(Switch.Switch)">
98 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
99 <Annotation Term="OData.Description" String="The links to the collection of switches in this zone."/>
100 <Annotation Term="OData.LongDescription" String="This property shall contain the links to the Resource Collection of type Switch in this zone."/>
101 <Annotation Term="OData.AutoExpandReferences"/>
102 </NavigationProperty>
103 </ComplexType>
104 </Schema>
105
106 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_1">
107 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
108 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
109 <EntityType Name="Zone" BaseType="Zone.v1_0_0.Zone"/>
110 </Schema>
111
112 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_2">
113 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
114 <Annotation Term="OData.Description" String="This version was created to remove the Nullable facet from NavigationProperties of the Collection type."/>
115 <EntityType Name="Zone" BaseType="Zone.v1_0_1.Zone"/>
116 </Schema>
117
118 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_3">
119 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
120 <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."/>
121 <EntityType Name="Zone" BaseType="Zone.v1_0_2.Zone"/>
122 </Schema>
123
124 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_4">
125 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
126 <Annotation Term="OData.Description" String="This version was created to regenerate the JSON Schema so that URI properties use the uri-reference format."/>
127 <EntityType Name="Zone" BaseType="Zone.v1_0_3.Zone"/>
128 </Schema>
129
130 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_5">
131 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
132 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
133 <EntityType Name="Zone" BaseType="Zone.v1_0_4.Zone"/>
134 </Schema>
135
136 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_0">
137 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
138 <Annotation Term="Redfish.Release" String="2017.1"/>
139 <EntityType Name="Zone" BaseType="Zone.v1_0_2.Zone">
140 <Property Name="Actions" Type="Zone.v1_1_0.Actions" Nullable="false">
141 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
142 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
143 </Property>
144 </EntityType>
145
146 <ComplexType Name="Links" BaseType="Zone.v1_0_0.Links">
147 <NavigationProperty Name="ResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
148 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
149 <Annotation Term="OData.Description" String="The links to the Resource Blocks with which this zone is associated."/>
150 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of the ResourceBlock type with which this zone is associated."/>
151 <Annotation Term="OData.AutoExpandReferences"/>
152 </NavigationProperty>
153 </ComplexType>
154
155 <ComplexType Name="Actions">
156 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
157 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
158 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
159 <Property Name="Oem" Type="Zone.v1_1_0.OemActions" Nullable="false">
160 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
161 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
162 </Property>
163 </ComplexType>
164
165 <ComplexType Name="OemActions">
166 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
167 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
168 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
169 </ComplexType>
170 </Schema>
171
172 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_1">
173 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
174 <Annotation Term="OData.Description" String="This version was created to edit Schema-defined descriptions."/>
175 <EntityType Name="Zone" BaseType="Zone.v1_1_0.Zone"/>
176 </Schema>
177
178 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_2">
179 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
180 <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."/>
181 <EntityType Name="Zone" BaseType="Zone.v1_1_1.Zone"/>
182 </Schema>
183
184 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_3">
185 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
186 <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."/>
187 <EntityType Name="Zone" BaseType="Zone.v1_1_2.Zone"/>
188 </Schema>
189
190 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_4">
191 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
192 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
193 <EntityType Name="Zone" BaseType="Zone.v1_1_3.Zone"/>
194 </Schema>
195
196 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_0">
197 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
198 <Annotation Term="Redfish.Release" String="2017.3"/>
199 <EntityType Name="Zone" BaseType="Zone.v1_1_1.Zone">
200 <Property Name="Identifiers" Type="Collection(Resource.Identifier)">
201 <Annotation Term="OData.Description" String="The identifiers for this zone."/>
202 <Annotation Term="OData.LongDescription" String="This property shall contain a Resource Collection of identifiers for this zone, which shall be unique in the context of other zones."/>
203 </Property>
204 </EntityType>
205 </Schema>
206
207 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_1">
208 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
209 <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."/>
210 <EntityType Name="Zone" BaseType="Zone.v1_2_0.Zone"/>
211 </Schema>
212
213 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_2">
214 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
215 <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 Identifiers to disallow it from being null."/>
216 <EntityType Name="Zone" BaseType="Zone.v1_2_1.Zone"/>
217 </Schema>
218
219 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_3">
220 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
221 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
222 <EntityType Name="Zone" BaseType="Zone.v1_2_2.Zone"/>
223 </Schema>
224
225 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_3_0">
226 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
227 <Annotation Term="Redfish.Release" String="2019.1"/>
228 <EntityType Name="Zone" BaseType="Zone.v1_2_2.Zone">
229 <Property Name="ExternalAccessibility" Type="Zone.v1_3_0.ExternalAccessibility">
230 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
231 <Annotation Term="OData.Description" String="Indicates accessiblity of endpoints in this zone to endpoints outside of this zone."/>
232 <Annotation Term="OData.LongDescription" String="This property shall contain and indication of accessiblity of endpoints in this zone to endpoints outside of this zone."/>
233 </Property>
234 </EntityType>
235
236 <EnumType Name="ExternalAccessibility">
237 <Member Name="GloballyAccessible">
238 <Annotation Term="OData.Description" String="Any external entity with the correct access details, which may include authorization information, can access the endpoints that this zone lists."/>
239 <Annotation Term="OData.LongDescription" String="This value shall indicate that any external entity with the correct access details, which may include authorization information, can access the endpoints that this zone lists, regardless of zone."/>
240 </Member>
241 <Member Name="NonZonedAccessible">
242 <Annotation Term="OData.Description" String="Any external entity that another zone does not explicitly list can access the endpoints that this zone lists."/>
243 <Annotation Term="OData.LongDescription" String="This value shall indicate that any external entity that another zone does not explicitly list can access the endpoints that this zone lists."/>
244 </Member>
245 <Member Name="ZoneOnly">
246 <Annotation Term="OData.Description" String="Only accessible by endpoints that this zone explicitly lists."/>
247 <Annotation Term="OData.LongDescription" String="This value shall indicate that endpoints in this zone are only accessible by endpoints that this zone explicitly lists."/>
248 </Member>
249 </EnumType>
250 </Schema>
251
252 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_3_1">
253 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
254 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
255 <EntityType Name="Zone" BaseType="Zone.v1_3_0.Zone"/>
256 </Schema>
257
Gunnar Mills09b9d452020-02-11 13:27:39 -0600258 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_4_0">
259 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
260 <Annotation Term="Redfish.Release" String="2019.4"/>
261
262 <EntityType Name="Zone" BaseType="Zone.v1_3_1.Zone">
263 <Property Name="ZoneType" Type="Zone.v1_4_0.ZoneType">
264 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
265 <Annotation Term="OData.Description" String="The type of zone."/>
266 <Annotation Term="OData.LongDescription" String="This property shall contain the type of zone that this zone represents."/>
267 </Property>
268 <Property Name="DefaultRoutingEnabled" Type="Edm.Boolean">
269 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
270 <Annotation Term="OData.Description" String="This property indicates whether routing within this zone is enabled."/>
271 <Annotation Term="OData.LongDescription" String="This property shall indicate whether routing within this zone is enabled."/>
272 </Property>
273 </EntityType>
274
275 <EnumType Name="ZoneType">
276 <Member Name="Default">
277 <Annotation Term="OData.Description" String="The zone in which all endpoints are added by default when instantiated."/>
278 <Annotation Term="OData.LongDescription" String="This value shall indicate a zone in which all endpoints are added by default when instantiated."/>
279 </Member>
280 <Member Name="ZoneOfEndpoints">
281 <Annotation Term="OData.Description" String="A zone that contains endpoints."/>
282 <Annotation Term="OData.LongDescription" String="This value shall indicate a zone that contains Resources of type Endpoint."/>
283 </Member>
284 <Member Name="ZoneOfZones">
285 <Annotation Term="OData.Description" String="A zone that contains zones."/>
286 <Annotation Term="OData.LongDescription" String="This value shall indicate a zone that contains Resources of type Zone."/>
287 </Member>
288 </EnumType>
289
290 <ComplexType Name="Links" BaseType="Zone.v1_1_0.Links">
291 <NavigationProperty Name="AddressPools" Type="Collection(AddressPool.AddressPool)">
292 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
293 <Annotation Term="OData.Description" String="An array of links to the address pools associated with this zone."/>
294 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of type AddressPool with which this zone is associated."/>
295 <Annotation Term="OData.AutoExpandReferences"/>
296 </NavigationProperty>
297 <NavigationProperty Name="ContainedByZones" Type="Collection(Zone.Zone)">
298 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
299 <Annotation Term="OData.Description" String="An array of links to the zone that contain this zone."/>
300 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of type Zone that represent the zones that contain this zone. The zones referenced by this property shall not be contained by other zones."/>
301 <Annotation Term="OData.AutoExpandReferences"/>
302 </NavigationProperty>
303 <NavigationProperty Name="ContainsZones" Type="Collection(Zone.Zone)">
304 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
305 <Annotation Term="OData.Description" String="An array of links to the zones that are contained by this zone."/>
306 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of type Zone that represent the zones that are contained by this zone. The zones referenced by this property shall not contain other zones."/>
307 <Annotation Term="OData.AutoExpandReferences"/>
308 </NavigationProperty>
309 </ComplexType>
310 </Schema>
311
Ed Tanouscb103132019-10-08 11:34:22 -0700312 </edmx:DataServices>
313</edmx:Edmx>