netmaker/models
Gabriel de Souza Seibel cb4b99ffcb
[NET-562] Persistent Keep Alive from node to host (#2604)
* Move PKA field from models node to host level

* Move PKA field from api models node to host level

* Adapt logic package to node->host PKA

* Adapt migration-related code to node->host PKA

* Adapt cli code to node->host PKA

* Change host PKA default to 20s

* On IfaceDelta, check for PKA on host

* On handleHostRegister, set default PKA

* Use a default PKA

* Use int64 for api host pka

* Reorder imports

* Don't use host pka in iface delta

* Fix ConvertAPIHostToNMHost

* Add swagger doc for host PKA field

* Fix swagger.yml

* Set default PKA only for new hosts

* Remove TODO comment

* Remove redundant check

* Have api-host pka be specified in seconds
2023-10-06 10:09:19 +04:00
..
accessToken.go remove localrange 2023-01-20 05:42:05 -05:00
api_host.go [NET-562] Persistent Keep Alive from node to host (#2604) 2023-10-06 10:09:19 +04:00
api_node.go [NET-562] Persistent Keep Alive from node to host (#2604) 2023-10-06 10:09:19 +04:00
dnsEntry.go validate dns entry does not contain whitespace (#2512) 2023-08-22 11:50:28 +05:30
enrollment_key.go review comments 2023-05-08 13:44:32 -04:00
error.go adding security fixes 2022-08-31 11:38:29 -04:00
extclient.go NET-551: User Mgmt Re-Design (#2547) 2023-09-01 14:27:08 +05:30
host.go [NET-562] Persistent Keep Alive from node to host (#2604) 2023-10-06 10:09:19 +04:00
intclient.go
metrics.go NET-528: add host static info to peer update (#2550) 2023-08-31 00:33:37 +05:30
migrate.go migration (#2509) 2023-08-14 23:14:10 +05:30
mqtt.go NET-433: Only Set Routes for NAT enabled egress GW (#2469) 2023-07-28 19:44:51 +05:30
names.go initial commit 2022-09-13 15:25:56 -04:00
network.go NET-551: User Mgmt Re-Design (#2547) 2023-09-01 14:27:08 +05:30
network_test.go use channels for sync 2023-02-14 07:01:38 -05:00
node.go [NET-562] Persistent Keep Alive from node to host (#2604) 2023-10-06 10:09:19 +04:00
ssocache.go added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
structs.go session management for remote access client (#2592) 2023-10-02 08:57:58 +04:00