mirror of
				https://github.com/gravitl/netmaker.git
				synced 2025-10-31 12:16:29 +08:00 
			
		
		
		
	NET-1075: Endpoint detection server config (#2876)
* add config for endpoint detection * add config to netmaker env file * fix config value check for endpoint detection
This commit is contained in:
		| @@ -232,17 +232,18 @@ type TrafficKeys struct { | ||||
|  | ||||
| // HostPull - response of a host's pull | ||||
| type HostPull struct { | ||||
| 	Host            Host                  `json:"host" yaml:"host"` | ||||
| 	Nodes           []Node                `json:"nodes" yaml:"nodes"` | ||||
| 	Peers           []wgtypes.PeerConfig  `json:"peers" yaml:"peers"` | ||||
| 	ServerConfig    ServerConfig          `json:"server_config" yaml:"server_config"` | ||||
| 	PeerIDs         PeerMap               `json:"peer_ids,omitempty" yaml:"peer_ids,omitempty"` | ||||
| 	HostNetworkInfo HostInfoMap           `json:"host_network_info,omitempty"  yaml:"host_network_info,omitempty"` | ||||
| 	EgressRoutes    []EgressNetworkRoutes `json:"egress_network_routes"` | ||||
| 	FwUpdate        FwUpdate              `json:"fw_update"` | ||||
| 	ChangeDefaultGw bool                  `json:"change_default_gw"` | ||||
| 	DefaultGwIp     net.IP                `json:"default_gw_ip"` | ||||
| 	IsInternetGw    bool                  `json:"is_inet_gw"` | ||||
| 	Host              Host                  `json:"host" yaml:"host"` | ||||
| 	Nodes             []Node                `json:"nodes" yaml:"nodes"` | ||||
| 	Peers             []wgtypes.PeerConfig  `json:"peers" yaml:"peers"` | ||||
| 	ServerConfig      ServerConfig          `json:"server_config" yaml:"server_config"` | ||||
| 	PeerIDs           PeerMap               `json:"peer_ids,omitempty" yaml:"peer_ids,omitempty"` | ||||
| 	HostNetworkInfo   HostInfoMap           `json:"host_network_info,omitempty"  yaml:"host_network_info,omitempty"` | ||||
| 	EgressRoutes      []EgressNetworkRoutes `json:"egress_network_routes"` | ||||
| 	FwUpdate          FwUpdate              `json:"fw_update"` | ||||
| 	ChangeDefaultGw   bool                  `json:"change_default_gw"` | ||||
| 	DefaultGwIp       net.IP                `json:"default_gw_ip"` | ||||
| 	IsInternetGw      bool                  `json:"is_inet_gw"` | ||||
| 	EndpointDetection bool                  `json:"endpoint_detection"` | ||||
| } | ||||
|  | ||||
| type DefaultGwInfo struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Abhishek K
					Abhishek K