controller
Generate Random Network ID.
Create a new network with a random ID.
post/controller/network/{controllerID}
Request
- Base URLhttp://localhost:9993
- AuthAPI key in header X-ZT1-Auth
Path parameters
controllerIDstring required
Node ID of the controller.
Request body
Example request
{
"id": "3e245e31af000001",
"nwid": "3e245e31af000001",
"objtype": "network",
"name": "my-cool-network",
"creationTime": 1623101592,
"mtu": 2800,
"multicastLimit": 32,
"revision": 1,
"routes": [
{
"target": "192.168.192.0/24",
"via": "192.168.192.1"
}
],
"ipAssignmentPools": [
{
"ipRangeStart": "192.168.192.1",
"ipRangeEnd": "192.168.192.254"
}
],
"remoteTraceTarget": "7f5d90eb87"
}Response
Example response
{
"id": "3e245e31af000001",
"nwid": "3e245e31af000001",
"objtype": "network",
"name": "my-cool-network",
"creationTime": 1623101592,
"mtu": 2800,
"multicastLimit": 32,
"revision": 1,
"routes": [
{
"target": "192.168.192.0/24",
"via": "192.168.192.1"
}
],
"ipAssignmentPools": [
{
"ipRangeStart": "192.168.192.1",
"ipRangeEnd": "192.168.192.254"
}
],
"remoteTraceTarget": "7f5d90eb87"
}Changes
No recorded changes to this operation across all 1 revision of this API.