1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  IPAddresses v1.1.4                                                  -->
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-2023 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/RedfishExtensions_v1.xml">
18    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
19    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
20  </edmx:Reference>
21  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
22    <edmx:Include Namespace="Resource"/>
23  </edmx:Reference>
24
25  <edmx:DataServices>
26
27    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses">
28      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
29
30      <ComplexType Name="IPv4Address" Abstract="true">
31        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
32        <Annotation Term="OData.Description" String="This type describes an IPv4 address."/>
33        <Annotation Term="OData.LongDescription" String="This type shall describe an IPv4 address assigned to an interface."/>
34      </ComplexType>
35
36      <ComplexType Name="IPv6Address" Abstract="true">
37        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
38        <Annotation Term="OData.Description" String="This type describes an IPv6 address."/>
39        <Annotation Term="OData.LongDescription" String="This type shall describe an IPv6 address assigned to an interface."/>
40      </ComplexType>
41
42      <ComplexType Name="IPv6StaticAddress" Abstract="true">
43        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
44        <Annotation Term="OData.Description" String="This type represents a single IPv6 static address to be assigned on a network interface."/>
45        <Annotation Term="OData.LongDescription" String="This type shall represent a single IPv6 static address to be assigned on a network interface."/>
46      </ComplexType>
47
48      <ComplexType Name="IPv6GatewayStaticAddress" Abstract="true">
49        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
50        <Annotation Term="OData.Description" String="This type represents a single IPv6 static address to be assigned on a network interface."/>
51        <Annotation Term="OData.LongDescription" String="This type shall represent a single IPv6 static address to be assigned on a network interface."/>
52      </ComplexType>
53    </Schema>
54
55    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_0">
56      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
57      <Annotation Term="Redfish.Release" String="1.0"/>
58
59      <ComplexType Name="IPv4Address" BaseType="IPAddresses.IPv4Address">
60        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
61          <Annotation Term="OData.Description" String="The OEM extension property."/>
62          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
63        </Property>
64        <Property Name="Address" Type="Edm.String">
65          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
66          <Annotation Term="OData.Description" String="The IPv4 address."/>
67          <Annotation Term="OData.LongDescription" String="This property shall contain an IPv4 address assigned to this interface.  If DHCPv4 is enabled on the interface, this property becomes read-only."/>
68          <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/>
69        </Property>
70        <Property Name="SubnetMask" Type="IPAddresses.v1_0_0.SubnetMask">
71          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
72          <Annotation Term="OData.Description" String="The IPv4 subnet mask."/>
73          <Annotation Term="OData.LongDescription" String="This property shall contain the IPv4 subnet mask for this address.  If DHCPv4 is enabled on the interface, this property becomes read-only."/>
74        </Property>
75        <Property Name="AddressOrigin" Type="IPAddresses.v1_0_0.IPv4AddressOrigin">
76          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
77          <Annotation Term="OData.Description" String="This indicates how the address was determined."/>
78          <Annotation Term="OData.LongDescription" String="This property shall contain the IP address origin for this network interface."/>
79        </Property>
80        <Property Name="Gateway" Type="Edm.String">
81          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
82          <Annotation Term="OData.Description" String="The IPv4 gateway for this address."/>
83          <Annotation Term="OData.LongDescription" String="This property shall contain the IPv4 default gateway address for this interface.  If DHCPv4 is enabled on the interface and is configured to set the IPv4 default gateway address, this property becomes read-only.  If multiple IPv4 addresses are present on the same interface, only a single default gateway is allowed.  Any additional IPv4 addresses shall not have a default gateway specified."/>
84          <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/>
85        </Property>
86      </ComplexType>
87
88      <ComplexType Name="IPv6Address" BaseType="IPAddresses.IPv6Address">
89        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
90          <Annotation Term="OData.Description" String="The OEM extension property."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
92        </Property>
93        <Property Name="Address" Type="Edm.String">
94          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
95          <Annotation Term="OData.Description" String="The IPv6 address."/>
96          <Annotation Term="OData.LongDescription" String="This property lists an IPv6 address that is currently assigned on this interface."/>
97          <Annotation Term="Redfish.IPv6Format"/>
98        </Property>
99        <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength">
100          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
101          <Annotation Term="OData.Description" String="The IPv6 address prefix Length."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain the IPv6 address prefix length for this interface."/>
103        </Property>
104        <Property Name="AddressOrigin" Type="IPAddresses.v1_0_0.IPv6AddressOrigin">
105          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
106          <Annotation Term="OData.Description" String="This indicates how the address was determined."/>
107          <Annotation Term="OData.LongDescription" String="This property shall contain the IPv6 address origin for this interface."/>
108        </Property>
109        <Property Name="AddressState" Type="IPAddresses.v1_0_0.AddressState">
110          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
111          <Annotation Term="OData.Description" String="The current RFC4862-defined state of this address."/>
112          <Annotation Term="OData.LongDescription" String="This property shall contain the current RFC4862-defined state of this address.  Preferred and Deprecated states follow the definitions in RFC4862, section 5.5.4.  The Tentative state indicates that the address is undergoing Duplicate Address Detection (DAD), as defined in RFC4862, section 5.4.  The Failed state indicates a static address that did not pass DAD.  A static address in the Failed state is not in use on the network stack, and corrective action is required to remedy this condition."/>
113        </Property>
114      </ComplexType>
115
116      <EnumType Name="IPv4AddressOrigin">
117        <Member Name="Static">
118          <Annotation Term="OData.Description" String="A user-configured static address."/>
119        </Member>
120        <Member Name="DHCP">
121          <Annotation Term="OData.Description" String="A DHCPv4 service-provided address."/>
122        </Member>
123        <Member Name="BOOTP">
124          <Annotation Term="OData.Description" String="A BOOTP service-provided address."/>
125        </Member>
126        <Member Name="IPv4LinkLocal">
127          <Annotation Term="OData.Description" String="The address is valid for only this network segment, or link."/>
128        </Member>
129      </EnumType>
130
131      <EnumType Name="IPv6AddressOrigin">
132        <Member Name="Static">
133          <Annotation Term="OData.Description" String="A static user-configured address."/>
134        </Member>
135        <Member Name="DHCPv6">
136          <Annotation Term="OData.Description" String="A DHCPv6 service-provided address."/>
137        </Member>
138        <Member Name="LinkLocal">
139          <Annotation Term="OData.Description" String="The address is valid for only this network segment, or link."/>
140        </Member>
141        <Member Name="SLAAC">
142          <Annotation Term="OData.Description" String="A stateless autoconfiguration (SLAAC) service-provided address."/>
143        </Member>
144      </EnumType>
145
146      <TypeDefinition Name="SubnetMask" UnderlyingType="Edm.String">
147        <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/>
148      </TypeDefinition>
149
150      <TypeDefinition Name="PrefixLength" UnderlyingType="Edm.Int64">
151        <Annotation Term="Validation.Minimum" Int="0"/>
152        <Annotation Term="Validation.Maximum" Int="128"/>
153      </TypeDefinition>
154
155      <EnumType Name="AddressState">
156        <Member Name="Preferred">
157          <Annotation Term="OData.Description" String="This address is currently within both its RFC4862-defined valid and preferred lifetimes."/>
158        </Member>
159        <Member Name="Deprecated">
160          <Annotation Term="OData.Description" String="This address is currently within its valid lifetime but is now outside its RFC4862-defined preferred lifetime."/>
161        </Member>
162        <Member Name="Tentative">
163          <Annotation Term="OData.Description" String="This address is currently undergoing Duplicate Address Detection (DAD) testing, as defined in RFC4862, section 5.4."/>
164        </Member>
165        <Member Name="Failed">
166          <Annotation Term="OData.Description" String="This address has failed Duplicate Address Detection (DAD) testing, as defined in RFC4862, section 5.4, and is not currently in use."/>
167        </Member>
168      </EnumType>
169
170      <ComplexType Name="IPv6StaticAddress" BaseType="IPAddresses.IPv6StaticAddress">
171        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
172          <Annotation Term="OData.Description" String="The OEM extension property."/>
173          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
174        </Property>
175        <Property Name="Address" Type="Edm.String">
176          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
177          <Annotation Term="OData.Description" String="A valid IPv6 address."/>
178          <Annotation Term="OData.LongDescription" String="This property provides access to a static IPv6 address that is currently assigned on a network interface."/>
179          <Annotation Term="Redfish.Required"/>
180          <Annotation Term="Redfish.IPv6Format"/>
181        </Property>
182        <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength">
183          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
184          <Annotation Term="OData.Description" String="The prefix length, in bits, of this IPv6 address."/>
185          <Annotation Term="OData.LongDescription" String="This property shall contain the IPv6 network prefix length, in bits, for this address."/>
186          <Annotation Term="Redfish.Required"/>
187        </Property>
188      </ComplexType>
189    </Schema>
190
191    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_2">
192      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
193      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
194    </Schema>
195
196    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_3">
197      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
198      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
199    </Schema>
200
201    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_4">
202      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
203      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
204    </Schema>
205
206    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_5">
207      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
208      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
209    </Schema>
210
211    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_6">
212      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
213      <Annotation Term="OData.Description" String="This version was created to add an abstract base type for IPv4Address, IPv6Address, and IPv6StaticAddress.  It was also created to make PrefixLength in IPv6StaticAddress writable."/>
214    </Schema>
215
216    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_7">
217      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
218      <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.  It was also created to add an abstract base type for IPv6GatewayStaticAddress.  It was also created to remove the requirement for PrefixLength in IPv6StaticAddress when used for gateway addresses."/>
219    </Schema>
220
221    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_8">
222      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
223      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
224    </Schema>
225
226    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_9">
227      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
228      <Annotation Term="OData.Description" String="This version was created to correct the minimum value allowed for PrefixLength."/>
229    </Schema>
230
231    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_10">
232      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
233      <Annotation Term="OData.Description" String="This version was created to clarify language around the IPv4 Gateway property."/>
234    </Schema>
235
236    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_11">
237      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
238      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
239    </Schema>
240
241    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_0">
242      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
243      <Annotation Term="Redfish.Release" String="2018.2"/>
244
245      <ComplexType Name="IPv6GatewayStaticAddress" BaseType="IPAddresses.IPv6GatewayStaticAddress">
246        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
247          <Annotation Term="OData.Description" String="The OEM extension property."/>
248          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
249        </Property>
250        <Property Name="Address" Type="Edm.String">
251          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
252          <Annotation Term="OData.Description" String="A valid IPv6 address."/>
253          <Annotation Term="OData.LongDescription" String="This property provides access to a static IPv6 address that is currently assigned on a network interface."/>
254          <Annotation Term="Redfish.Required"/>
255          <Annotation Term="Redfish.IPv6Format"/>
256        </Property>
257        <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength">
258          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
259          <Annotation Term="OData.Description" String="The IPv6 network prefix length, in bits, for this address."/>
260          <Annotation Term="OData.LongDescription" String="Provides the IPv6 network prefix length, in bits, for this address."/>
261        </Property>
262      </ComplexType>
263    </Schema>
264
265    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_1">
266      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
267      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
268    </Schema>
269
270    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_2">
271      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
272      <Annotation Term="OData.Description" String="This version was created to correct the minimum value allowed for PrefixLength."/>
273    </Schema>
274
275    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_3">
276      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
277      <Annotation Term="OData.Description" String="This version was created to clarify language around the IPv4 Gateway property."/>
278    </Schema>
279
280    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_4">
281      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
282      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
283    </Schema>
284
285  </edmx:DataServices>
286</edmx:Edmx>
287