alexandria/alexandria/model/redfish/0.96/IPAddresses.0.96.0.json

168 lines
7.7 KiB
JSON

{
"$schema": "http://schemas.dmtf.org/redfish/v1/redfish-schema.0.96.0",
"title": "IPAddresses",
"definitions":{
"IPv6Address":{
"type": "object",
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "Resource.0.96.0.json#Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "This is the IPv6 Address.",
"longDescription": "This property lists an IPv6 address that is currently assigned on this interface."
},
"PrefixLength": {
"type": [
"integer",
"null"
],
"readonly": true,
"description": "This is the IPv6 Address Prefix Length.",
"longDescription": "The value of this property shall be the IPv6 address prefix length for this interface."
},
"AddressOrigin": {
"type": [
"string",
"null"
],
"enum": [
"Static",
"DHCPv6",
"IPv6AutoConfig",
"Stateless",
"LinkLocal",
"SLAAC"
],
"enumDescriptions": {
"Static": "A static address as configured by the user",
"DHCPv6": "Address is provided by a DHCP service",
"IPv6AutoConfig": "TODO",
"Stateless": "TODO",
"LinkLocal": "TODO",
"SLAAC": "Address is provided by a Stateless Address AutoConfiguration (SLAAC) service"
},
"readonly": true,
"description": "This indicates how the address was determined.",
"longDescription": "The value of this property shall be the IPv6 address origin for this interface."
},
"AddressState": {
"type": [
"string",
"null"
],
"enum": [
"Preferred",
"Deprecated",
"Tentative",
"Failed"
],
"enumDescriptions": {
"Preferred": "This address is currently within both it's valid and preferred lifetimes as defined in RFC 4862.",
"Deprecated": "This address is currently within it's valid lifetime, but is now outside of it's preferred lifetime as defined in RFC 4862.",
"Tentative": "This address is currently undergoing Duplicate Address Detection testing as defined in RFC 4862 section 5.4.",
"Failed": "This address has failed Duplicate Address Detection testing as defined in RFC 4862 section 5.4 and is not currently in use."
},
"readonly": true,
"description": "The current state of this address as defined in RFC 4862.",
"longDescription": "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."
}
}
},
"IPv6StaticAddress":{
"type": "object",
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "Resource.0.96.0.json#Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "A valid IPv6 address.",
"longDescription": "This property provides access to a static IPv6 address that is currently assigned on a network interface."
},
"PrefixLength": {
"type": [
"integer",
"null"
],
"readonly": true,
"description": "The Prefix Length of this IPv6 address.",
"longDescription": "Provides the IPv6 network prefix length in bits for this address."
}
},
"required": [
"Address",
"PrefixLength"
],
"description": "This object represents a single IPv6 static address to be assigned on a network interface."
},
"IPv4Address":{
"type": "object",
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "Resource.0.96.0.json#Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "This is the IPv4 Address.",
"longDescription": "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.",
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$"
},
"SubnetMask": {
"type": [
"string",
"null"
],
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$",
"description": "This is the IPv4 Subnet mask.",
"longDescription": "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.",
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$"
},
"AddressOrigin": {
"type": [
"string",
"null"
],
"enum": [
"Static",
"DHCP",
"BOOTP",
"IPv4LinkLocal"
],
"enumDescriptions": {
"Static": "A static address as configured by the user",
"DHCP": "Address is provided by a DHCP service",
"BOOTP": "TODO",
"IPv4LinkLocal": "TODO"
},
"readonly": true,
"description": "This indicates how the address was determined.",
"longDescription": "The value of this property shall be the IP address origin for this network interface."
},
"Gateway": {
"type": [
"string",
"null"
],
"description": "This is the IPv4 gateway for this address.",
"longDescription": "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."
}
}
}
}
}