Armada Network API
The Network API from Armada — 8 operation(s) for network.
The Network API from Armada — 8 operation(s) for network.
openapi: 3.0.3
info:
title: Orchestrator Admin Settings Network API
description: 'API for the GPUaaS Orchestrator microservice. Handles tenants, clusters, VMs,
storage, networking, catalogs, quotas, and related infrastructure operations.
'
version: 1.0.0
contact:
name: GPUaaS Platform
servers:
- url: /
description: Relative base (prefix with deployment base URL)
security:
- bearerAuth: []
tags:
- name: Network
paths:
/network/underlay:
get:
tags:
- Network
summary: Get underlay
operationId: getUnderlay
responses:
'200':
description: Underlay config
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
post:
tags:
- Network
summary: Create underlay
operationId: createUnderlay
responses:
'200':
description: Underlay created
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
'201':
$ref: '#/components/responses/Created'
'409':
$ref: '#/components/responses/Conflict'
/tenants/{tenant}/network/tenantUnderlay:
post:
tags:
- Network
summary: Create tenant underlay
parameters:
- name: tenant
in: path
required: true
schema:
type: string
responses:
'200':
description: Tenant underlay created
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
'201':
$ref: '#/components/responses/Created'
'409':
$ref: '#/components/responses/Conflict'
/tenants/{tenant}/network/underlay/{computeNodeName}:
get:
tags:
- Network
summary: Get tenant underlay
parameters:
- name: tenant
in: path
required: true
schema:
type: string
- name: computeNodeName
in: path
required: true
schema:
type: string
responses:
'200':
description: Tenant underlay
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
delete:
tags:
- Network
summary: Delete tenant underlay
parameters:
- name: tenant
in: path
required: true
schema:
type: string
- name: computeNodeName
in: path
required: true
schema:
type: string
responses:
'200':
description: Deleted
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
'204':
$ref: '#/components/responses/NoContent'
/tenants/{tenant}/network/overlay:
post:
tags:
- Network
summary: Create tenant overlay
parameters:
- name: tenant
in: path
required: true
schema:
type: string
responses:
'200':
description: Overlay created
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
'201':
$ref: '#/components/responses/Created'
'409':
$ref: '#/components/responses/Conflict'
/tenants/{tenant}/network/vrf-network-status:
get:
tags:
- Network
summary: Get VRF network status
parameters:
- name: tenant
in: path
required: true
schema:
type: string
responses:
'200':
description: VRF status
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
/network/vrf-networks-status:
get:
tags:
- Network
summary: Get all VRF network status
operationId: getAllVrfNetworkStatus
responses:
'200':
description: All VRF statuses
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
/tenants/{tenant}/network/compute-status/{computeNodeName}:
get:
tags:
- Network
summary: Get compute status
parameters:
- name: tenant
in: path
required: true
schema:
type: string
- name: computeNodeName
in: path
required: true
schema:
type: string
responses:
'200':
description: Compute status
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
/network/topologies:
get:
tags:
- Network
summary: Get network config (topologies)
operationId: getNetworkConfig
responses:
'200':
description: Network config
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
components:
responses:
NoContent:
description: No Content - success with no response body
InternalServerError:
description: Internal Server Error - server error
Unauthorized:
description: Unauthorized - missing or invalid authentication
BadRequest:
description: Bad Request - invalid or malformed request
Conflict:
description: Conflict - resource conflict (e.g. duplicate)
NotFound:
description: Not Found - resource does not exist
Forbidden:
description: Forbidden - insufficient permissions
Created:
description: Created - resource created successfully
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT from auth middleware