File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3636 LoadBalancerFlagsNone LoadBalancerFlags = 0
3737 // LoadBalancerFlagsDSR enables Direct Server Return (DSR)
3838 LoadBalancerFlagsDSR LoadBalancerFlags = 1
39+ LoadBalancerFlagsIPv6 LoadBalancerFlags = 2
3940)
4041
4142// LoadBalancerPortMappingFlags are special settings on a loadbalancer.
Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ type SubnetPolicy struct {
7575// NatFlags are flags for portmappings.
7676type NatFlags uint32
7777
78+ const (
79+ NatFlagsNone NatFlags = iota
80+ NatFlagsLocalRoutedVip
81+ NatFlagsIPv6
82+ )
83+
7884/// Endpoint Policy objects
7985
8086// PortMappingPolicySetting defines Port Mapping (NAT)
@@ -135,6 +141,7 @@ type OutboundNatPolicySetting struct {
135141 VirtualIP string `json:",omitempty"`
136142 Exceptions []string `json:",omitempty"`
137143 Destinations []string `json:",omitempty"`
144+ Flags NatFlags `json:",omitempty"`
138145}
139146
140147// SDNRoutePolicySetting sets SDN Route on an Endpoint.
You can’t perform that action at this time.
0 commit comments