mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-12 08:04:25 +08:00
* 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
20 lines
505 B
Go
20 lines
505 B
Go
package node
|
|
|
|
var (
|
|
natEnabled bool
|
|
failover bool
|
|
networkName string
|
|
nodeDefinitionFilePath string
|
|
address string
|
|
address6 string
|
|
localAddress string
|
|
name string
|
|
postUp string
|
|
postDown string
|
|
relayedNodes string
|
|
egressGatewayRanges string
|
|
expirationDateTime int
|
|
defaultACL bool
|
|
dnsOn bool
|
|
disconnect bool
|
|
)
|