mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-02 21:14:05 +08:00
NET-710: Internet Gws Re-Design (#2718)
* add internet gateway to client gateway * migration func to remove internet egress range from egress gateway * add internet gateways ranges to firewall update * add internet gw ranges to extcleint conf * add ipv6 internet address * remove failover field from ingress req * only let normal to be created on PRO (#2716) * feat(NET-805): send internet gw props to rac * set inet gw field on node update api * move internet gws to EE --------- Co-authored-by: the_aceix <aceixsmartx@gmail.com>
This commit is contained in:
@@ -64,11 +64,12 @@ type IngressGwUsers struct {
|
||||
|
||||
// UserRemoteGws - struct to hold user's remote gws
|
||||
type UserRemoteGws struct {
|
||||
GwID string `json:"remote_access_gw_id"`
|
||||
GWName string `json:"gw_name"`
|
||||
Network string `json:"network"`
|
||||
Connected bool `json:"connected"`
|
||||
GwClient ExtClient `json:"gw_client"`
|
||||
GwID string `json:"remote_access_gw_id"`
|
||||
GWName string `json:"gw_name"`
|
||||
Network string `json:"network"`
|
||||
Connected bool `json:"connected"`
|
||||
IsInternetGateway bool `json:"is_internet_gateway"`
|
||||
GwClient ExtClient `json:"gw_client"`
|
||||
}
|
||||
|
||||
// UserRemoteGwsReq - struct to hold user remote acccess gws req
|
||||
@@ -189,8 +190,8 @@ type HostRelayRequest struct {
|
||||
|
||||
// IngressRequest - ingress request struct
|
||||
type IngressRequest struct {
|
||||
ExtclientDNS string `json:"extclientdns"`
|
||||
Failover bool `json:"failover"`
|
||||
ExtclientDNS string `json:"extclientdns"`
|
||||
IsInternetGateway bool `json:"is_internet_gw"`
|
||||
}
|
||||
|
||||
// ServerUpdateData - contains data to configure server
|
||||
|
||||
Reference in New Issue
Block a user