Flags (config/config.go)

cilium · pkg/bgp/config/config.go · go · Apache-2.0
infra

Defines BGP configuration flags and defaults for enabling control plane features.

// Source: https://github.com/cilium/cilium | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium

package config

import (
	"github.com/spf13/pflag"
)

const (
	// Flag to enable BGP control plane features
	EnableBGPControlPlane = "enable-bgp-control-plane"

	// EnableBGPControlPlaneStatusReport enables BGP Control Plane CRD status reporting
	EnableBGPControlPlaneStatusReport = "enable-bgp-control-plane-status-report"

	// Enables advertising LoadBalancerIP routes with the BGP ORIGIN
	// attribute set to INCOMPLETE (2), matching MetalLB’s legacy behavior,
	// instead of the default IGP (0).
	EnableBGPLegacyOriginAttr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key