Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 4 | <!--# Redfish Schema: IPAddresses v1.0.7--> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 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 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 8 | <!--# Copyright 2014-2018 DMTF. --> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 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 object 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 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 48 | <ComplexType Name="IPv6GatewayStaticAddress" Abstract="true"> |
| 49 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 50 | <Annotation Term="OData.Description" String="This object 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 | |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 54 | </Schema> |
| 55 | |
| 56 | |
| 57 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_0"> |
| 58 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 59 | |
| 60 | <ComplexType Name="IPv4Address" BaseType="IPAddresses.IPv4Address"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 61 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 62 | <Annotation Term="OData.Description" String="Oem extension object."/> |
| 63 | <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/> |
| 64 | </Property> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 65 | <Property Name="Address" Type="Edm.String"> |
| 66 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 67 | <Annotation Term="OData.Description" String="This is the IPv4 Address."/> |
| 68 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an IPv4 address assigned to this interface. If DHCPv4 is enabled on the interface, this property becomes read-only."/> |
| 69 | <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/> |
| 70 | </Property> |
| 71 | <Property Name="SubnetMask" Type="IPAddresses.v1_0_0.SubnetMask"> |
| 72 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 73 | <Annotation Term="OData.Description" String="This is the IPv4 Subnet mask."/> |
| 74 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the IPv4 subnet mask for this address. If DHCPv4 is enabled on the interface, this property becomes read-only."/> |
| 75 | </Property> |
| 76 | <Property Name="AddressOrigin" Type="IPAddresses.v1_0_0.IPv4AddressOrigin"> |
| 77 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 78 | <Annotation Term="OData.Description" String="This indicates how the address was determined."/> |
| 79 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the IP address origin for this network interface."/> |
| 80 | </Property> |
| 81 | <Property Name="Gateway" Type="Edm.String"> |
| 82 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 83 | <Annotation Term="OData.Description" String="This is the IPv4 gateway for this address."/> |
| 84 | <Annotation Term="OData.LongDescription" String="The value of this property shall be 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."/> |
| 85 | <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/> |
| 86 | </Property> |
| 87 | </ComplexType> |
| 88 | |
| 89 | <ComplexType Name="IPv6Address" BaseType="IPAddresses.IPv6Address"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 90 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 91 | <Annotation Term="OData.Description" String="Oem extension object."/> |
| 92 | <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/> |
| 93 | </Property> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 94 | <Property Name="Address" Type="Edm.String"> |
| 95 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 96 | <Annotation Term="OData.Description" String="This is the IPv6 Address."/> |
| 97 | <Annotation Term="OData.LongDescription" String="This property lists an IPv6 address that is currently assigned on this interface."/> |
| 98 | <Annotation Term="Redfish.IPv6Format"/> |
| 99 | </Property> |
| 100 | <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength"> |
| 101 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 102 | <Annotation Term="OData.Description" String="This is the IPv6 Address Prefix Length."/> |
| 103 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the IPv6 address prefix length for this interface."/> |
| 104 | </Property> |
| 105 | <Property Name="AddressOrigin" Type="IPAddresses.v1_0_0.IPv6AddressOrigin"> |
| 106 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 107 | <Annotation Term="OData.Description" String="This indicates how the address was determined."/> |
| 108 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the IPv6 address origin for this interface."/> |
| 109 | </Property> |
| 110 | <Property Name="AddressState" Type="IPAddresses.v1_0_0.AddressState"> |
| 111 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 112 | <Annotation Term="OData.Description" String="The current state of this address as defined in RFC 4862."/> |
| 113 | <Annotation Term="OData.LongDescription" String="Preferred and Deprecated states follow the definitions given RFC4862 Section 5.5.4. An address is in the Tentative state while undergoing Duplicate Address Detection (DAD) per RFC4862 Section 5.4. The Failed state indicates a Static addresses which did not pass DAD. A Static address in the Failed state is not in use on the network stack, and corrective action will be needed to remedy this condition."/> |
| 114 | </Property> |
| 115 | </ComplexType> |
| 116 | |
| 117 | <EnumType Name="IPv4AddressOrigin"> |
| 118 | <Member Name="Static"> |
| 119 | <Annotation Term="OData.Description" String="A static address as configured by the user."/> |
| 120 | </Member> |
| 121 | <Member Name="DHCP"> |
| 122 | <Annotation Term="OData.Description" String="Address is provided by a DHCPv4 service."/> |
| 123 | </Member> |
| 124 | <Member Name="BOOTP"> |
| 125 | <Annotation Term="OData.Description" String="Address is provided by a BOOTP service."/> |
| 126 | </Member> |
| 127 | <Member Name="IPv4LinkLocal"> |
| 128 | <Annotation Term="OData.Description" String="Address is valid only for this network segment (link)."/> |
| 129 | </Member> |
| 130 | </EnumType> |
| 131 | |
| 132 | <EnumType Name="IPv6AddressOrigin"> |
| 133 | <Member Name="Static"> |
| 134 | <Annotation Term="OData.Description" String="A static address as configured by the user."/> |
| 135 | </Member> |
| 136 | <Member Name="DHCPv6"> |
| 137 | <Annotation Term="OData.Description" String="Address is provided by a DHCPv6 service."/> |
| 138 | </Member> |
| 139 | <Member Name="LinkLocal"> |
| 140 | <Annotation Term="OData.Description" String="Address is valid only for this network segment (link)."/> |
| 141 | </Member> |
| 142 | <Member Name="SLAAC"> |
| 143 | <Annotation Term="OData.Description" String="Address is provided by a Stateless Address AutoConfiguration (SLAAC) service."/> |
| 144 | </Member> |
| 145 | </EnumType> |
| 146 | |
| 147 | <TypeDefinition Name="SubnetMask" UnderlyingType="Edm.String"> |
| 148 | <Annotation Term="Validation.Pattern" String="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"/> |
| 149 | </TypeDefinition> |
| 150 | |
| 151 | <TypeDefinition Name="PrefixLength" UnderlyingType="Edm.Int64"> |
| 152 | <Annotation Term="Validation.Minimum" Int="1"/> |
| 153 | <Annotation Term="Validation.Maximum" Int="128"/> |
| 154 | </TypeDefinition> |
| 155 | |
| 156 | <EnumType Name="AddressState"> |
| 157 | <Member Name="Preferred"> |
| 158 | <Annotation Term="OData.Description" String="This address is currently within both it's valid and preferred lifetimes as defined in RFC 4862."/> |
| 159 | </Member> |
| 160 | <Member Name="Deprecated"> |
| 161 | <Annotation Term="OData.Description" String="This address is currently within it's valid lifetime, but is now outside of it's preferred lifetime as defined in RFC 4862."/> |
| 162 | </Member> |
| 163 | <Member Name="Tentative"> |
| 164 | <Annotation Term="OData.Description" String="This address is currently undergoing Duplicate Address Detection testing as defined in RFC 4862 section 5.4."/> |
| 165 | </Member> |
| 166 | <Member Name="Failed"> |
| 167 | <Annotation Term="OData.Description" String="This address has failed Duplicate Address Detection testing as defined in RFC 4862 section 5.4 and is not currently in use."/> |
| 168 | </Member> |
| 169 | </EnumType> |
| 170 | |
| 171 | <ComplexType Name="IPv6StaticAddress" BaseType="IPAddresses.IPv6StaticAddress"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 172 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 173 | <Annotation Term="OData.Description" String="Oem extension object."/> |
| 174 | <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/> |
| 175 | </Property> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 176 | <Property Name="Address" Type="Edm.String"> |
| 177 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 178 | <Annotation Term="OData.Description" String="A valid IPv6 address."/> |
| 179 | <Annotation Term="OData.LongDescription" String="This property provides access to a static IPv6 address that is currently assigned on a network interface."/> |
| 180 | <Annotation Term="Redfish.Required"/> |
| 181 | <Annotation Term="Redfish.IPv6Format"/> |
| 182 | </Property> |
| 183 | <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength"> |
| 184 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 185 | <Annotation Term="OData.Description" String="The Prefix Length of this IPv6 address."/> |
| 186 | <Annotation Term="OData.LongDescription" String="Provides the IPv6 network prefix length in bits for this address."/> |
| 187 | <Annotation Term="Redfish.Required"/> |
| 188 | </Property> |
| 189 | </ComplexType> |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 190 | </Schema> |
| 191 | |
| 192 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_2"> |
| 193 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 194 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 195 | </Schema> |
| 196 | |
| 197 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_3"> |
| 198 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 199 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 200 | </Schema> |
| 201 | |
| 202 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_4"> |
| 203 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 204 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 205 | </Schema> |
| 206 | |
| 207 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_5"> |
| 208 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 209 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 210 | </Schema> |
| 211 | |
| 212 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_6"> |
| 213 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 214 | <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."/> |
| 215 | </Schema> |
| 216 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 217 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_0_7"> |
| 218 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 219 | <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."/> |
| 220 | </Schema> |
| 221 | |
| 222 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="IPAddresses.v1_1_0"> |
| 223 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 224 | |
| 225 | <ComplexType Name="IPv6GatewayStaticAddress" BaseType="IPAddresses.IPv6GatewayStaticAddress"> |
| 226 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 227 | <Annotation Term="OData.Description" String="Oem extension object."/> |
| 228 | <Annotation Term="OData.LongDescription" String="This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/> |
| 229 | </Property> |
| 230 | <Property Name="Address" Type="Edm.String"> |
| 231 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 232 | <Annotation Term="OData.Description" String="A valid IPv6 address."/> |
| 233 | <Annotation Term="OData.LongDescription" String="This property provides access to a static IPv6 address that is currently assigned on a network interface."/> |
| 234 | <Annotation Term="Redfish.Required"/> |
| 235 | <Annotation Term="Redfish.IPv6Format"/> |
| 236 | </Property> |
| 237 | <Property Name="PrefixLength" Type="IPAddresses.v1_0_0.PrefixLength"> |
| 238 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 239 | <Annotation Term="OData.Description" String="The Prefix Length of this IPv6 address."/> |
| 240 | <Annotation Term="OData.LongDescription" String="Provides the IPv6 network prefix length in bits for this address."/> |
| 241 | </Property> |
| 242 | </ComplexType> |
| 243 | </Schema> |
| 244 | |
Lewanczyk, Dawid | c5b2abe | 2018-05-30 16:59:42 +0200 | [diff] [blame] | 245 | </edmx:DataServices> |
| 246 | </edmx:Edmx> |