Create a new domain with unique IP addresses
POST /network/ipspaces
Introduced In: 9.6
Creates a new domain within which IP addresses are unique. SVMs, ports, and networks are scoped to a single IPspace.
Required properties
-
name- Name of the IPspace to create.
Related ONTAP commands
-
network ipspace create
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
return_records |
boolean |
query |
False |
The default is false. If set to true, the records are returned.
|
Request Body
| Name | Type | Description |
|---|---|---|
name |
string |
IPspace name |
uuid |
string |
The UUID that uniquely identifies the IPspace. |
Example request
{
"name": "ipspace1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
Response
Status: 201, Created
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
1966586 |
The specified IPspace name is invalid because it is already used by a peered SVM. |
1967102 |
A POST operation might have left the configuration in an inconsistent state. Check the configuration. |
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
9240591 |
The name is not valid. The name is already in use by a cluster node, Vserver, or it is the name of the local cluster. |
Definitions
See Definitions
href
| Name | Type | Description |
|---|---|---|
href |
string |
_links
ipspace
| Name | Type | Description |
|---|---|---|
name |
string |
IPspace name |
uuid |
string |
The UUID that uniquely identifies the IPspace. |
error_arguments
| Name | Type | Description |
|---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
| Name | Type | Description |
|---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |