Skip to main content
A newer release of this product is available.

Create a new domain with unique IP addresses

Contributors

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.

  • 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.

  • Default value:

Request Body

Name Type Description

_links

_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

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.

Name Type Description

error

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

Name Type Description

self

href

ipspace

Name Type Description

_links

_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.