Create a new domain with unique IP addresses
POST /network/ipspaces
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
Learn more
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 |
|---|---|---|
_links |
||
name |
string |
IPspace name |
uuid |
string |
The UUID that uniquely identifies the IPspace. |
Example request
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "ipspace1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
Response
Status: 201, Created
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
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. |
| Name | Type | Description |
|---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
| Name | Type | Description |
|---|---|---|
href |
string |
_links
| Name | Type | Description |
|---|---|---|
self |
ipspace
| Name | Type | Description |
|---|---|---|
_links |
||
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. |