Networking

Create a IPv6 network

Creates a new IPv6 network.

post/admin/networking/ipv6

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/networking/ipv6
  • Auth: HTTP basic

Request body

networkstring required

Network

prefixnumber required

Prefix

titlestring required

Title

commentstring

Comment

location_idnumber required

Location (id)

network_categorynumber required

Network category (id). You can get it on page "Config / Networking / Network categories"

network_typestring required

Network type. Can be 'rootnet' for RootNet, 'endnet' for EndNet. Default: 'endnet'

type_of_usagestring required

Type of usage. 'static' for Static, 'management' for Management only. Default: 'static'

parentnumber

Parent network ID

range_fromstring

Range from

range_tostring

Range to

Example request

{
  "network": "2001:db8::",
  "prefix": 32,
  "title": "Aplha",
  "comment": "First network",
  "location_id": 1,
  "network_category": 1,
  "network_type": "endnet",
  "type_of_usage": "static",
  "parent": 1,
  "range_from": "2001:db8::1",
  "range_to": "2001:db8::ffff"
}

Response

idnumber

IPv6 network ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.