# Functions
Bootstrap creates resources required by the network plugin on the cloud.
DeprecatedCanonicalize converts configuration to a canonical form for backward compatibility.
FillDefaults computes any default values and applies them to the configuration This is a mutating operation.
GetDefaultMTU gets the mtu of the default route.
GetInternalSubnets returns internal subnet values for both IP families It returns default values if conf is nil or the subnets are not configured.
GetIPsecMode return the ipsec mode accounting for upgrade scenarios Find the IPsec mode from Ipsec.config Ipsec.config == nil (bw compatibility) || ipsecConfig == Off ==> ipsec is disabled ipsecConfig.mode == "" (bw compatibility) || ipsec.Config == Full ==> ipsec is enabled for NS and EW ipsecConfig.mode == External ==> ipsec is enabled for NS only.
GetMasqueradeSubnet returns masquerade subnet values for both IP families It returns default values if conf is nil or the subnets are not configured.
GetTransitSwitchSubnets returns transit switch subnet values for both IP families It returns default values if conf is nil or the subnets are not configured.
IsChangeSafe checks to see if the change between prev and next are allowed FillDefaults and Validate should have been called, but beware that prev may be from an older version.
IsIPsecLegacyAPI returns true if the old (pre 4.15) IPsec API is used, and false otherwise.
MergeClusterConfig merges the cluster configuration into the real CRD configuration.
NeedMTUProbe returns true if we need to probe the cluster's MTU.
No description provided by the author
StatusFromOperatorConfig generates the cluster NetworkStatus from the currently applied operator configuration.
Validate checks that the supplied configuration is reasonable.
ValidateClusterConfig ensures the cluster config is valid.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RFC 791.
RFC 8200.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
gRPC healthcheck port.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author