blob: e590f8045ba8192f2078fffdb56892b8ee88a3ac [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: Zone v1.2.1-->
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>
Ed Tanous530520e2019-01-02 13:41:37 -080017 <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>
Jason M. Billsea4aa752018-06-05 13:29:11 -070020 <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>
36
37 <edmx:DataServices>
38
39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone">
40 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41
42 <EntityType Name="Zone" BaseType="Resource.v1_0_0.Resource" Abstract="true">
43 <Annotation Term="OData.Description" String="The Zone schema represents a fabric zone."/>
44 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a simple zone for a Redfish implementation."/>
Ed Tanous530520e2019-01-02 13:41:37 -080045 <Annotation Term="Capabilities.InsertRestrictions">
46 <Record>
47 <PropertyValue Property="Insertable" Bool="false"/>
48 </Record>
49 </Annotation>
50 <Annotation Term="Capabilities.UpdateRestrictions">
51 <Record>
52 <PropertyValue Property="Updatable" Bool="false"/>
53 </Record>
54 </Annotation>
55 <Annotation Term="Capabilities.DeleteRestrictions">
56 <Record>
57 <PropertyValue Property="Deletable" Bool="false"/>
58 </Record>
59 </Annotation>
60 <Annotation Term="Redfish.Uris">
61 <Collection>
62 <String>/redfish/v1/Fabrics/{FabricId}/Zones/{ZoneId}</String>
63 <String>/redfish/v1/CompositionService/ResourceZones/{ZoneId}</String>
64 </Collection>
65 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070066 </EntityType>
67
68 </Schema>
69
70 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_0">
71 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
72
73 <EntityType Name="Zone" BaseType="Zone.Zone">
Ed Tanous530520e2019-01-02 13:41:37 -080074 <Property Name="Status" Type="Resource.Status" Nullable="false">
75 <Annotation Term="OData.Description" String="This property describes the status and health of the resource and its children."/>
76 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
77 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 <Property Name="Links" Type="Zone.v1_0_0.Links" Nullable="false">
79 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
80 <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."/>
81 </Property>
82 </EntityType>
83
84 <ComplexType Name="Links" BaseType="Resource.Links">
85 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
86 <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."/>
87 <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
89 <Annotation Term="OData.Description" String="Represents an array of references to the endpoints that are contained in this zone."/>
90 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this zone is associated with and shall reference a resource of type Endpoint."/>
91 <Annotation Term="OData.AutoExpandReferences"/>
92 </NavigationProperty>
93 <NavigationProperty Name="InvolvedSwitches" Type="Collection(Switch.Switch)">
94 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
95 <Annotation Term="OData.Description" String="Represents an array of references to the switches in this zone."/>
96 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this zone is associated with and shall reference a resource of type Switch."/>
97 <Annotation Term="OData.AutoExpandReferences"/>
98 </NavigationProperty>
99 </ComplexType>
100 </Schema>
101
102 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_1">
103 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
104 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
105 <EntityType Name="Zone" BaseType="Zone.v1_0_0.Zone"/>
106 </Schema>
107
108 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_2">
109 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
110 <Annotation Term="OData.Description" String="This version was created to remove the Nullable facet on NavigationProperties of type Collection."/>
111 <EntityType Name="Zone" BaseType="Zone.v1_0_1.Zone"/>
112 </Schema>
113
Ed Tanous530520e2019-01-02 13:41:37 -0800114 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_3">
115 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
116 <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."/>
117 <EntityType Name="Zone" BaseType="Zone.v1_0_2.Zone"/>
118 </Schema>
119
Jason M. Billsea4aa752018-06-05 13:29:11 -0700120 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_0">
121 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
122 <EntityType Name="Zone" BaseType="Zone.v1_0_2.Zone">
123 <Property Name="Actions" Type="Zone.v1_1_0.Actions" Nullable="false">
124 <Annotation Term="OData.Description" String="The available actions for this resource."/>
125 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
126 </Property>
127 </EntityType>
128
129 <ComplexType Name="Links" BaseType="Zone.v1_0_0.Links">
130 <NavigationProperty Name="ResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
131 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
132 <Annotation Term="OData.Description" String="An array of references to the Resource Blocks that are used in this Zone."/>
133 <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type ResourceBlock that are associated with this Zone."/>
134 <Annotation Term="OData.AutoExpandReferences"/>
135 </NavigationProperty>
136 </ComplexType>
137
138 <ComplexType Name="Actions">
139 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
140 <Annotation Term="OData.Description" String="The available actions for this resource."/>
141 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800142 <Property Name="Oem" Type="Zone.v1_1_0.OemActions" Nullable="false">
143 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
144 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
145 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700146 </ComplexType>
147
148 <ComplexType Name="OemActions">
149 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
150 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
151 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
152 </ComplexType>
153 </Schema>
154
155 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_1">
156 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
157 <Annotation Term="OData.Description" String="This version was created to perform editoral updates of descriptions defined in this schema."/>
158 <EntityType Name="Zone" BaseType="Zone.v1_1_0.Zone"/>
159 </Schema>
160
Ed Tanous530520e2019-01-02 13:41:37 -0800161 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_2">
162 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
163 <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."/>
164 <EntityType Name="Zone" BaseType="Zone.v1_1_1.Zone"/>
165 </Schema>
166
Jason M. Billsea4aa752018-06-05 13:29:11 -0700167 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_0">
168 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
169 <EntityType Name="Zone" BaseType="Zone.v1_1_1.Zone">
170 <Property Name="Identifiers" Type="Collection(Resource.Identifier)">
171 <Annotation Term="OData.Description" String="Identifiers for this zone."/>
172 <Annotation Term="OData.LongDescription" String="Identifiers for this zone shall be unique in the context of other zones."/>
173 </Property>
174 </EntityType>
175 </Schema>
176
Ed Tanous530520e2019-01-02 13:41:37 -0800177 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_1">
178 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
179 <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."/>
180 <EntityType Name="Zone" BaseType="Zone.v1_2_0.Zone"/>
181 </Schema>
182
Jason M. Billsea4aa752018-06-05 13:29:11 -0700183 </edmx:DataServices>
184</edmx:Edmx>