1{ 2 "$id": "http://redfish.dmtf.org/schemas/v1/IPAddresses.v1_1_5.json", 3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 4 "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 5 "definitions": { 6 "AddressState": { 7 "enum": [ 8 "Preferred", 9 "Deprecated", 10 "Tentative", 11 "Failed" 12 ], 13 "enumDescriptions": { 14 "Deprecated": "This address is currently within its valid lifetime but is now outside its RFC4862-defined preferred lifetime.", 15 "Failed": "This address has failed Duplicate Address Detection (DAD) testing, as defined in RFC4862, section 5.4, and is not currently in use.", 16 "Preferred": "This address is currently within both its RFC4862-defined valid and preferred lifetimes.", 17 "Tentative": "This address is currently undergoing Duplicate Address Detection (DAD) testing, as defined in RFC4862, section 5.4." 18 }, 19 "type": "string" 20 }, 21 "IPv4Address": { 22 "additionalProperties": false, 23 "description": "This type describes an IPv4 address.", 24 "longDescription": "This type shall describe an IPv4 address assigned to an interface.", 25 "patternProperties": { 26 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 27 "description": "This property shall specify a valid odata or Redfish property.", 28 "type": [ 29 "array", 30 "boolean", 31 "integer", 32 "number", 33 "null", 34 "object", 35 "string" 36 ] 37 } 38 }, 39 "properties": { 40 "Address": { 41 "description": "The IPv4 address.", 42 "longDescription": "This property shall contain an IPv4 address assigned to this interface. If DHCPv4 is enabled on the interface, this property becomes read-only.", 43 "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$", 44 "readonly": false, 45 "type": [ 46 "string", 47 "null" 48 ] 49 }, 50 "AddressOrigin": { 51 "anyOf": [ 52 { 53 "$ref": "#/definitions/IPv4AddressOrigin" 54 }, 55 { 56 "type": "null" 57 } 58 ], 59 "description": "This indicates how the address was determined.", 60 "longDescription": "This property shall contain the IP address origin for this network interface.", 61 "readonly": true 62 }, 63 "Gateway": { 64 "description": "The IPv4 gateway for this address.", 65 "longDescription": "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.", 66 "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$", 67 "readonly": false, 68 "type": [ 69 "string", 70 "null" 71 ] 72 }, 73 "Oem": { 74 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 75 "description": "The OEM extension property.", 76 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." 77 }, 78 "SubnetMask": { 79 "anyOf": [ 80 { 81 "$ref": "#/definitions/SubnetMask" 82 }, 83 { 84 "type": "null" 85 } 86 ], 87 "description": "The IPv4 subnet mask.", 88 "longDescription": "This property shall contain the IPv4 subnet mask for this address. If DHCPv4 is enabled on the interface, this property becomes read-only.", 89 "readonly": false 90 } 91 }, 92 "type": "object" 93 }, 94 "IPv4AddressOrigin": { 95 "enum": [ 96 "Static", 97 "DHCP", 98 "BOOTP", 99 "IPv4LinkLocal" 100 ], 101 "enumDescriptions": { 102 "BOOTP": "A BOOTP service-provided address.", 103 "DHCP": "A DHCPv4 service-provided address.", 104 "IPv4LinkLocal": "The address is valid for only this network segment, or link.", 105 "Static": "A user-configured static address." 106 }, 107 "type": "string" 108 }, 109 "IPv6Address": { 110 "additionalProperties": false, 111 "description": "This type describes an IPv6 address.", 112 "longDescription": "This type shall describe an IPv6 address assigned to an interface.", 113 "patternProperties": { 114 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 115 "description": "This property shall specify a valid odata or Redfish property.", 116 "type": [ 117 "array", 118 "boolean", 119 "integer", 120 "number", 121 "null", 122 "object", 123 "string" 124 ] 125 } 126 }, 127 "properties": { 128 "Address": { 129 "description": "The IPv6 address.", 130 "longDescription": "This property lists an IPv6 address that is currently assigned on this interface.", 131 "readonly": false, 132 "type": [ 133 "string", 134 "null" 135 ] 136 }, 137 "AddressOrigin": { 138 "anyOf": [ 139 { 140 "$ref": "#/definitions/IPv6AddressOrigin" 141 }, 142 { 143 "type": "null" 144 } 145 ], 146 "description": "This indicates how the address was determined.", 147 "longDescription": "This property shall contain the IPv6 address origin for this interface.", 148 "readonly": true 149 }, 150 "AddressState": { 151 "anyOf": [ 152 { 153 "$ref": "#/definitions/AddressState" 154 }, 155 { 156 "type": "null" 157 } 158 ], 159 "description": "The current RFC4862-defined state of this address.", 160 "longDescription": "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.", 161 "readonly": true 162 }, 163 "Oem": { 164 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 165 "description": "The OEM extension property.", 166 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." 167 }, 168 "PrefixLength": { 169 "anyOf": [ 170 { 171 "$ref": "#/definitions/PrefixLength" 172 }, 173 { 174 "type": "null" 175 } 176 ], 177 "description": "The IPv6 address prefix Length.", 178 "longDescription": "This property shall contain the IPv6 address prefix length for this interface.", 179 "readonly": true 180 } 181 }, 182 "type": "object" 183 }, 184 "IPv6AddressOrigin": { 185 "enum": [ 186 "Static", 187 "DHCPv6", 188 "LinkLocal", 189 "SLAAC" 190 ], 191 "enumDescriptions": { 192 "DHCPv6": "A DHCPv6 service-provided address.", 193 "LinkLocal": "The address is valid for only this network segment, or link.", 194 "SLAAC": "A stateless autoconfiguration (SLAAC) service-provided address.", 195 "Static": "A static user-configured address." 196 }, 197 "type": "string" 198 }, 199 "IPv6GatewayStaticAddress": { 200 "additionalProperties": false, 201 "description": "This type represents a single IPv6 static address to be assigned on a network interface.", 202 "longDescription": "This type shall represent a single IPv6 static address to be assigned on a network interface.", 203 "patternProperties": { 204 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 205 "description": "This property shall specify a valid odata or Redfish property.", 206 "type": [ 207 "array", 208 "boolean", 209 "integer", 210 "number", 211 "null", 212 "object", 213 "string" 214 ] 215 } 216 }, 217 "properties": { 218 "Address": { 219 "description": "A valid IPv6 address.", 220 "longDescription": "This property provides access to a static IPv6 address that is currently assigned on a network interface.", 221 "readonly": false, 222 "type": [ 223 "string", 224 "null" 225 ], 226 "versionAdded": "v1_1_0" 227 }, 228 "Oem": { 229 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 230 "description": "The OEM extension property.", 231 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", 232 "versionAdded": "v1_1_0" 233 }, 234 "PrefixLength": { 235 "anyOf": [ 236 { 237 "$ref": "#/definitions/PrefixLength" 238 }, 239 { 240 "type": "null" 241 } 242 ], 243 "description": "The IPv6 network prefix length, in bits, for this address.", 244 "longDescription": "Provides the IPv6 network prefix length, in bits, for this address.", 245 "readonly": false, 246 "versionAdded": "v1_1_0" 247 } 248 }, 249 "required": [ 250 "Address" 251 ], 252 "type": "object" 253 }, 254 "IPv6StaticAddress": { 255 "additionalProperties": false, 256 "description": "This type represents a single IPv6 static address to be assigned on a network interface.", 257 "longDescription": "This type shall represent a single IPv6 static address to be assigned on a network interface.", 258 "patternProperties": { 259 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 260 "description": "This property shall specify a valid odata or Redfish property.", 261 "type": [ 262 "array", 263 "boolean", 264 "integer", 265 "number", 266 "null", 267 "object", 268 "string" 269 ] 270 } 271 }, 272 "properties": { 273 "Address": { 274 "description": "A valid IPv6 address.", 275 "longDescription": "This property provides access to a static IPv6 address that is currently assigned on a network interface.", 276 "readonly": false, 277 "type": [ 278 "string", 279 "null" 280 ] 281 }, 282 "Oem": { 283 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 284 "description": "The OEM extension property.", 285 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." 286 }, 287 "PrefixLength": { 288 "anyOf": [ 289 { 290 "$ref": "#/definitions/PrefixLength" 291 }, 292 { 293 "type": "null" 294 } 295 ], 296 "description": "The prefix length, in bits, of this IPv6 address.", 297 "longDescription": "This property shall contain the IPv6 network prefix length, in bits, for this address.", 298 "readonly": false 299 } 300 }, 301 "required": [ 302 "Address", 303 "PrefixLength" 304 ], 305 "type": "object" 306 }, 307 "PrefixLength": { 308 "maximum": 128, 309 "minimum": 0, 310 "type": "integer" 311 }, 312 "SubnetMask": { 313 "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$", 314 "type": "string" 315 } 316 }, 317 "language": "en", 318 "owningEntity": "DMTF", 319 "release": "2018.2", 320 "title": "#IPAddresses.v1_1_5" 321}