mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-07 13:44:17 +08:00
add egress gw addr to model
This commit is contained in:
parent
b7d3c5b7bd
commit
f565d59af3
1 changed files with 4 additions and 3 deletions
|
@ -37,9 +37,10 @@ type IngressInfo struct {
|
|||
}
|
||||
|
||||
type EgressInfo struct {
|
||||
EgressID string `json:"egress_id" yaml:"egress_id"`
|
||||
GwPeers map[string]PeerRouteInfo `json:"gateway_peers" yaml:"gateway_peers"`
|
||||
EgressGWCfg EgressGatewayRequest `json:"egress_gateway_cfg" yaml:"egress_gateway_cfg"`
|
||||
EgressID string `json:"egress_id" yaml:"egress_id"`
|
||||
EgressGwAddr net.IPNet `json:"egress_gw_addr" yaml:"egress_gw_addr"`
|
||||
GwPeers map[string]PeerRouteInfo `json:"gateway_peers" yaml:"gateway_peers"`
|
||||
EgressGWCfg EgressGatewayRequest `json:"egress_gateway_cfg" yaml:"egress_gateway_cfg"`
|
||||
}
|
||||
|
||||
// PeerRouteInfo - struct for peer info for an ext. client
|
||||
|
|
Loading…
Add table
Reference in a new issue