IP Block
Update IP Block
Changed onUpdate an existing IP Block
Org must have an Infrastructure Provider. Specified IP Block must belong to the Provider and requesting user must have PROVIDER_ADMIN role. Only root IP Blocks can be patched.
Renaming an IP Block that NICo created from a Site fabric prefix keeps NICo from removing it.
Tenant IP Blocks are managed via Allocation. Unknown IDs, IP Blocks belonging to another Infrastructure Provider, and Tenant-created IP Blocks (managed: false) return 404.
patch/v2/org/{org}/nico/ipblock/{ipBlockId}
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/ipblock/{ipBlockId}
- 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"
}Response
OK
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