blob: 4799ec34eee89bde65e950996371efa9d4ac9477 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: Zone v1.2.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/Switch_v1.xml">
25 <edmx:Include Namespace="Switch"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
28 <edmx:Include Namespace="Endpoint"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlock_v1.xml">
31 <edmx:Include Namespace="ResourceBlock"/>
32 </edmx:Reference>
33
34 <edmx:DataServices>
35
36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone">
37 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
38
39 <EntityType Name="Zone" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40 <Annotation Term="OData.Description" String="The Zone schema represents a fabric zone."/>
41 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a simple zone for a Redfish implementation."/>
42 </EntityType>
43
44 </Schema>
45
46 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_0">
47 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
48
49 <EntityType Name="Zone" BaseType="Zone.Zone">
50 <Property Name="Status" Type="Resource.Status" Nullable="false"/>
51 <Property Name="Links" Type="Zone.v1_0_0.Links" Nullable="false">
52 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
53 <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."/>
54 </Property>
55 </EntityType>
56
57 <ComplexType Name="Links" BaseType="Resource.Links">
58 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
59 <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."/>
60 <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
61 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
62 <Annotation Term="OData.Description" String="Represents an array of references to the endpoints that are contained in this zone."/>
63 <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."/>
64 <Annotation Term="OData.AutoExpandReferences"/>
65 </NavigationProperty>
66 <NavigationProperty Name="InvolvedSwitches" Type="Collection(Switch.Switch)">
67 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
68 <Annotation Term="OData.Description" String="Represents an array of references to the switches in this zone."/>
69 <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."/>
70 <Annotation Term="OData.AutoExpandReferences"/>
71 </NavigationProperty>
72 </ComplexType>
73 </Schema>
74
75 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_1">
76 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
77 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
78 <EntityType Name="Zone" BaseType="Zone.v1_0_0.Zone"/>
79 </Schema>
80
81 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_0_2">
82 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
83 <Annotation Term="OData.Description" String="This version was created to remove the Nullable facet on NavigationProperties of type Collection."/>
84 <EntityType Name="Zone" BaseType="Zone.v1_0_1.Zone"/>
85 </Schema>
86
87 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_0">
88 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
89 <EntityType Name="Zone" BaseType="Zone.v1_0_2.Zone">
90 <Property Name="Actions" Type="Zone.v1_1_0.Actions" Nullable="false">
91 <Annotation Term="OData.Description" String="The available actions for this resource."/>
92 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
93 </Property>
94 </EntityType>
95
96 <ComplexType Name="Links" BaseType="Zone.v1_0_0.Links">
97 <NavigationProperty Name="ResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
98 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
99 <Annotation Term="OData.Description" String="An array of references to the Resource Blocks that are used in this Zone."/>
100 <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."/>
101 <Annotation Term="OData.AutoExpandReferences"/>
102 </NavigationProperty>
103 </ComplexType>
104
105 <ComplexType Name="Actions">
106 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
107 <Annotation Term="OData.Description" String="The available actions for this resource."/>
108 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
109 <Property Name="Oem" Type="Zone.v1_1_0.OemActions" Nullable="false"/>
110 </ComplexType>
111
112 <ComplexType Name="OemActions">
113 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
114 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
115 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
116 </ComplexType>
117 </Schema>
118
119 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_1_1">
120 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
121 <Annotation Term="OData.Description" String="This version was created to perform editoral updates of descriptions defined in this schema."/>
122 <EntityType Name="Zone" BaseType="Zone.v1_1_0.Zone"/>
123 </Schema>
124
125 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone.v1_2_0">
126 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
127 <EntityType Name="Zone" BaseType="Zone.v1_1_1.Zone">
128 <Property Name="Identifiers" Type="Collection(Resource.Identifier)">
129 <Annotation Term="OData.Description" String="Identifiers for this zone."/>
130 <Annotation Term="OData.LongDescription" String="Identifiers for this zone shall be unique in the context of other zones."/>
131 </Property>
132 </EntityType>
133 </Schema>
134
135 </edmx:DataServices>
136</edmx:Edmx>