Browse Source

NM-159: Add Gws HA and device approvals to feature flags (#3722)

* force update host dns field if node is acting as inet gw

* add old acl support checks

* move auto relay migration to pro pkg

* add check to avoid unsetting relayed node

* simplify auto assign gw logic

* send auto assign update on un relay

* set checking time to latest on updates

* fix HA auto Relay logic

* add relay node metrics to peer signal

* move auto relay peer check

* publish host peer update

* check and unset unrelayed auto peers

* use relay node mutex to avoid rac condition

* reset autorelayed peers on auto assign gw

* add device approval, gws HA to feature flags
Abhishek K 1 month ago
parent
commit
8fc59cd869
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/structs.go

+ 2 - 0
models/structs.go

@@ -22,6 +22,8 @@ type FeatureFlags struct {
 	EnableOAuth             bool `json:"enable_oauth"`
 	EnableIDPIntegration    bool `json:"enable_idp_integration"`
 	AllowMultiServerLicense bool `json:"allow_multi_server_license"`
+	EnableGwsHA             bool `json:"enable_gws_ha"`
+	EnableDeviceApproval    bool `json:"enable_device_approval"`
 }
 
 // AuthParams - struct for auth params