|
@@ -1,6 +1,7 @@
|
|
|
definitions:
|
|
|
acls.ACL:
|
|
|
additionalProperties:
|
|
|
+ format: int32
|
|
|
type: integer
|
|
|
type: object
|
|
|
acls.ACLContainer:
|
|
@@ -74,7 +75,8 @@ definitions:
|
|
|
ingressesLimit:
|
|
|
type: integer
|
|
|
jwtValidityDuration:
|
|
|
- $ref: '#/definitions/time.Duration'
|
|
|
+ format: int64
|
|
|
+ type: integer
|
|
|
licenseValue:
|
|
|
type: string
|
|
|
machinesLimit:
|
|
@@ -109,6 +111,8 @@ definitions:
|
|
|
type: string
|
|
|
publicIPService:
|
|
|
type: string
|
|
|
+ publicIp:
|
|
|
+ type: string
|
|
|
racAutoDisable:
|
|
|
type: boolean
|
|
|
restBackend:
|
|
@@ -155,6 +159,7 @@ definitions:
|
|
|
models.APIEnrollmentKey:
|
|
|
properties:
|
|
|
expiration:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
groups:
|
|
|
items:
|
|
@@ -179,6 +184,41 @@ definitions:
|
|
|
required:
|
|
|
- tags
|
|
|
type: object
|
|
|
+ models.AclRule:
|
|
|
+ properties:
|
|
|
+ allowed:
|
|
|
+ type: boolean
|
|
|
+ allowed_ports:
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ allowed_protocols:
|
|
|
+ allOf:
|
|
|
+ - $ref: '#/definitions/models.Protocol'
|
|
|
+ description: tcp, udp, etc.
|
|
|
+ direction:
|
|
|
+ allOf:
|
|
|
+ - $ref: '#/definitions/models.AllowedTrafficDirection'
|
|
|
+ description: single or two-way
|
|
|
+ id:
|
|
|
+ type: string
|
|
|
+ ip_list:
|
|
|
+ items:
|
|
|
+ $ref: '#/definitions/net.IPNet'
|
|
|
+ type: array
|
|
|
+ ip6_list:
|
|
|
+ items:
|
|
|
+ $ref: '#/definitions/net.IPNet'
|
|
|
+ type: array
|
|
|
+ type: object
|
|
|
+ models.AllowedTrafficDirection:
|
|
|
+ enum:
|
|
|
+ - 0
|
|
|
+ - 1
|
|
|
+ type: integer
|
|
|
+ x-enum-varnames:
|
|
|
+ - TrafficDirectionUni
|
|
|
+ - TrafficDirectionBi
|
|
|
models.ApiHost:
|
|
|
properties:
|
|
|
autoupdate:
|
|
@@ -267,6 +307,7 @@ definitions:
|
|
|
type: string
|
|
|
type: array
|
|
|
expdatetime:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
fail_over_peers:
|
|
|
additionalProperties:
|
|
@@ -307,10 +348,13 @@ definitions:
|
|
|
isrelayed:
|
|
|
type: boolean
|
|
|
lastcheckin:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
lastmodified:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
lastpeerupdate:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
localaddress:
|
|
|
type: string
|
|
@@ -334,6 +378,8 @@ definitions:
|
|
|
type: string
|
|
|
static_node:
|
|
|
$ref: '#/definitions/models.ExtClient'
|
|
|
+ status:
|
|
|
+ $ref: '#/definitions/models.NodeStatus'
|
|
|
tags:
|
|
|
additionalProperties:
|
|
|
type: object
|
|
@@ -481,6 +527,7 @@ definitions:
|
|
|
ingressgatewayid:
|
|
|
type: string
|
|
|
lastmodified:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
network:
|
|
|
type: string
|
|
@@ -515,13 +562,27 @@ definitions:
|
|
|
properties:
|
|
|
allow:
|
|
|
type: boolean
|
|
|
- dstIP:
|
|
|
+ allowed_ports:
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ allowed_protocols:
|
|
|
+ allOf:
|
|
|
+ - $ref: '#/definitions/models.Protocol'
|
|
|
+ description: tcp, udp, etc.
|
|
|
+ dst_ip:
|
|
|
$ref: '#/definitions/net.IPNet'
|
|
|
- srcIP:
|
|
|
+ src_ip:
|
|
|
$ref: '#/definitions/net.IPNet'
|
|
|
type: object
|
|
|
models.FwUpdate:
|
|
|
properties:
|
|
|
+ acl_rules:
|
|
|
+ additionalProperties:
|
|
|
+ $ref: '#/definitions/models.AclRule'
|
|
|
+ type: object
|
|
|
+ allow_all:
|
|
|
+ type: boolean
|
|
|
egress_info:
|
|
|
additionalProperties:
|
|
|
$ref: '#/definitions/models.EgressInfo'
|
|
@@ -534,6 +595,10 @@ definitions:
|
|
|
type: boolean
|
|
|
is_ingress_gw:
|
|
|
type: boolean
|
|
|
+ networks:
|
|
|
+ items:
|
|
|
+ $ref: '#/definitions/net.IPNet'
|
|
|
+ type: array
|
|
|
type: object
|
|
|
models.Host:
|
|
|
properties:
|
|
@@ -596,7 +661,8 @@ definitions:
|
|
|
os:
|
|
|
type: string
|
|
|
persistentkeepalive:
|
|
|
- $ref: '#/definitions/time.Duration'
|
|
|
+ format: int64
|
|
|
+ type: integer
|
|
|
publickey:
|
|
|
items:
|
|
|
type: integer
|
|
@@ -797,26 +863,34 @@ definitions:
|
|
|
models.Metric:
|
|
|
properties:
|
|
|
actualuptime:
|
|
|
- $ref: '#/definitions/time.Duration'
|
|
|
+ format: int64
|
|
|
+ type: integer
|
|
|
connected:
|
|
|
type: boolean
|
|
|
lasttotalreceived:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
lasttotalsent:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
latency:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
node_name:
|
|
|
type: string
|
|
|
percentup:
|
|
|
type: number
|
|
|
totalreceived:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
totalsent:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
totaltime:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
uptime:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
type: object
|
|
|
models.Metrics:
|
|
@@ -868,10 +942,12 @@ definitions:
|
|
|
minLength: 1
|
|
|
type: string
|
|
|
networklastmodified:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
nodelimit:
|
|
|
type: integer
|
|
|
nodeslastmodified:
|
|
|
+ format: int64
|
|
|
type: integer
|
|
|
required:
|
|
|
- netid
|
|
@@ -967,6 +1043,8 @@ definitions:
|
|
|
type: integer
|
|
|
networkrange6:
|
|
|
type: number
|
|
|
+ node_status:
|
|
|
+ $ref: '#/definitions/models.NodeStatus'
|
|
|
ownerid:
|
|
|
type: string
|
|
|
pendingdelete:
|
|
@@ -1005,10 +1083,36 @@ definitions:
|
|
|
serverconfig:
|
|
|
$ref: '#/definitions/models.ServerConfig'
|
|
|
type: object
|
|
|
+ models.NodeStatus:
|
|
|
+ enum:
|
|
|
+ - online
|
|
|
+ - offline
|
|
|
+ - warning
|
|
|
+ - error
|
|
|
+ - unknown
|
|
|
+ type: string
|
|
|
+ x-enum-varnames:
|
|
|
+ - OnlineSt
|
|
|
+ - OfflineSt
|
|
|
+ - WarningSt
|
|
|
+ - ErrorSt
|
|
|
+ - UnKnown
|
|
|
models.PeerMap:
|
|
|
additionalProperties:
|
|
|
$ref: '#/definitions/models.IDandAddr'
|
|
|
type: object
|
|
|
+ models.Protocol:
|
|
|
+ enum:
|
|
|
+ - all
|
|
|
+ - udp
|
|
|
+ - tcp
|
|
|
+ - icmp
|
|
|
+ type: string
|
|
|
+ x-enum-varnames:
|
|
|
+ - ALL
|
|
|
+ - UDP
|
|
|
+ - TCP
|
|
|
+ - ICMP
|
|
|
models.RegisterResponse:
|
|
|
properties:
|
|
|
requested_host:
|
|
@@ -1286,6 +1390,7 @@ definitions:
|
|
|
mask:
|
|
|
description: network mask
|
|
|
items:
|
|
|
+ format: int32
|
|
|
type: integer
|
|
|
type: array
|
|
|
type: object
|
|
@@ -1303,42 +1408,6 @@ definitions:
|
|
|
type: object
|
|
|
netip.AddrPort:
|
|
|
type: object
|
|
|
- time.Duration:
|
|
|
- enum:
|
|
|
- - -9223372036854775808
|
|
|
- - 9223372036854775807
|
|
|
- - 1
|
|
|
- - 1000
|
|
|
- - 1000000
|
|
|
- - 1000000000
|
|
|
- - 60000000000
|
|
|
- - 3600000000000
|
|
|
- - -9223372036854775808
|
|
|
- - 9223372036854775807
|
|
|
- - 1
|
|
|
- - 1000
|
|
|
- - 1000000
|
|
|
- - 1000000000
|
|
|
- - 60000000000
|
|
|
- - 3600000000000
|
|
|
- type: integer
|
|
|
- x-enum-varnames:
|
|
|
- - minDuration
|
|
|
- - maxDuration
|
|
|
- - Nanosecond
|
|
|
- - Microsecond
|
|
|
- - Millisecond
|
|
|
- - Second
|
|
|
- - Minute
|
|
|
- - Hour
|
|
|
- - minDuration
|
|
|
- - maxDuration
|
|
|
- - Nanosecond
|
|
|
- - Microsecond
|
|
|
- - Millisecond
|
|
|
- - Second
|
|
|
- - Minute
|
|
|
- - Hour
|
|
|
wgtypes.PeerConfig:
|
|
|
properties:
|
|
|
allowedIPs:
|
|
@@ -1353,13 +1422,13 @@ definitions:
|
|
|
- $ref: '#/definitions/net.UDPAddr'
|
|
|
description: Endpoint specifies the endpoint of this peer entry, if not nil.
|
|
|
persistentKeepaliveInterval:
|
|
|
- allOf:
|
|
|
- - $ref: '#/definitions/time.Duration'
|
|
|
description: |-
|
|
|
PersistentKeepaliveInterval specifies the persistent keepalive interval
|
|
|
for this peer, if not nil.
|
|
|
|
|
|
A non-nil value of 0 will clear the persistent keepalive interval.
|
|
|
+ format: int64
|
|
|
+ type: integer
|
|
|
presharedKey:
|
|
|
description: |-
|
|
|
PresharedKey specifies a peer's preshared key configuration, if not nil.
|