[management] Add support for tcp/udp allocations (#3381)

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
Bethuel Mmbaga
2025-02-25 10:11:50 +00:00
committed by GitHub
parent 4ebf1410c6
commit 62b978c050
2 changed files with 26 additions and 5 deletions

View File

@@ -1649,9 +1649,7 @@ components:
type: string
example: 192.34.0.123
available_ports:
description: Number of available ports left on the ingress peer
type: integer
example: 45765
$ref: '#/components/schemas/AvailablePorts'
enabled:
description: Indicates if an ingress peer is enabled
type: boolean
@@ -1677,6 +1675,21 @@ components:
- connected
- fallback
- region
AvailablePorts:
type: object
properties:
tcp:
description: Number of available TCP ports left on the ingress peer
type: integer
example: 45765
udp:
description: Number of available UDP ports left on the ingress peer
type: integer
example: 50000
required:
- tcp
- udp
IngressPortAllocationRequest:
type: object
properties: