IP Block
Create IP Block
Changed onCreate an IP block for the org.
Only Infrastructure Providers can create a root IP Block. User must have authorization role with PROVIDER_ADMIN suffix.
Tenant IP Blocks are created via Allocation.
A conflicting name or address range returns 409. A range conflicts when it overlaps any root IP Block of the Site, whatever its routing type. Creation also returns 409 when another Site fabric IP Block update holds the shared Site lock, including another create or Site Config import. Retry the request.
post/v2/org/{org}/nico/ipblock
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/ipblock
- AuthHTTP bearer
Request body
Example request
{
"name": "Public Network Overlay for Site SJC4",
"description": "This is the primary IP overlay for SJC4. All IPs are publicly routable",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"routingType": "Public",
"prefix": "202.168.1.0",
"prefixLength": 24,
"protocolVersion": "IPv4"
}Response
Created
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Public Network Overlay for Site SJC4",
"description": "This is the primary IP overlay for SJC4. All IPs are publicly routable",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"infrastructureProviderId": "e94bcfda-f6cb-42e4-80ec-516811e5abbf",
"tenantId": null,
"managed": true,
"routingType": "Public",
"prefix": "202.168.16.0",
"prefixLength": 20,
"protocolVersion": "IPv4",
"status": "Pending",
"statusHistory": [
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the
/response's property format changed fromuuidto no format for status
- breaking