blob: 6274962aa7dda6e026e786a118e0ea8f439abee2 [file] [log] [blame]
Gunnar Mills09b9d452020-02-11 13:27:39 -06001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: AddressPool v1.0.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 -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Gunnar Mills09b9d452020-02-11 13:27:39 -06009<!--# 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource"/>
25 <edmx:Include Namespace="Resource.v1_0_0"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
28 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
29 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
30 </edmx:Reference>
31 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
32 <edmx:Include Namespace="Endpoint"/>
33 </edmx:Reference>
34 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Zone_v1.xml">
35 <edmx:Include Namespace="Zone"/>
36 </edmx:Reference>
37
38 <edmx:DataServices>
39
40 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AddressPool">
41 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
42
43 <EntityType Name="AddressPool" BaseType="Resource.v1_0_0.Resource" Abstract="true">
44 <Annotation Term="OData.Description" String="The schema definition of an address pool and its configuration."/>
45 <Annotation Term="OData.LongDescription" String="This Resource shall represent an address pool in a Redfish implementation."/>
46 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
47 <Annotation Term="Capabilities.InsertRestrictions">
48 <Record>
49 <PropertyValue Property="Insertable" Bool="false"/>
50 </Record>
51 </Annotation>
52 <Annotation Term="Capabilities.UpdateRestrictions">
53 <Record>
54 <PropertyValue Property="Updatable" Bool="true"/>
55 <Annotation Term="OData.Description" String="Any writable properties can be updated for address pools."/>
56 </Record>
57 </Annotation>
58 <Annotation Term="Capabilities.DeleteRestrictions">
59 <Record>
60 <PropertyValue Property="Deletable" Bool="true"/>
61 <Annotation Term="OData.Description" String="Address pools can be deleted."/>
62 </Record>
63 </Annotation>
64 <Annotation Term="Redfish.Uris">
65 <Collection>
66 <String>/redfish/v1/Fabrics/{FabricId}/AddressPools/{AddressPoolId}</String>
67 </Collection>
68 </Annotation>
69 </EntityType>
70 </Schema>
71
72 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AddressPool.v1_0_0">
73 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
74 <Annotation Term="Redfish.Release" String="2019.4"/>
75
76 <EntityType Name="AddressPool" BaseType="AddressPool.AddressPool">
77 <Property Name="Status" Type="Resource.Status" Nullable="false">
78 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/>
79 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the Resource."/>
80 </Property>
81 <Property Name="GenZ" Type="AddressPool.v1_0_0.GenZ" Nullable="false">
82 <Annotation Term="OData.Description" String="The Gen-Z related properties for this address pool."/>
83 <Annotation Term="OData.LongDescription" String="This property shall contain the Gen-Z related properties to this address pool."/>
84 </Property>
85 <Property Name="Links" Type="AddressPool.v1_0_0.Links" Nullable="false">
86 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
87 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described Links Property shall contain links to Resources related to but not subordinate to this Resource."/>
88 </Property>
89 <Property Name="Actions" Type="AddressPool.v1_0_0.Actions" Nullable="false">
90 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
91 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
92 </Property>
93 </EntityType>
94
95 <ComplexType Name="Links" BaseType="Resource.Links">
96 <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/>
97 <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."/>
98 <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
99 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
100 <Annotation Term="OData.Description" String="An array of links to the endpoints that this address pool contains."/>
101 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of type Endpoint that this address pool contains."/>
102 <Annotation Term="OData.AutoExpandReferences"/>
103 </NavigationProperty>
104 <NavigationProperty Name="Zones" Type="Collection(Zone.Zone)">
105 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
106 <Annotation Term="OData.Description" String="An array of links to the zones that this address pool contains."/>
107 <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to Resources of type Zone that this address pool contains."/>
108 <Annotation Term="OData.AutoExpandReferences"/>
109 </NavigationProperty>
110 </ComplexType>
111
112 <ComplexType Name="GenZ">
113 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
114 <Annotation Term="OData.Description" String="Gen-Z related properties for an addres pool."/>
115 <Annotation Term="OData.LongDescription" String="This type shall contain Gen-Z related properties for an addres pool."/>
116 <Property Name="MinCID" Type="Edm.Int64">
117 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
118 <Annotation Term="OData.Description" String="The minimum value for the Component Identifier (CID)."/>
119 <Annotation Term="OData.LongDescription" String="This property shall contain the minimum value for the Gen-Z Core Specification-defined Component Identifier (CID)."/>
120 </Property>
121 <Property Name="MaxCID" Type="Edm.Int64">
122 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
123 <Annotation Term="OData.Description" String="The maximum value for the Component Identifier (CID)."/>
124 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum value for the Gen-Z Core Specification-defined Component Identifier (CID)."/>
125 </Property>
126 <Property Name="MinSID" Type="Edm.Int64">
127 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
128 <Annotation Term="OData.Description" String="The minimum value for the Subnet Identifier (SID)."/>
129 <Annotation Term="OData.LongDescription" String="This property shall contain the minimum value for the Gen-Z Core Specification-defined Subnet Identifier (SID)."/>
130 </Property>
131 <Property Name="MaxSID" Type="Edm.Int64">
132 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
133 <Annotation Term="OData.Description" String="The maximum value for the Subnet Identifier (SID)."/>
134 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum value for the Gen-Z Core Specification-defined Subnet Identifier (SID)."/>
135 </Property>
136 <Property Name="AccessKey" Type="Edm.String">
137 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
138 <Annotation Term="OData.Description" String="The Access Key required for this address pool."/>
139 <Annotation Term="OData.LongDescription" String="This property shall contain the Gen-Z Core Specification-defined Access Key required for this address pool."/>
140 <Annotation Term="Validation.Pattern" String="^0[xX]([a-fA-F]|[0-9]){2}$"/>
141 </Property>
142 </ComplexType>
143
144 <ComplexType Name="Actions">
145 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
146 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
147 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
148 <Property Name="Oem" Type="AddressPool.v1_0_0.OemActions" Nullable="false">
149 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
150 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
151 </Property>
152 </ComplexType>
153
154 <ComplexType Name="OemActions">
155 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
156 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
157 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
158 </ComplexType>
159 </Schema>
160
161 </edmx:DataServices>
162</edmx:Edmx>