# Technical Documentation: projectcalico/calico

> ℹ️ **Provenance:** Multi-Tier Ingestion · [CodeWiki Reference](https://codewiki.google/github.com/projectcalico/calico)

### Overview (`README.md`)

[](https://goreportcard.com/report/github.com/projectcalico/calico)
[](https://artifacthub.io/packages/helm/projectcalico/tigera-operator)
[](calico/LICENSE)
[](https://pkg.go.dev/github.com/projectcalico/api)
[](https://bestpractices.coreinfrastructure.org/projects/6064)

<div align=center>
<h1>Calico</h1>
<h2>
<a href="https://projectcalico.docs.tigera.io/getting-started/kubernetes/quickstart">Quickstart</a> |
<a href="https://projectcalico.docs.tigera.io">Docs</a> |
<a href="CONTRIBUTING.md">Contribute</a> |
<a href="https://slack.projectcalico.org">Slack</a> |
<a href="https://github.com/projectcalico/calico/releases">Releases</a>
</h2>
</div>

## 🐾 Welcome to Project Calico!

Project Calico, created and maintained by [Tigera][tigera], is an open-source project with an active development and user community. Calico Open Source has grown to be the most widely adopted solution for container networking and security, powering 8M+ nodes daily across 166 countries.

## 🌟 Why use Calico?

- **Data Plane Choice**: eBPF, standard Linux, Windows, and VPP — versatility in network solutions.
- **Interoperability**: Works across multiple distros, multiple clouds, bare metal, and VMs.
- **Optimized Performance**: Engineered for high speed and low CPU usage, maximizing your cluster investments.
- **Scalable Architecture**: Grows seamlessly with your Kubernetes clusters without sacrificing performance.
- **Advanced Security**: Get granular access controls and WireGuard encryption.
- **Kubernetes Networking Policy Support**: Continually defining excellence in Kubernetes network policy standards and support.
- **Vibrant Contributor Community**: Over 200 contributors from a wide array of global companies.
- **Flexible networking**: An array of networking tools at your disposal, including BGP, VXLAN, service advertisement, and more.

<div align=center>
<img src="https://www.tigera.io/app/uploads/2026/01/Ecosystem_2026.svg">
</div>

## 🤝 Join the Calico Community

- [Calico Big Cats][big-cats]: Become an ambassador and share your journey
- [Community Meetings][community-meetings]: Engage and contribute
- [Contribute on GitHub][first-issues]: Start with 'good first issues'
- [Connect on Slack][slack]: Join the conversation with fellow contributors and our developers

## 💡 Contributing to Project Calico

- [Get Started with Project Calico][get-started]
- [Repositories][repos]
- [Contribute to our docs][docs-contrib]
- Documentation: [Dive into our training and resources][resources]
- [Make Calico better][issues]

## 🛠️ Projects We Maintain

- [Calico Golang API][api]
- [Calico operator][operator]
- [VPP dataplane][vpp]
- [Calico BIRD][bird]

## 📢 Stay Connected

- Subscribe: [Join our newsletter][news]
- [YouTube channel for updates & tutorials][youtube]
- [Technical Blog][blog]
- [Careers][join]: Passionate about open source? Join our team.

[tigera]: https://www.tigera.io/
[big-cats]: https://www.tigera.io/project-calico/calico-big-cats-ambassador-program/#meet-calico-big-cats
[community-meetings]: https://calendar.google.com/calendar/u/0/embed?src=tigera.io_uunmavdev5ndovf0hc4frtl0i0@group.calendar.google.com
[first-issues]: https://github.com/projectcalico/calico/labels/good%20first%20issue
[slack]: https://slack.projectcalico.org/
[get-started]: https://docs.tigera.io/calico/latest/about
[repos]: https://github.com/orgs/projectcalico/repositories
[docs-contrib]: https://github.com/projectcalico/calico/blob/master/CONTRIBUTING_DOCS.md
[resources]: https://docs.tigera.io/calico/latest/about/training-resources
[issues]: https://github.com/projectcalico/calico/issues
[api]: https://github.com/projectcalico/api
[operator]: https://github.com/projectcalico/calico/tree/master/operator
[vpp]: https://github.com/projectcalico/vpp-dataplane
[news]: https://www.tigera.io/project-calico/#:~:text=Join%20Calico%20Open%20Source%20community%20newsletter
[youtube]: https://www.youtube.com/channel/UCFpTnXDNcBoXI4gqCDmegFA
[blog]: https://www.tigera.io/blog/?_sft_category=technical-blog
[join]: https://www.tigera.io/careers/
[bird]: https://github.com/projectcalico/bird

---

### Overview (`.argoci/README.md`)

# .argoci — OSS Calico e2e on ArgoCI

This directory carries everything ArgoCI needs to run the OSS Calico e2e suites,
migrated off Semaphore's scheduled e2e builds.

## Contents

- `scripts/` — the e2e lifecycle, originally ported from the Semaphore e2e
  scripts (since deleted) and adapted for ArgoCI (secrets via
  `createLocalSecret`, `CI_*` vars,
  `RELEASE_STREAM` from the checked-out branch, GCS artifacts; `bz` + cloud
  CLIs come from the runner image). `global_prologue.sh` → `body_standard.sh`
  (dispatches to `phases/*`) → `global_epilogue.sh`.
- `cron/*.yaml` — one condensed ArgoCI workflow per e2e suite, each carrying the
  jobs and schedule of the Semaphore pipeline it replaced.
  `cc-argoci-handler` expands each into a full CronWorkflow (checkout,
  secret loading, node placement, dind, exit handler, notifications, labels,
  metrics), picked up automatically on merge to the default branch. The one
  exception to the mirroring is `cron/e2e-openstack.yaml` (the weekly
  Calico-for-OpenStack e2e tests), which is new here rather than migrated
  from one of this repo's Semaphore pipelines.

- `config.yaml` + `ciworkflow.yaml` + `modules/*.yaml` — per-PR and per-merge
  repo CI. One workflow composed from modules, so `depends:` and the artifact
  namespace can cross component boundaries, and its single status can be a
  required check. That includes the gcp-kubeadm e2e lane, which tests the binary
  built from the PR rather than the published hashrelease images the crons test.
- `depstree.yaml` — **generated.** What each component's CI must re-run for, as
  path patterns. See below.

These crons and scripts are maintained **by hand** going forward: edit the
YAML (or the scripts) directly to change a suite's jobs, env, or schedule.

## `depstree.yaml` — generated component triggers

Which paths affect which component is derived from the live Go import graph, not
maintained by hand:

```bash
make gen-deps-files      # regenerates deps.txt files and depstree.yaml
```

CI regenerates and diffs it, so a stale copy fails the build rather than
quietly under-firing a gate. It is the same dependency model the SemaphoreCI
`change_in` clauses are built from — one component cannot come to mean two
different things in the two systems — rendered as anchored regexes because that
is what an ArgoCI gate matches with.

Each entry is one component treated as its own primary package. Combining
several over-fires slightly against a job that names a primary plus secondaries,
and never under-fires, so entries can be unioned freely.

Two things it deliberately does not cover:

- **A component that is not a Go package** has no import graph to derive
  (`whisker`, `manifests`, `charts` content, and `lib`/`pkg`, which are separate
  modules excluded from the component list). Those gate on a hand-written
  pattern — as they do on Semaphore, where `20-lib.yml` uses a literal
  `change_in(['/lib/'])` rather than the `CHANGE_IN` macro.
- **A module's own file.** Editing a job definition should re-run what it
  builds, and only the workflow knows which module belongs to which component —
  so keep that pattern in the `includes:` entry.

### Using it from the workflow

`ciworkflow.yaml` declares the table, and each gate names components from it
instead of listing their paths:

```yaml
dependencies: .argoci/depstree.yaml

includes:
  - path: .argoci/modules/20-api.yaml
    changes:
      dependsOn: [api]
      in:
        - ^\.argoci/modules/20-api\.yaml$
```

Declared in the workflow rather than in `config.yaml` so that a reader of a gate
can see where its component names come from without opening another file.

Both halves earn their place: `dependsOn` is what the component is built from,
`in:` is what this workflow additionally wants re-run. Each is judged separately
and the results OR-ed, so a component's `exclude` (every generated one drops
`*.md`) can never suppress a hand-written pattern.

Naming a component that is not in the file fails expansion and lists the ones
that are, so a typo cannot become a gate that quietly matches nothing. Check
before pushing with `argoci-expand`, which prints what each name resolved to:

```bash
argoci-expand -changed git:master...HEAD .argoci/ciworkflow.yaml
```

## Layout is flat (no `end-to-end/` subdir)

Semaphore kept e2e under its own `end-to-end/` subdir; here it lives at the top
of `.argoci/`. ArgoCI's handler separates workflows by **file role**, not
directory: scheduled e2e is `cron/*.yaml`, per-PR CI is `ciworkflow.yaml` +
`config.yaml`, and the two coexist here without a subdir. The
handler also reads crons from a fixed `.argoci/cron/` path, so nesting would
require a handler change for no gain. Scope ownership with path-specific
`CODEOWNERS` entries (e.g. `.argoci/cron/`) rather than directories.

## CI-account env must be set here, not left to banzai-core

banzai-core's `Taskvars` defaults point at the **tigera-dev developer** account.
The CI IAM user can't use them, so any variable whose default names an account
resource has to be exported by this prologue — Semaphore did the same in its
own prologue, and a missing one fails at provision time, not at startup:

| Variable | banzai-core default | Needed by CI |
|---|---|---|
| `KOPS_STATE_STORE_NAME` | `kops-tigera-dev` (403) | `kops-tigera-dev-ci` |
| `KOPS_AWS_DNS_ZONE` | `kops.crc.aws.eng.tigera.net` (no zone) | `kops.ci.aws.eng.tigera.net` |
| `OPENSHIFT_BASE_DOMAIN` | `openshift.crc.aws.eng.tigera.net` (no zone) | `openshift.ci.aws.eng.tigera.net` |
| `AZ_PROJECT` (a subscription *name*) | `tigera-dev` | `tigera-dev-ci` |

Semaphore vars deliberately **not** ported, so the next audit doesn't re-add
them: `KOPS_VERSION`/`RKE_VERSION` (banzai-core resolves or pins these, and
Semaphore's GitHub-API lookup is rate-limit-prone); `DOCKER_EE_*` /
`DOCKER_UCP_VERSION` (superseded by banzai-core's newer `MKE_VERSION`);
`AZ_LOCATION`, `ENABLE_ALP` (defaults already match); `NUM_INFRA_NODES`,
`TEST_TYPE`, `GOOGLE_REGION`, `GOOGLE_ZONE` (set per-job by the crons);
`BZ_*`, `BANZAI_CORE_BRANCH`, `SEMAPHORE_*` (Semaphore-runner specific — the
ArgoCI equivalents are `BZ_HOME`/`BZ_LOCAL_DIR`/`BZ_GLOBAL_BIN`).

## Cron naming (branchless)

Cron filenames and their `generateName` carry **no branch** —
`e2e-nftables.yaml`, `generateName: e2e-nftables-`. `cc-argoci-handler`
appends the **deploy branch** to the CronWorkflow's `metadata.name` when it
expands the file:

| Branch the file is on | Deployed CronWorkflow name |
|---|---|
| `master` | `e2e-nftables-master` |
| `release-v3.33` | `e2e-nftables-release-v3-33` (`.` → `-`) |

All crons share the single `argoci` namespace and are applied upsert-by-name,
so the branch qualifier is what stops `master` and a release branch's copy of
the same file from colliding. Deriving the branch at deploy time (not baking it
into the filename) means a file carried onto a release branch by a cut is
correct with no rename. Keep `generateName` branchless — a baked-in branch
would double up (`…-master-master`).

---

### Overview (`api/README.md`)

# projectcalico/api

This is canonical source for API definitions of Projectcalico.

## How to use

One way is to import the clientset directly and use it. See [examples/list-gnp/main.go](examples/list-gnp/main.go) for some example code.

## Adding new APIs
1. Create a .go file which contains the new type to `pkg/apis/<apigroup>/<version>`

1. Add the new type to `pkg/apis/<apigroup>/<version>/register.go`

1. Update generated code, including clients, informers, etc.

   ```
   make build
   ```

---

### Overview (`apiserver/README.md`)

[](https://slack.projectcalico.org)

# Calico API server

<blockquote>
Note that the documentation in this repo is targeted at Calico contributors.
<h1>Documentation for Calico users is here:<br><a href="https://docs.tigera.io/">https://docs.tigera.io/</a></h1>
</blockquote>

This repository contains the Project Calico API server for Kubernetes.

## Building the plugins and running tests

To build the code into a docker image:

```
make image
```

To run the tests:

```
make test
```

To update generated code:

```
make gen-files
```

## License

Calico binaries are licensed under the [Apache v2.0 license](LICENSE), with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/felix/tree/master/bpf-gpl).

---

### Overview (`app-policy/README.md`)

# Application Layer Policy

Application Layer Policy for [Project Calico][calico] enforces network and
application layer authorization policies using [Istio].



Istio mints and distributes cryptographic identities and uses them to establish mutually authenticated TLS connections
between pods.  Calico enforces authorization policy on this communication integrating cryptographic identities and 
network layer attributes.

The `envoy.ext_authz` filter inserted into the proxy, which calls out to Dikastes when service requests are
processed.  We compute policy based on a global store which is distributed to Dikastes by its local Felix.
 
## Getting Started

Application Layer Policy is described in the [Project Calico docs][docs].

 - [Enabling Application Layer Policy](https://docs.tigera.io/calico/latest/network-policy/istio/app-layer-policy)

 [calico]: https://www.tigera.io/project-calico/
 [istio]: https://istio.io
 [docs]: https://docs.tigera.io/calico/latest/about

---

### Overview (`calico/README.md`)

# README

Looking for docs?
[We moved them](https://github.com/tigera/docs).

---

### Overview (`calicoctl/README.md`)

[](https://semaphoreci.com/calico/calicoctl)
[](https://circleci.com/gh/projectcalico/calicoctl/tree/master)

[](https://slack.projectcalico.org)
[](https://kiwiirc.com/client/irc.freenode.net/#calico)

# calicoctl

This repository is the home of `calicoctl`.

<blockquote>
Note that the documentation in this repo is targeted at Calico contributors.
<h1>Documentation for Calico users is here:<br><a href="https://docs.tigera.io/calico">https://docs.tigera.io/calico</a></h1>
</blockquote>

For information on `calicoctl` usage, see the [calicoctl reference information](https://docs.tigera.io/calico/latest/reference/calicoctl/)

### Install

Binary downloads of `calicoctl` can be found on the [Releases page].

Unpack the `calicoctl` binary and add it to your PATH and you are good to go!

If you want to use a package manager:

- [Homebrew] users can use `brew install calicoctl`.

More detailed installation instructions, including are available in the
[online documentation][detailed install instructions].

[Releases page]: https://github.com/projectcalico/calicoctl/releases
[Homebrew]: https://brew.sh/
[detailed install instructions]: https://docs.tigera.io/calico/latest/operations/calicoctl/install

### Developing

Print useful actions with `make help`.

### Building `calicoctl`

For simplicity, `calicoctl` can be built in a Docker container, eliminating
the need for any dependencies in your host developer environment, using the following command:

```
make build
```

The binary will be put in `./bin/` and named `calicoctl-<os>-<arch>`, e.g.:

```
$ ls -1 ./bin/
calicoctl-linux-amd64
calicoctl-linux-arm64
calicoctl-linux-ppc64le
calicoctl-linux-s390x
calicoctl-darwin-amd64
calicoctl-darwin-arm64
calicoctl-windows-amd64.exe
```

To build for a different OS or ARCH, simply define it as a var to `make`, e.g.:

```
$ make build ARCH=arm64
$ make build OS=darwin ARCH=amd64
```

To list all possible targets, run `make help`.

## Tests

Tests can be run in a container to ensure all build dependencies are met.

To run the tests
```
make test
```

**Note:** Tests depend on the test image `calico/test`, which is available only on `amd64`. The actual image used as set by the make variable `TEST_CONTAINER_NAME`. If you have a local build of that image or one for a different architecture, you can override it by setting the variable, e.g.:

```
$ make test TEST_CONTAINER_NAME=some/container:tag
```

---

### Overview (`cni-plugin/README.md`)

[](https://semaphoreci.com/calico/cni-plugin)
[](https://slack.projectcalico.org)
[](https://kiwiirc.com/client/irc.freenode.net/#calico)

# Calico Networking for CNI

<blockquote>
Note that the documentation in this repo is targeted at Calico contributors.
<h1>Documentation for Calico users is here:<br><a href="https://docs.tigera.io/">https://docs.tigera.io/</a></h1>
</blockquote>

This repository contains the Project Calico network plugin for CNI.  This plugin allows you to use Calico networking for
any orchestrator which makes use of the [CNI networking specification][cni specification].

This repository includes a top-level CNI networking plugin, as well as a CNI IPAM plugin which makes use of Calico IPAM.

To learn more about CNI, visit the [containernetworking/cni][cni] repo.

## Building the plugins and running tests
To build the Calico Networking Plugin for CNI locally, clone this repository and run `make`.  This will build both CNI plugin binaries and run the tests. This requires a recent version of Docker.

- To just build the binaries, with no tests, run `make build`. This will produce `bin/$ARCH/calico` and `bin/$ARCH/calico-ipam`.
- To only run the tests, simply run `make test`.
- To run a non-containerized build (i.e. not inside a docker container) you need to have Go 1.7+ and glide installed.

[cni]: https://github.com/containernetworking/cni
[cni specification]: https://github.com/containernetworking/cni/blob/master/SPEC.md
[](https://github.com/igrigorik/ga-beacon)

## License

Calico binaries are licensed under the [Apache v2.0 license](LICENSE), with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/felix/tree/master/bpf-gpl).

Calico imports packages with a number of apache-compatible licenses. For more information, see [licenses](/licenses). In addition, the base container image contains
pre-packaged software with a variety of licenses.

---

### Overview (`confd/README.md`)

[](https://semaphoreci.com/calico/confd) [](https://slack.projectcalico.org) [](https://kiwiirc.com/client/irc.freenode.net/#calico) [](http://godoc.org/github.com/projectcalico/confd)

# confd

This is a Calico-specific version of confd.  It is heavily modified from the original and only
supports a single backend type - namely a Calico datastore.  It has a single purpose which is
to monitor Calico BGP configuration and to autogenerate bird BGP templates from that config.

For details on the original implementation, see:

https://github.com/kelseyhightower/confd.git

---

### Overview (`e2e/README.md`)

# Calico e2e testing

This package contains end-to-end tests for Calico. It produces a test binary that also imports relevant upstream Kubernetes e2e tests (e.g., the networking conformance tests).

To build:

```
make build
```

## Versioning

Each build of the tests is intended for a particular build and version of the code - namely, the same version as the tests. New tests can be safely added to `master` without worry for supporting older versions. Relevant tests or test fixes may be backported to older branches following normal cherry-pick process.

## Conformance testing

A subset of tests within this package are marked as "Conformance" tests using `framework.ConformanceIt`. These tests are intended to function as mainline function verification for any given installation of Calico, and are run as part of CI against a `kind` cluster.

To be marked as `[Conformance]`, a test must typically:

- Run on any platform, and not rely on additional configuration or external resources.
- Be fast (i.e., 15s or less).
- Pass reliably.

It is worth noting that **all** tests should also strive to meet these criteria! But, as the `[Conformance]` suite is run as part of pre-commit CI, keeping this particular suite small, fast, and reliable increases their value.

To run Calico conformance tests against your cluster:

```
KUBECONFIG=<path to kubconfig> ./bin/k8s/e2e.test --ginkgo.focus="sig-calico.*Conformance"
```

---

### Overview (`felix/README.md`)

[](https://slack.projectcalico.org)
[](https://goreportcard.com/report/github.com/projectcalico/felix)
# Project Calico

<blockquote>
Note that the documentation in this repo is targeted at Calico contributors.
<h1>Documentation for Calico users is here:<br><a href="https://docs.tigera.io/">https://docs.tigera.io/</a></h1>
</blockquote>

This repository contains the source code for Project Calico's per-host
daemon, Felix.

## Licensing

Felix itself, along with most of Calico, is licensed under the Apache v2.0 license.  The BPF programs
in the bpf-gpl directory are licensed under the GPL v2.0 for compatibility with Linux kernel helper 
functions. 

## How can I get support for contributing to Project Calico?

The best place to ask a question or get help from the community is the
[calico-users #slack](https://slack.projectcalico.org).  We also have
[an IRC channel](https://kiwiirc.com/client/irc.freenode.net/#calico).

## Who is behind Project Calico?

[Tigera, Inc.](https://www.tigera.io/) is the company behind Project Calico
and is responsible for the ongoing management of the project. However, it
is open to any members of the community – individuals or organizations –
to get involved and contribute code.

## Contributing

Thanks for thinking about contributing to Project Calico! The success of an
open source project is entirely down to the efforts of its contributors, so we
do genuinely want to thank you for even thinking of contributing.

Before you do so, you should check out our contributing guidelines in the
`CONTRIBUTING.md` file, to make sure it's as easy as possible for us to accept
your contribution.

## How do I build Felix?

Felix mostly uses Docker for builds.  We develop on Ubuntu 24.04 but other
Linux distributions should work (there are known `Makefile` issues that prevent building on OS X).  
To build Felix, you will need:

- A suitable linux box.
- To check out the code into your GOPATH.
- Docker >=1.12
- GNU make.
- Plenty of disk space (since the builds use some heavyweight
  full-OS containers in order to build debs and RPMs).

Then, as a one-off, run
```
make update-tools
```
which will install a couple more go tools that we haven't yet containerised.

Then, to build the calico-felix binary:
```
make build
```
or, the `calico/felix` docker image:
```
make image
```

### Other architectures
When you run `make build` or `make image`, it creates the felix binary or docker image for linux on your architecture. The outputs are as follows:

* Binary: `bin/calico-felix-${ARCH}`, e.g. `bin/calico-felix-amd64` or `bin/calico-felix-arm64`
* Image: `calico/felix:${TAG}-${ARCH}`, e.g. `calico/felix:3.0.0-amd64` or `calico/felix:latest-ppc64le`

When you are running on `amd64`, you can build the binaries and images for other platforms by setting the `ARCH` variable. For example:

```
$ make build ARCH=arm64 # OR
$ make image ARCH=ppc64le
```

If you wish to make **all** of the binaries or images, use the standard calico project targets `build-all` and `image-all`:

```
$ make build-all # OR
$ make image-all
```

Note that the `image` and `image-all` targets have the `build` targets as a dependency.

## How can I run Felix's unit tests?

To run all the UTs:
```
make ut
```

To start a `ginkgo watch`, which will re-run the relevant UTs as you update files:
```
make ut-watch
```

To get coverage stats:
```
make cover-report
```
or
```
make cover-browser
```

## How can I run a subset of the go unit tests?

If you want to be able to run unit tests for specific packages for more iterative
development, you'll need to install

- GNU make
- go >=1.10

then run `make update-tools` to install ginkgo, which is the test tool used to
run Felix's unit tests.

There are several ways to run ginkgo.  One option is to change directory to the
package you want to test, then run `ginkgo`.  Another is to use ginkgo's
watch feature to monitor files for changes:
```
cd go
ginkgo watch -r
```
Ginkgo will re-run tests as files are modified and saved.

## How can I debug the Felix FV tests using Goland IDE?

- Create Goland **GO TEST** runtime configuration

  - Launch GoLand on your system.

  - Open your **calico** project.

  - Go to the **Run menu** in the top toolbar.

  - Select `Edit Configurations...` from the dropdown.

  - Click the `"+"` button at the top left of the **Run/Debug Configurations** window and select `Go Test` from the available options.

    - **Name:** Provide a meaningful name for the configuration, e.g., Debug Felix FV Tests.

    - **Test kind:** `package`

    - **Package Path:** set to `github.com/projectcalico/calico/felix/fv`

    - **Working Directory:** Set the working directory to: `/{path to the project root}/felix/fv`

    - **Program arguments:** `-ginkgo.v`

    - Add **Before Launch** instructions
      - Scroll down to the **Before launch** section.
      - Click on the **+ (Add)** button.
      - Select **Run External Tool** > External Tools.
      - Click on **+ (Add)** to create a new external tool.
      - In the **Name** field, enter: `Build and Prepare Felix`
      - In the **Program** field, enter: `/bin/bash`
      - In the **Arguments** field, enter: `-lc "cd $ProjectFileDir$/felix && make build-fv-env"`
      - In the **Working directory** field, enter: `$ProjectFileDir$`
      - Click **OK** to save.
      - Ensure the newly created **Build and Prepare Felix** external tool is added to the **Before launch** list.

    - Click **Apply** and then click **OK**
- If you want to run specific test(s) add **F** letter to the test(s) or test(s) context names, or you can add `-ginkgo.focus="{name of the test}"` attribute to the *Program Arguments* in the IDE Runtime configuration    
- Click **Debug** button next to the IDE Test configuration that you created before

## How can I debug the Felix FV tests using VS Code?

- Create a **Launch Configuration** in VS Code.

  - Open **VS Code** on your system.

  - Open your **calico** project.

  - Ensure you have the **Go extension** installed in VS Code.

  - Create `.vscode/launch.json` file (if not already created).

  - Modify the `.vscode/launch.json` file to include the following configuration:

    ```json
    {
      "version": "0.2.0",
      "configurations": [
          {
              "name": "Debug Felix FV Tests",
              "type": "go",
              "request": "launch",
              "mode": "test",
              "program": "${workspaceFolder}/felix/fv",
              "args": [
                  "-test.v",
                  "-ginkgo.v"
              ],
              "cwd": "${workspaceFolder}/felix/fv",
              "preLaunchTask": "Build and Prepare Felix",
              "console": "integratedTerminal"
          }
      ]
    }
    ```

  - Save the `launch.json` file.

  - Add a **PreLaunch Task** to build and prepare Felix.

    - Open the `.vscode/tasks.json` file (create one if it does not exist).

      - Add the following task:

        ```json
        {
          "version": "2.0.0",
          "tasks": [
              {
                  "label": "Build and Prepare Felix",
                  "type": "shell",
                  "command": "/bin/bash",
                  "args": [
                      "-lc",
                      "cd ${workspaceFolder}/felix && make build-fv-env"
                  ],
                  "group": {
                      "kind": "build",
                      "isDefault": true
                  }
              }
          ]
        }
        ```

    - Save the `tasks.json` file.

- If you want to run specific test(s), add the **F** letter to the test(s) or test(s) context names, or use the `-ginkgo.focus="{name of the test}"` argument in the **args** section of the `launch.json` configuration.

- Start Debugging:
  - Set breakpoints in your code where needed.
  - Go to the **Run and Debug** panel.
  - Select **Debug Felix FV Tests** from the dropdown.
  - Click **Start Debugging** (`F5`).

This setup allows you to debug the Felix FV tests using VS Code with Ginkgo and Go tool configurations.

## How do I build packages/run Felix?

### Docker

After building the docker image (see above), you can run Felix and log to screen
with, for example:

```
docker run --privileged \
           --net=host \
           -v /run:/run \
           -e FELIX_LOGSEVERITYSCREEN=INFO \
           calico/felix
```

Notes:

- `--privileged` is required because Felix needs to execute iptables and other privileged commands.
- `--net=host` is required so that Felix can manipulate the routes and iptables tables in the host
  namespace (outside its container).
- `-v /run:/run` is required so that Felix shares the global iptables file lock with other
  processes; this allows Felix and other daemons that manipulate iptables to avoid clobbering each
  other's updates.
- `-e FELIX_LOGSEVERITYSCREEN=INFO` tells Felix to log at info level to stderr.

### Debs and RPMs

The `Makefile` has targets for building debs and RPMs for different platforms.
By using docker, the build does not need to be run on the target platform.
```
make deb
make rpm
```
The packages (and source packages) are output to the dist directory.

---

### Overview (`goldmane/README.md`)

## Goldmane

Goldmane is a flow aggregation service. It provides a central, aggregated view of network flows in a Kubernetes cluster.

Some key packages:

- **proto/** defines the Flow structure and gRPC services provided by Goldmane.
- **pkg/aggregator/** collects flow information from across the cluster and aggregates those flows across all nodes, building a cluster-wide view of network activity.
- **pkg/client/** contains Golang wrappers for the Goldmane gRPC client code.
- **pkg/server/** contains Golang wrappers for the Goldmane gRPC server code.
- **pkg/emitter/** periodically emits time-aggregated flow information to a configured endpoint.
- **pkg/types/** contains types used by Goldmane.

### Connecting to Goldmane

The following provides an example of how to interact with Goldmane APIs on a Calico cluster from your local machine.

To connect to the Goldmane gRPC API in a production Calico cluster, you will need a few things:

- **Client certificate and key** - Goldmane mandates mTLS with clients.
- **CA certificate** to verify server TLS.

You can fetch these from a typical Calico cluster, for example the following commands collect calico/node client credentials for use:

```
kubectl get secret -n calico-system node-certs --template='{{index .data "tls.key"}}' | base64 -d > tls.key
kubectl get secret -n calico-system node-certs --template='{{index .data "tls.crt"}}' | base64 -d > tls.crt
kubectl get secret -n calico-system goldmane-key-pair --template='{{index .data "tls.crt"}}' | base64 -d > ca.crt
```

Goldmane itself is accessible via port-forwarding:

```
kubectl port-forward -n calico-system svc/goldmane 7443:7443
```

You can now write code using the API defined in [proto/api.proto](proto/api.proto), and access Goldmane APIs directly at `localhost:7443`. It may be useful to use the existing client code at [pkg/client/flowservice.go](pkg/client/flowservice.go) as a starting point.

---

### Overview (`key-cert-provisioner/README.md`)

# key-cert-provisioner

Key-cert-provisioner can be used as an init container to issue a K8s CSR for a certificate.

---

### Overview (`kube-controllers/README.md`)

# Calico Controllers for Kubernetes
<img src="https://docs.projectcalico.org/images/felix.png" width="100" height="100">

This repository contains a collection of kubernetes controllers for Calico. There are several controllers, each of which monitors
the resources in the Kubernetes API and performs a specific job in response to events. The source for each controller can be found
in the [pkg/controllers][controllers-src] directory.

For more information on what each does, see [the Calico documentation][calico-docs].

## Get Started Using Calico

For users who want to learn more about the project or get started with Calico, see the documentation on [docs.tigera.io](https://docs.tigera.io/).

## Get Started Developing Calico

### Dependencies

The entire build can be run within a container, which means the only dependencies you'll need are a [functioning Docker installation](https://docs.docker.com/engine/installation/).

If you'd like to run the build and tests locally outside of a container, you'll need the following dependencies:

- [go v1.8+](https://golang.org/doc/install)
- [glide](https://github.com/Masterminds/glide/)

### Building

Contributions to this code are welcome!  The code in this repository can be built and tested using the Makefile.

- `make image` will produce a docker image containing the artifacts suitable for deploying to kubernetes.
- `make build` will build just the controller binary so it can be run locally.

For more information, see `make help`.

[controllers-src]: https://github.com/projectcalico/calico/tree/master/kube-controllers/pkg/controllers
[calico-docs]: https://docs.tigera.io/calico/latest/reference/kube-controllers/configuration

---

### Overview (`lib/README.md`)

This folder contains importable, self-contained, library modules. These are usable within this project and exportable
to others.

There is an emphasis on restricting the dependencies for these modules, and adding more dependencies should be done
with careful consideration. This statement isn't to completely dissuade any developer from adding dependencies as needed
to a module, but instead to ensure that proper thought is given to whether or not the functionality being added to a module
belongs in that module when new dependencies are required.

As an example, there is a `httpmachinery` module to provide tooling for creating http servers / apis. If k8s or grpc
dependencies were imported for a feature that would be sign that maybe the feature doesn't belong in this module. Either
k8s or grpc modules should be created, or a more generic rethought of the feature being added to the `httpmachinery`
module needs to be done.

---

### Overview (`libcalico-go/README.md`)

[](https://semaphoreci.com/calico/libcalico-go)
[](https://slack.projectcalico.org)
[](https://kiwiirc.com/client/irc.freenode.net/#calico) [
](http://godoc.org/github.com/projectcalico/libcalico-go)
[](https://goreportcard.com/report/github.com/projectcalico/libcalico-go)

# libcalico-go

<img src="https://docs.projectcalico.org/images/felix.png" width="100" height="100">

**Note: This library is intended for internal use only. See [github.com/projectcalico/api](https://github.com/projectcalico/api) for the officially supported API
definition and golang clients.**

This repository contains the internal library for interacting with the Calico data store as well as common source code used across Calico components. Note that the APIs defined in this library are not guaranteed to be forwards or backwards compatible and may change at any time without notice.

Calico is a Tigera open source project, and is primarily maintained by the Tigera team. However any members of the community – individuals or organizations – are welcome to get involved and contribute to the project.

## Get Started Using Calico

For users who want to learn more about the project or get started with Calico, see the documentation on [docs.tigera.io](https://docs.tigera.io/).

## Get Started Developing Calico

### Making changes to libcalico-go

Contributions to this code are welcome!  The code in this repository can be built and tested using the Makefile.

To run the fast set of unit tests within a containerized environment (requires a [functioning Docker installation](https://docs.docker.com/engine/installation/)):

    make ut

For more information on available targets, see `make help`.

### Developing against libcalico-go

If you wish to use libcalico for integrating with Calico networking and
policy, the main entry point to managing Calico configuration is through
the client.

-  Documentation for the client is in [lib/client GoDoc](https://godoc.org/github.com/projectcalico/libcalico-go/lib/client).
-  The resource structure definitions are defined in [lib/apis](https://godoc.org/github.com/projectcalico/libcalico-go/lib/apis), this
   includes detailed per-resource and per-field level descriptions.

---

### Overview (`manifests/README.md`)

# Calico manifests

This directory contains manifests for installing Calico on Kubernetes in various ways.

The majority of the manifests in this directory are automatically generated from the helm charts
in the `charts/` directory of this repository, and can be updated by running `make gen-manifests`
in the repository root.

To make changes to the auto-generated manifests:

1. Modify the source content in either `charts/tigera-operator/` or `charts/calico`

2. Re-run code generation from the top level of this repository

   ```
   make gen-manifests
   ```

One manifest is generated, but not from `charts/`:

- `migration.projectcalico.org_datastoremigrations.yaml` is copied from
  `kube-controllers/pkg/apis/migration/v1/crd/`, which is controller-gen output. Edit the Go
  types in `kube-controllers/pkg/apis/migration/v1/types.go` and run
  `make -C kube-controllers gen-files`, then `make gen-manifests`.

  It's not in the charts because it isn't part of a Calico install. The DatastoreMigration API
  drives a one-time migration of stored resources from the v1 CRDs to the v3 CRDs, so a user only
  installs the CRD if and when they run that migration.

Some of these manifests are not automatically generated. To edit these, modify the manifests directly and
commit your changes. **The following manifests are not auto generated:**

- alp/istio-app-layer-policy-envoy-v3.yaml
- apiserver.yaml
- calicoctl-etcd.yaml
- calicoctl.yaml
- canal-etcd.yaml
- canal.yaml
- csi-driver.yaml
- custom-resources.yaml
- flannel-migration/migration-job.yaml
- grafana-dashboards.yaml
- ocp/00-namespace-tigera-operator.yaml
- ocp/01-cr-apiserver.yaml
- ocp/01-cr-installation.yaml
- ocp-tigera-operator-no-resource-loading.yaml

---

### Overview (`networking-calico/README.md`)

This repo contains code for integrating Project Calico's networking into
OpenStack/Neutron.

Calico is an open source solution for virtual networking in cloud data centers,
developed principally by Tigera and released under the Apache 2.0 License.

For general documentation about Calico, including how to get started with a
Calico/OpenStack installation, and how to use various OpenStack/Neutron
features with Calico, please see https://docs.tigera.io/calico/latest/getting-started/openstack/.

* Free software: Apache license
* Documentation: https://docs.tigera.io/calico/latest/getting-started/openstack/
* Source: https://github.com/projectcalico/networking-calico
* Bugs: https://github.com/projectcalico/networking-calico/issues and
  (legacy) http://bugs.launchpad.net/networking-calico

# Version skew

Calico for OpenStack is tested against one or two recent LTS OpenStack versions, as [defined by
Canonical](https://canonical-openstack.readthedocs-hosted.com/en/latest/reference/release-cycle-and-supported-versions/).
For recent Calico versions the corresponding versions of OpenStack are as follows.

| Calico version | OpenStack versions |
| -------------- | ------------------ |
| master         | Caracal            |
| v3.30          | Yoga, Caracal      |

---

### Overview (`node/README.md`)

[](https://goreportcard.com/report/github.com/projectcalico/node)

# calico/node
<img src="https://docs.projectcalico.org/images/felix.png" width="100" height="100">

This repository contains the source for the `calico/node` container.

## Get Started Using Calico

For users who want to learn more about the project or get started with Calico, see the documentation on [docs.tigera.io](https://docs.tigera.io/).

## Get Started Developing Calico

Contributions to this code are welcome! Before starting, make sure you've read [the Calico contributor guide][contrib].

### Dependencies

The entire build can be run within a container, which means the only dependencies you'll need are a [functioning Docker installation](https://docs.docker.com/engine/installation/).

### Building

The code in this repository can be built and tested using the Makefile.

- `make calico/node` will produce the `calico/node` docker image.

For more information, see `make help`.

[contrib]: https://github.com/projectcalico/calico/blob/master/CONTRIBUTING.md

## How can I run tests?

Tests for this repo are divided into the following categories:
- `fv`: Package scoped tests
- `st`: System integration tests
- `k8s-test`: Kubernetes integration tests

Assuming you have installed the necessary dependencies (see below for details), you can run any of the above categories using:

```
make <target>
```
Where `target` is one of `fv`, `st`, or `k8s-test`. You can also use `test`, which aggregates `fv` and `st`.

### Dependencies for running tests

If you want to be able to run tests locally, you will need to install:
- GNU make

For `st` system integration tests, node uses:
- Python (>= 2.7 ???)
- [Nose](https://nose.readthedocs.io/en/latest/)

For `fv` packaged scoped tests, node uses:
- Golang (>=1.7)
- [Ginkgo](https://github.com/onsi/ginkgo)

You will also need to install Ginkgo explicitly:
```
go get -u github.com/Masterminds/glide
go get -u github.com/onsi/ginkgo/ginkgo
```

For `k8s-test` Kubernetes tests, you will need to have `kubectl` setup on your machine. Go here for [instructions on setting up `kubectl` for your environment](https://kubernetes.io/docs/tasks/tools/install-kubectl/).

## How can I run a subset of the tests?

If you want to run tests for a specific package for more iterative development, you can filter down into a subset of tests using the following parameters:
- For filtering `st` tests, use `ST_TO_RUN`
- For filtering `k8s-test` tests, use `K8ST_TO_RUN`

For example, the following only runs tests within the `bgp` subfolder of the `st` category:
```
make st ST_TO_RUN="tests/st/bgp/"
```

To only run tests from a single file (e.g. `test_bgp.py`), use the following:
```
make st ST_TO_RUN="tests/st/bgp/test_bgp.py"
```

To only run a single test within a test file use the below syntax:
```
make st ST_TO_RUN="tests/st/bgp/test_bgp.py:TestReadiness.test_readiness_multihost"
```

The above examples should apply in the same fashion if you are using `K8ST_TO_RUN` instead for the `k8s-test` category.

## How do I debug tests?
There are a number of possible avenues you can use to debug failing tests.

1. Review the diagnostic logs after the tests finish running
- These only show for failed tests
- Be warned the logs are quite verbose
2. Use the parameter `DEBUG_FAILURES` with the Makefile
```
make st DEBUG_FAILURES=true
```
- This only applies to `st` tests
- A subset of the `st` are wrapped by `debug_failures(fn)` function found in `./tests/st/utils/utils.py`
- You should be able to wrap whatever test you want
- Uses Python's `pdb.set_trace()` library function, allows you to halt executing and step into the containers involved in the test for debugging
3. Use manual breakpoints
- A more primitive approach is just to add your own breakpoints (using something like `time.sleep(x)`)
- You should know where to add these after reviewing the diagnostic logs for failed tests (by looking at the stacktraces)

## Linux Dependencies
Below is a listing of userspace tools packaged into the node container. The list is not exhaustive, but highlights some of the key dependencies required for node to operate correctly.

- [`/usr/sbin/arp`](http://man7.org/linux/man-pages/man8/arp.8.html)
    - Manipulate the system ARP cache
    - Package: `net-tools`
- [`/usr/sbin/conntrack`](http://man7.org/linux/man-pages/man8/arp.8.html)
    - Netfilter connection tracking
    - Package: `conntrack`
- [`/bin/ip`](https://linux.die.net/man/8/ip)
    - Show / manipulate routing, devices, policy routing and tunnels
    - Package: `iproute2`
- [`/usr/sbin/iptables`](https://linux.die.net/man/8/iptables)
    - Admin tool for IPv4 packet filtering and NAT
    - Note, we're using the legacy version `iptables-legacy → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- [`/usr/sbin/iptables-restore`](https://linux.die.net/man/8/iptables-restore)
    - Note, we're using the legacy version `iptables-legacy-restore → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- [`/usr/sbin/iptables-save`](https://linux.die.net/man/8/iptables-save)
    - Note, we're using the legacy version `iptables-legacy-save → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- [`/usr/sbin/ip6tables`](https://linux.die.net/man/8/ip6tables)
    - Admin tool for IPv6 packet filtering and NAT
    - Note, we're using the legacy version `ip6tables-legacy → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- `/usr/sbin/ip6tables-restore`
    - Note, we using the legacy version `ip6tables-legacy-restore → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- `/usr/sbin/ip6tables-save`
    - Note, we using the legacy version `ip6tables-legacy-save → xtables-legacy-multi` (divergence introduced in `iptables v1.8.2`)
    - Package: `iptables`
- [`/bin/ps`](https://linux.die.net/man/1/ps)
    - Snapshot of the current processes
    - Package: `procps`
- [`/bin/kmod`](http://man7.org/linux/man-pages/man8/kmod.8.html)
    - Manage Linux Kernel modules
    - soft link for `depmod`, `insmod`, `lsmod`, `modinfo`, `modprobe`, `rmmo`
    - Package: `kmod`
- [`/sbin/runit`](http://smarden.org/runit/)
    - Init scheme with service supervision
    - Package: `runit`
- [`/usr/sbin/runsvchdir`](http://smarden.org/runit/runsvdir.8.html)
    - Starts and monitors a collection of runsv processes
    - Package: `runit`

### License

Calico binaries are licensed under the [Apache v2.0 license](LICENSE), with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/felix/tree/master/bpf-gpl).

Calico imports packages with a number of apache-compatible licenses. For more information, see [licenses](/licenses). In addition, the base container image contains
pre-packaged software with a variety of licenses.

---

### Overview (`operator/README.md`)

# Calico Operator

This directory contains the Kubernetes operator that manages the lifecycle of a Calico or Calico Enterprise installation on Kubernetes and OpenShift. Each part of an installation gets its own CRD in the `operator.tigera.io` API group, along with a controller that renders the Kubernetes resources for that part, reconciles them, and reports progress through a TigeraStatus.

The operator is built with the [operator-sdk](https://github.com/operator-framework/operator-sdk) and controller-runtime, so it is worth being familiar with those before making changes here.

## Documentation

- [DESIGN.md](DESIGN.md) - the operator's architecture and the reasoning behind it.
- [docs/api_design.md](docs/api_design.md) - conventions for the CRD types in `api/v1`.
- [docs/common_tasks.md](docs/common_tasks.md) - running the operator against a local cluster, testing, and debugging.

Installation and configuration documentation for users lives at [https://docs.tigera.io/](https://docs.tigera.io/).

## Building and testing

Builds and tests run through the Makefile in this directory:

```
make build
make test
make image
```

Run `make help` for the full list of targets.

---

### Overview (`pod2daemon/README.md`)

# pod2daemon
pod2daemon enables secure communication between a Kubernetes pod and a daemon (e.g. created with a DaemonSet) running on the host. It creates a Kubernetes [FlexVolume Driver](https://github.com/kubernetes/community/blob/release-1.6/contributors/devel/flexvolume.md) type `nodeagent/uds` to enable [Nodeagent](https://docs.google.com/document/d/1J67aol2phtZdBwbfuyk36fqLzRHn8c7k_2rAxwGslCk/edit#heading=h.x9snb54sjlu9) to verify the identity of a workload.
A Flexvolume driver type `nodeagent/uds` is added to each workload and when such a workload is created, with the volume type mounted, the Nodeagent is notified by the Flexvolume driver. The `workloadhandler` creates a Unix Domain Socket (UDS) per workload and then initializes the workloadAPI Grpc Server (see below). The workloadAPI Grpc server can get the credentials of the workload from the workload handler.

The code here was tested with Kubernetes version v1.22.

# What is in this repo
 ## Flexvolume driver:
 This is the flex volume driver that should be copied to /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds/uds
 Or you can use the provided initcontainer that copies the binary to the specified location on the node.
 See `nodeagent/nodeagent.yaml`
 
# How to build

## FlexVolume Binary

    make build

Outputs to `bin/flexvol-<arch>`

## Docker image

    make image

# How to setup the FlexVolume driver
See `nodeagent/nodeagent.yaml` initContainer to see how the FlexVolume driver is setup.

The `nodeagent.yaml` also shows how the nodeagent volumes need to be setup.

# How to setup the Workload
See `flexvol/udsver-mount.yaml` for a sample of how a workload will setup the flexvolume.
```yaml
...snip
     containers:
        volumeMounts:
        - mountPath: /tmp/udsver
          name: test-volume
      volumes:
        - name: test-volume
          flexVolume:
            driver: nodeagent/uds
```

---

### Overview (`release/README.md`)

# Release

`release` is the CLI that builds and publishes releases and hashreleases.

- To run a release or a hashrelease, see [`RELEASING.md`](RELEASING.md).
- For how the code works and the rules a change must keep, see
  [`DESIGN.md`](DESIGN.md).

## Build

```sh
make build
```

This writes `bin/release`.

## Usage

```sh
./bin/release --help
```

Every command takes `--help`, which lists its flags and the environment
variables that set them.

---

### Overview (`typha/README.md`)

# Typha

This repository contains the source code for Project Calico's optional Typha daemon.  An instance of Typha sits
between the datastore (such as the Kubernetes API server) and many instances of Felix.



This has many advantages:

- Since one Typha instance can support hundreds of Felix instances, it reduces the load on the datastore
  by a large factor.

- Since Typha can filter out updates that are not relevant to Felix, it also reduces Felix's
  CPU usage.  In a high-scale (100+ node) Kubernetes cluster, this is _essential_ because the
  number of updates generated by the API server scales with the number of nodes.

## When should I use Typha?

We recommend always using Typha when you are using the Kubernetes API datastore.
However, Typha is strictly necessary when you are using the Kubernetes API datastore
with a cluster greater than 50 nodes.

Typha is generally not required for Calico deployments using an etcdv3 datastore directly.

## How can I start using Typha?

Follow the "more than 50 nodes" section in the
[Calico for Kubernetes getting started guide](https://docs.tigera.io/calico/latest/getting-started/kubernetes/self-managed-onprem/onpremises).

## How can I get support for contributing to Project Calico?

The best place to ask a question or get help from the community is the
[calico-users #slack](https://slack.projectcalico.org).  We also have
[an IRC channel](https://kiwiirc.com/client/irc.freenode.net/#calico).

## Who is behind Project Calico?

[Tigera, Inc.](https://www.tigera.io/) is the company behind Project Calico
and is responsible for the ongoing management of the project. However, it
is open to any members of the community – individuals or organizations –
to get involved and contribute code.

## Contributing

Thanks for thinking about contributing to Project Calico! The success of an
open source project is entirely down to the efforts of its contributors, so we
do genuinely want to thank you for even thinking of contributing.

Before you do so, you should check out our contributing guidelines in the
`CONTRIBUTING.md` file, to make sure it's as easy as possible for us to accept
your contribution.

## How do I build Typha?

Typha mostly uses Docker for builds.  We develop on Ubuntu 24.04 but other
Linux distributions should work (there are known Makefile that prevent building on OS X).
To build Typha, you will need:

- A suitable linux box.
- To check out the code into your GOPATH.
- Docker >=1.12
- GNU make.

Then, as a one-off, run

```bash
make update-tools
```

which will install a couple more go tools that we haven't yet containerized.

Then, to build the calico-typha binary:

```bash
make build
```

or, the `calico/typha` docker image:

```bash
make image
```

## How can I run Typha's unit tests?

To run all the UTs:

```bash
make ut
```

To start a `ginkgo watch`, which will re-run the relevant UTs as you update files:

```bash
make ut-watch
```

To get coverage stats:

```bash
make cover-report
```

or

```bash
make cover-browser
```

## How can I run a subset of the Go unit tests?

If you want to be able to run unit tests for specific packages for more iterative
development, you'll need to install

- GNU make
- go >=1.7

then run `make update-tools` to install ginkgo, which is the test tool used to
run Typha's unit tests.

There are several ways to run ginkgo.  One option is to change directory to the
package you want to test, then run `ginkgo`.  Another is to use ginkgo's
watch feature to monitor files for changes:

```bash
cd go
ginkgo watch -r
```

Ginkgo will re-run tests as files are modified and saved.

## How do I build packages/run Typha?

### Docker

After building the docker image (see above), you can run Typha and log to screen
with, for example:

```bash
docker run --privileged --net=host -e TYPHA_LOGSEVERITYSCREEN=INFO calico/typha
```

## License

Calico binaries are licensed under the [Apache v2.0 license](LICENSE), with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/felix/tree/master/bpf-gpl).

Calico imports packages with a number of apache-compatible licenses. For more information, see [licenses](/licenses).
In addition, the base container image contains pre-packaged software with a variety of licenses.

---

### Overview (`whisker/README.md`)

# Tigera OSS-UI

## Set node version

Run `nvm use` or `nvm install`

## Install dependencies

Run `yarn`

## Start a development server

Run `yarn start`

Go to `http://localhost:3000` using chrome with disabled web security

To proxy to cluster backend run `kubectl -n calico-system port-forward pod/$(kubectl get pods -l k8s-app=whisker -n calico-system -o jsonpath='{.items[0].metadata.name}') 3002:3002`

## Build

Run `yarn build`
Run `yarn build:local` to build with a config that works locally when serving.

## Testing

Run `yarn test` or `yarn test:cov` to update coverage

## Formatting

Run `yarn format` or `yarn format:fix` to fix formatting issues

## Linting

Run `yarn lint` or `yarn lint:fix` to fix linting issues

## Pre commit

Run `yarn verify` to run all of the previous commands and avoid CI failures

Run `yarn patch` or `yarn minor`

# VS Code settings

```settings.json
{
    // Enable aliased imports with intellisense
    "typescript.preferences.importModuleSpecifier": "shortest",
}
```

---

### Overview (`charts/calico/README.md`)

# About

This is **not a supported helm chart for installing Calico**. 

If you would like to install Calico via helm, instead see [the supported Calico Helm chart](../tigera-operator).

The templates in this directory are used for generating the contents of the [manifests/](../../manifests) directory, and are not intended
to be used directly as a Helm chart for installing Calico.

---

### Overview (`charts/crd.projectcalico.org.v1/README.md`)

# Calico CRDs

This chart contains the Calico Custom Resource Definitions (CRDs), required for the tigera-operator helm chart to function properly:

- `crd.projectcalico.org/v1` API group
- `operator.tigera.io/v1` API group

The CRDs live in their own chart because Helm does not upgrade or delete CRDs bundled in a chart's `crds/` directory. See [Helm's CRD best practices](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/).

# Installing

Install or upgrade the CRDs before installing or upgrading the `tigera-operator` chart:

```
helm repo add projectcalico https://docs.tigera.io/calico/charts
helm template calico-crds projectcalico/crd.projectcalico.org.v1 | kubectl apply --server-side -f -
```

`helm template | kubectl apply --server-side` is used rather than `helm install` because some Calico CRDs exceed the size limit for client-side apply.

---

### Overview (`charts/projectcalico.org.v3/README.md`)

# Calico CRDs

This chart contains the following Calico Custom Resource Definitions (CRDs), required for the tigera-operator helm chart to function properly:

- projectalico.org/v3 API group
- operator.tigera.io/v1 API group

---

### Overview (`charts/tigera-operator/README.md`)

# Calico

Calico is a widely adopted, battle-tested open source networking and network security solution for Kubernetes, virtual machines, and bare-metal workloads.
Calico provides two major services for Cloud Native applications:

- Network connectivity between workloads.
- Network security policy enforcement between workloads.

Calico’s flexible architecture supports a wide range of deployment options, using modular components and technologies, including:

- Choice of data plane technology, whether it be [eBPF](https://docs.tigera.io/calico/latest/operations/ebpf/use-cases-ebpf), standard Linux, [Windows HNS](https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/architecture) or [VPP](https://github.com/projectcalico/vpp-dataplane)
- Enforcement of the full set of Kubernetes network policy features, plus for those needing a richer set of policy features, Calico network policies.
- An optimized Kubernetes Service implementation using eBPF.
- Kubernetes [apiserver integration](./apiserver), for managing Calico configuration and Calico network policies.
- Both non-overlay and [overlay (via IPIP or VXLAN)](https://docs.tigera.io/calico/latest/networking/configuring/vxlan-ipip) networking options in either public cloud or on-prem deployments.
- [CNI plugins](https://docs.tigera.io/calico/latest/networking/determine-best-networking#calico-compatible-cni-plugins-and-cloud-provider-integrations) for Kubernetes to provide highly efficient pod networking and IP Address Management (IPAM).
- A [BGP routing stack](https://docs.tigera.io/calico/latest/networking/configuring/bgp) that can advertise routes for workload and service IP addresses to physical network infrastructure.

# Installing

Install so any Calico resources you care about (for example a
`FelixConfiguration`) exist before the operator starts reconciling:

1. Add the projectcalico helm repository.

   ```
   helm repo add projectcalico https://docs.tigera.io/calico/charts
   ```

1. Install the Calico CRDs. As of Calico v3.32, CRDs are no longer bundled in this chart and must be installed separately from the `crd.projectcalico.org.v1` chart. See [Custom Resource Definitions](#custom-resource-definitions) below for why.

   ```
   helm template calico-crds projectcalico/crd.projectcalico.org.v1 | kubectl apply --server-side -f -
   ```

1. (Optional) Apply any Calico custom resources you want in place before the
   operator runs. Helm sorts unknown kinds last, so resources created by this
   chart can land after the operator Deployment is already up. Applying them
   yourself here guarantees order. Example:

   ```
   kubectl apply -f - <<EOF
   apiVersion: projectcalico.org/v3
   kind: FelixConfiguration
   metadata:
     name: default
   spec:
     usageReportingEnabled: false
   EOF
   ```

   Use `projectcalico.org/v3` when the v3 API is available (for example after
   installing the Calico API server); otherwise use the CRD group
   `crd.projectcalico.org/v1`.

1. Create the tigera-operator namespace.

   ```
   kubectl create namespace tigera-operator
   ```

1. Install the helm chart into the `tigera-operator` namespace.

   ```
   helm install calico projectcalico/tigera-operator --namespace tigera-operator
   ```

> **Note:** `defaultFelixConfiguration` in `values.yaml` is deprecated. Prefer
> applying a `FelixConfiguration` in step 3 above. The chart field remains for a
> deprecation window so existing values files keep working.

# Custom Resource Definitions

This chart does not install the Calico CRDs (the `crd.projectcalico.org` and `operator.tigera.io` API groups). Helm does not upgrade or delete CRDs that live in a chart's `crds/` directory, which makes CRD lifecycle management awkward over the life of a cluster. Following [Helm's CRD best practices](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/), the CRDs are shipped in a separate `crd.projectcalico.org.v1` chart that you install and upgrade yourself.

To install or upgrade the CRDs:

```
helm template calico-crds projectcalico/crd.projectcalico.org.v1 | kubectl apply --server-side -f -
```

`helm template | kubectl apply --server-side` is used rather than `helm install` because some Calico CRDs exceed the size limit for client-side apply.

# Upgrading

Prior to release v3.23, the Calico helm chart itself deployed the `tigera-operator` namespace and required that the helm release was
installed in the `default` namespace. Newer releases properly defer creation of the `tigera-operator` namespace to the user and allow installation
of the chart into the `tigera-operator` namespace.

When upgrading from a version of Calico v3.22 or lower to a version of Calico v3.23 or greater, you must complete the following steps to migrate
ownership of the helm resources to the new chart location.

## Upgrade OwnerReferences

If you do not use OwnerReferences on resources in the projectcalico.org/v3 API group, you can skip this section.

Starting in Calico v3.28, a change in the way UIDs are generated for projectcalico.org/v3 resources requires that you update any OwnerReferences that refer to projectcalico.org/v3 resources as an owner. After upgrade, the UID for all projectcalico.org/v3 resources will be changed, resulting in any owned resources being garbage collected by Kubernetes.

1. Remove any OwnerReferences from resources in your cluster that have apiGroup: projectcalico.org/v3.
2. Perform the upgrade normally.
3. Add new OwnerReferences to your resources referencing the new UID.

## Upgrade from Calico versions prior to v3.23.0

1. Patch existing resources so that the new chart can assume ownership.

   ```
   kubectl patch installation default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch apiserver default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch podsecuritypolicy tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch -n tigera-operator deployment tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch -n tigera-operator serviceaccount tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch clusterrole tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   kubectl patch clusterrolebinding tigera-operator tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}'
   ```

1. Install the helm chart in the `tigera-operator` namespace.

   ```
   helm install {{site.prodname | downcase}} projectcalico/tigera-operator --version {{site.data.versions[0].title}} --namespace tigera-operator
   ```

1. Once the install has succeeded, you can delete any old releases in the `default` namespace.

   ```
   kubectl delete secret -n default -l name=calico,owner=helm --dry-run
   ```

> **Note:** The above command uses --dry-run to avoid making changes to your cluster. We recommend reviewing
> the output and then re-running the command without --dry-run to commit to the changes.

## All other upgrades

1. Update the Calico CRDs. Helm will not do this for you (see [Custom Resource Definitions](#custom-resource-definitions)), so apply them before upgrading the operator chart.

   ```bash
   helm template calico-crds projectcalico/crd.projectcalico.org.v1 | kubectl apply --server-side -f -
   ```

1. Run the helm upgrade:

   ```bash
   helm upgrade {{site.prodname | downcase}} projectcalico/tigera-operator
   ```

# Values reference

The default values.yaml should be suitable for most basic deployments.

```
/* Detailed source-code truncated for AI context efficiency. */
```

---

### Overview (`confd/tests/README.md`)

# confd BIRD template testing

These tests verify that confd's BIRD template rendering produces the correct output for both the etcd and KDD (Kubernetes) backends.

Tests run in-process using envtest (KDD) and a standalone etcd process, with no Docker or external binaries required beyond the envtest assets.

To run: `make -C confd fv`

## Test Structure

- `helpers_test.go` — shared test infrastructure (backend setup, resource helpers, confd/Typha lifecycle)
- `*_test.go` — test files organized by feature (mesh, explicit peering, BGP filters, etc.)
- `mock_data/calicoctl/` — YAML input fixtures applied via the Calico client
- `compiled_templates/` — golden files for expected BIRD config output

## Mock Data

The mock data and compiled templates were originally generated in a cluster with three nodes:

- kube-master (10.192.0.2/16)
- kube-node-1 (10.192.0.3/16)
- kube-node-2 (10.192.0.4/16)

## Compiled Templates

Golden files live in `compiled_templates/`. For small changes, edit them by hand. For large template changes, run with `UPDATE_EXPECTED_DATA=true` to automatically overwrite the golden files with the actual rendered output:

```bash
make -C confd fv UPDATE_EXPECTED_DATA=true
```

When a test fails without this flag, the diff output shows the expected vs actual content and the paths to both files on disk.

---

### Overview (`e2e/testsets/README.md`)

# Test sets

Generated. Run `make -C e2e gen-test-set` and commit the result; CI fails the diff otherwise.

`index.txt` lists every CI lane in `.argoci/cron/`, `.argoci/modules/` and `.semaphore/semaphore.yml.d/blocks/`, the test set it resolves to, and how many specs that set selects. `sets/` holds one file per lane, listing the spec names a run would execute.

The point is review. A change to a config under `e2e/config/`, or to a spec's name or labels, shows up here as the specs it added or removed, so the effect on CI coverage is visible in the PR rather than in the next cron run.

Set names come from the lane, not its config: the CI system, the file that declares the lane, and the lane name in lowercase with hyphens. The `datastore-k8s-e2e-kdd-old [stable-1-canal-yaml]` cell in `.argoci/cron/e2e-iptables.yaml` becomes `sets/cron/e2e-iptables/datastore-k8s-e2e-kdd-old-stable-1-canal-yaml.txt`. Every matrix entry is its own lane, suffixed with the entry name even when it selects like its siblings, and lanes sharing a config each get their own file. Changing which configs a lane lists then shows up as a change to that lane's specs rather than as a renamed file.

A job that runs the suite more than once resolves to one lane per run. The flannel migration script is the only one today: it runs a single connectivity spec before migrating, recorded as a `[pre-migration]` lane, then the whole suite with the job's own config.

An empty set is a lane running no specs at all. The generator prints `EMPTY` rather than failing, but a config that selects nothing is a bug worth chasing.

---

### Overview (`felix/k8sfv/README.md`)

# Felix FV testing

The tests in this directory test the Felix process as a whole, by running it in
a container, configured to use the Kubernetes datastore driver; driving it by
configuring various resources (pods, policies etc.) in the Kubernetes API; and
verifying or measuring the observable effects.

The test driver is a separate Go program, `k8sfv.test`, that uses the k8s go
client libraries to create, update and delete k8s resources.  It also uses
ginkgo - as our unit tests do - to organize its test cases and specify the
effects to test or measure.  That means, for example, that ginkgo's 'focussing'
can be used to run just a particular test or group of tests.

(In principle we could equally do all this with the etcd datastore, using
either `calicoctl` or `libcalico-go` to populate the etcd datastore, but we
haven't done that yet.)

## Objectives

High-level objectives of this testing are:

- to provide reproducible measurements of Felix's occupancy, when handling
  certain load patterns

- to simulate patterns of Felix load that occur in our system testing,
  especially where the observed performance in handling that load has not been
  initially satisfactory

- to test the scalability of the Felix calculation graph - on which more below.

The calculation graph is the dataplane-independent part of Felix whose input is
the whole Calico data model, and whose output is everything that Felix needs to
program on the local host, comprising:

- the set of active local endpoints, both workload and host, including the
  ordered profile and policy IDs that need to be applied for each of those
  endpoints (WorkloadEndpointUpdate, WorkloadEndpointRemove,
  HostEndpointUpdate, HostEndpointRemove)

- the definition of each locally needed profile and policy, using IP set IDs to
  represent arbitrary sets of IP addresses, where a profile or policy
  (implicitly) uses those (ActivePolicyUpdate, ActivePolicyRemove,
  ActiveProfileUpdate, ActiveProfileRemove)

- the definition of the current set of IP addresses for each IP set ID
  (IPSetDeltaUpdate, IPSetUpdate, IPSetRemove)

- where IP-in-IP routes are needed to reach other compute hosts
  (HostMetadataUpdate, HostMetadataRemove)

- where IP masquerading is needed for outgoing endpoint data (IPAMPoolUpdate,
  IPAMPoolRemove).

(The names in brackets here are those of the protobuf messages that carry the
corresponding information from the calculation graph to the dataplane.)

## Design for Felix calculation graph testing

When using the Kubernetes datastore, the possible inputs into the calculation
graph are narrowed to the endpoint-related state that can be fed into Felix
through the Kubernetes API server.  This means that the interesting inputs
become:

- k8s namespaces (each of which gets mapped to a Calico profile and a policy)

- k8s pods (which get mapped to Calico workload endpoints)

- k8s network policies (which get mapped to Calico policies)

The interesting outputs are correspondingly streamlined, to:

- the set of active local workload endpoints, including the policy and profile
  IDs for each endpoint (WorkloadEndpointUpdate, WorkloadEndpointRemove)

- active policy, i.e. the definition of each locally needed profile ID and
  policy ID (ActivePolicyUpdate, ActivePolicyRemove, ActiveProfileUpdate,
  ActiveProfileRemove)

- active IP sets, i.e. the definition of the IP addresses for each IP set ID
  that is referenced by the active policy (IPSetDeltaUpdate, IPSetUpdate,
  IPSetRemove).

Let's consider what inputs can cause each of those outputs to change, and the
complexity of the calculation graph processing involved.

- The set of active local workload endpoints changes when a pod on the local
  host is created, updated or deleted, or when a pod is moved to or from the
  local host.  The processing complexity and effect on the set are 1:1 with the
  k8s pod input.

- The active policy set can change: if a pod is added to this host (if its
  labels match a policy that previously didn't match any other local
  endpoints); or if a pod is deleted from this host (if its labels were the
  only local match for a particular policy); or if a local pod's labels are
  changed such that it matches different policy; or if a local pod's
  namespace's labels are changed such that it matches different policy; or if
  the default deny/allow setting of a local pod's namespace changes; or if the
  content of an active network policy changes; or if the selector of a network
  policy changes so that it changes between active and inactive.

- The active IP sets can change: if an active network policy's rules are
  changed to use different selectors; or if a pod (on any host) is updated and
  has/had labels matching a source selector of an active network policy; or if
  a namespace is updated such that its pods has/had labels matching a source
  selector of an active network policy.

So the possible distinct inputs, are their effects on the outputs, are as
follows.

- Pod added to local host (inc move from remote to local)
  - O(1) WorkloadEndpointUpdate New active local workload endpoint
  - O(`<num defined policies>`) ActivePolicyUpdate If pod labels match policies
    not previously used on this host

- Pod deleted from local host (inc move from local to remote)
  - O(1) WorkloadEndpointRemove Removed active local workload endpoint
  - O(1 or `<num defined policies>`) ActivePolicyRemove If pod labels matched
    policies that are otherwise not needed

- Pod on local host updated (inc changing its namespace name)
  - O(1) WorkloadEndpointUpdate Update content (addrs, policy/profile IDs) for
    local workload endpoint
  - O(`<num defined policies>`) ActivePolicyUpdate If new pod labels match
    policies not previously used on this host
  - O(1 or `<num defined policies>`) ActivePolicyRemove If old pod labels
    matched policies that are otherwise not needed

- Pod on any host is created or deleted, or has its labels updated
  - O(`<num active policies>` * `<num source selectors in each policy>`)
    IPSetUpdate/DeltaUpdate/Remove to create/update/delete IP sets, if pod
    labels changing.

- Namespace labels updated
  - O(`<num local pods defined in that namespace>`) `<Pod on local host
    updated>`
  - O(`<num pods in namespace>` * `<num active policies>` * `<num source
    selectors in each policy>`) IPSetUpdate/DeltaUpdate/Remove to
    create/update/delete IP sets, if pod labels changing.

- Namespace default deny/allow changed
  - O(`<num local pods defined in that namespace>`) ActivePolicyUpdate to
    change the default for the namespace-policy.

- Network policy selector changed
  - O(`<num active local endpoints>`) WorkloadEndpointUpdate if policy now
    applies, and before didn't, or vice versa.
  - O(`<num active local endpoints>`) `<Active network policy rules changed>`
    if policy didn't apply at all, but now does.
  - O(`<num active local endpoints>`) ActivePolicyRemove if policy now doesn't
    apply at all, but previously did.
  - O(`<num active local endpoints>` + `<num source selectors in policy>`)
    IPSetRemove if policy now doesn't apply at all, but previously did.

- Active network policy rules changed
  - O(1) ActivePolicyUpdate with new rules
  - O(`<num changed source selectors in policy>`)
    IPSetUpdate/DeltaUpdate/Remove to create/update/delete IP sets.

So, some possible tests:

	50 hosts (1 local + 49 remote)
	20 namespaces
	 area=area1/2/3/4/5
	 maturity=production/test/staging/experimental/out-of-service
	50 pods per namespace
	 role=role1/2/3/4/5
	 instance=instance1/2/3/4/5
	 ha=active/backup

    Rotate maturity labels on the namespace, e.g. change all 'production' to
    'out-of-service', then all 'staging' to 'production'.

    Churn pods, i.e. delete and recreate (with same properties), in a ring.

	Create and delete network policies, each with:
	 selector = random set of labels to work on, random ops and values
	 between 1 and 10 rules, each with random source selector (as above) and ports
	Create say 10 of those, then churn by deleting the oldest, making a new one, etc.

## Test design notes

The test architecture involves:

- an etcd container, as backing store for the k8s API server

- a k8s API server container (generally via calico/go-build)

- a full Felix executable:
  - running in a container, so as to have its own network namespace
  - configured to use KDD
  - other miscellaneous config for logging, prometheus, no usage reporting,
    memory dumps etc.

Each of those containers has its own IP address, and they are all bridged
together on the default 'docker0' bridge.

Then there is a separate test program executable, `k8sfv.test`.  This:

- is run (with docker-exec) in the Felix container, so that it can create
  workload interfaces in Felix's network namespace

- has various test cases, organized in the Ginkgo way

- acts as a k8s client, creating, updating and deleting k8s API resources
  (Node, Namespace, Pod etc.)

- thereby drives Felix, via the KDD backend.

---

### Overview (`felix/nfnetlink/README.md`)

# nfnetlink

Package that supports some features from some Netfilter netlink subsystems
* Conntrack (list/dump)
* NFLog (Subscribe to group)

### Example

Dump all conntrack entries to screen

```go
package main

import (
        "fmt"

        "github.com/tigera/nfnetlink"
)

type Handler struct {
        count int
}

func (h *Handler) HandleConntrackEntry(cte nfnetlink.CtEntry) {
        fmt.Printf("%+v\n", cte)
        h.count++
}

func ctdump() {
        handler := &Handler{}
        err := nfnetlink.ConntrackList(handler.HandleConntrackEntry)
        if err != nil {
                fmt.Println("Error: ", err)
        }
        fmt.Printf("Num entries returned %+v\n", handler.count)
}

func main() {
        fmt.Println("Running")
        ctdump()
}
```

Listen to a nflog-group and print received packet and metadata to screen

```go
package main

import (
	"fmt"

	"github.com/tigera/nfnetlink"
)

const GroupNum = 20

func nflog() {
	ch := make(chan nfnetlink.NflogPacket)
	done := make(chan struct{})
	defer close(done)
	err := nfnetlink.NflogSubscribe(GroupNum, ch, done)
	if err != nil {
		fmt.Println("Error: ", err)
	}
	for {
		nflogData := <-ch
		fmt.Printf("--- %+v\n", nflogData)
	}
}

func main() {
	fmt.Println("Running")
	nflog()
}
```

---

### Overview (`hack/perf/README.md`)

# Cross-monorepo performance-result publishing

This directory is the canonical home for plumbing that gets perf-test
measurements into the Lens Elasticsearch cluster, where they can be tracked
over time.

## Why this exists

The monorepo has a growing collection of perf tests -- tiger-bench,
`felix/k8sfv`, OpenStack Neutron→etcd resync timings, and others -- but
historically their results have been ephemeral: printed to a CI log, then lost
when the log rotates.  That makes it impossible to answer questions like "did
this PR slow down endpoint programming?" or "has Felix memory occupancy been
creeping up over the last quarter?"

The Lens ES/Kibana stack at `banzai-lens.dev-tools.tigera.net` gives us a
place to land structured perf data and visualise it over time.  This README
covers how to wire a new test into it.  Tiger-bench's
`pkg/elasticsearch/elasticsearch.go` is prior art and worth reading if you're
curious about the lower-level ES client side; this directory abstracts that
away behind a producer-side "write JSON files" contract.

This is **not** about per-PR perf gating (synchronous, blocks merges).  It's
about long-term trend visibility: spotting gradual regressions, validating
performance work, and comparing dataplanes/branches over time.

## The Lens store

- **ES + Kibana**: <https://banzai-lens.dev-tools.tigera.net>
- **Existing dashboards**: tiger-bench results live at
  `/app/dashboards#/view/856d49ee-c097-4c58-a6e7-1433475698fc`.
- **Credentials and endpoint**: ask in `#banzai` (or whoever owns the Lens
  cluster) for the ES endpoint URL (set as `ELASTICSEARCH_URL` -- typically
  on port 9200, distinct from the Kibana URL above) plus *one* of:
  - `ELASTICSEARCH_USER` + `ELASTICSEARCH_TOKEN` (basic auth), or
  - `ELASTICSEARCH_KEY` (API key -- preferred).
- **In CI**: wire these as Semaphore secrets attached to the pipeline that
  runs your test.
- **Locally**: same env vars work, but see [Operational hygiene](#operational-hygiene)
  -- don't pollute trend data with dev runs.

## What lives here

```
hack/perf/
├── cmd/send-perf-results/main.go     The tool that pushes JSON docs to ES.
├── index-templates/<family>.json     One ES index template per family.
└── README.md                         (this file)
```

## How a test publishes a measurement

A test producing perf data does **two** things:

1. Write one JSON file per measurement to
   `artifacts/perf/<index_family>/<descriptive_name>.json`.  Each file is a
   single ES document containing **only the scenario-specific scalars** --
   scale dimensions, metrics, test_name, and so on.  CI metadata
   (`git_commit`, `ci_run_id`, etc.) is NOT the producer's job.  See
   [Schema](#schema-what-makes-a-good-datapoint) below for what counts as
   scenario-specific.

2. Arrange for `send-perf-results` to run once at the end of the producing
   Semaphore job.  The simplest pattern is to add a line near the end of the
   job's commands:

   ```sh
   go run ./hack/perf/cmd/send-perf-results --dir artifacts/perf
   ```

   (or invoke a pre-built binary).  Calling it exactly once per job is the
   only operational discipline required -- see [Idempotency](#idempotency).

`artifacts/perf/` lives under the existing `artifacts/` upload, so the
per-measurement JSON files are also automatically captured as Semaphore
artifacts -- useful for post-mortem when a number looks off.

## What `send-perf-results` does

On each invocation, in order:

1. **Apply index templates.**  For every `hack/perf/index-templates/<family>.json`,
   PUT it to `/_index_template/<family>` in ES, and PUT to the live
   `<family>_<UTC year>/_mapping` whichever of its fields that index has not
   mapped yet (skipped if the index does not exist yet).  Both are idempotent
   -- see
   [When does the PUT have effect?](#when-does-the-put-have-effect) for what
   they are and aren't buying.  A PR run (one with a `pr_number`) skips both,
   and instead drops from its documents any field the live index has not
   mapped yet -- see [Adding a field](#adding-a-field).
2. **Walk `artifacts/perf/<family>/*.json`** for every `<family>` subdirectory.
3. **Augment each doc** with CI metadata (`@timestamp`, `git_commit`,
   `git_branch`, `code_version`, `ci_run_id`, `pr_number`, `env`) unless the
   producer already supplied that field -- producer values win.  Picked up
   from the CI system's own variables -- `SEMAPHORE_*` under Semaphore,
   `CI_GIT_*` / `CI_JOB_ID` under ArgoCI.
4. **POST to `<family>_<UTC year>/_doc`.**  The year suffix is computed at
   send time; producer side stays date-free.  ES auto-creates the dated
   index on first write using the template applied in step 1.
5. Exit 0.

"Lens is observability, not a critical path": the tool only returns non-zero
in genuinely unrecoverable cases.  Missing credentials, unreachable ES,
malformed JSON, mapping conflicts -- all log a warning and continue.  A
`--require-publication` flag flips that default for a caller whose whole
purpose is publishing: absent credentials, a document that failed to send, and
finding nothing to send at all all become hard failures.
Template and mapping PUTs stay warnings even then -- a stale template costs
new fields their mapping, which is a Kibana inconvenience rather than data
loss.
The weekly OpenStack resync scale run is the one caller that sets it.

### When does the PUT have effect?

Index templates in Elasticsearch apply at *index-creation* time, not to live
indices.  Once `benchmark_data_<family>_2026` exists, its mapping is fixed;
PUTing the template again does not modify that index.  So the PUT-every-time
behaviour is meaningful in four narrow cases:

1. **First-ever run for a family** -- creates the template before the first
   doc lands, so the first auto-created index gets pinned types instead of
   ES's dynamic inference.
2. **Year rollover** -- the next `benchmark_data_<family>_<YYYY>` is
   auto-created on the first write of the new year, using whatever template
   is in cluster state at that moment.
3. **Cluster rebuild or migration** -- equivalent to case (1).
4. **Defensive replay** -- if anything ever deletes the template (master
   failover edge cases have been known to lose entries), the next run puts
   it back.

In normal steady-state operation -- template already in place, mid-year --
the PUT is a no-op.  We do it on every run anyway because (a) it's a single
HTTP per family per CI job, effectively free, and (b) the self-heal property
in case (4) is worth more than the cost.

Mid-year, the mapping PUT is what carries a template edit to the live index,
and ES only lets it *add* fields.  A removed field still appears in old docs'
`_source` and the live index's mapping.  A type change is logged as a warning
on each run and takes effect only when the next year's index rolls over; it
does not hold up new fields, since only unmapped fields are PUT.  For one that
cannot wait, reindex into a renamed index (`_2026_v2`) rather than fighting
the existing mapping.

### Adding a field

Declare it in `index-templates/<family>.json` in the same PR that starts
producing it.  Once a field is mapped its type is fixed for the rest of the
year, so a PR's own CI runs never map anything: they publish only the fields the
live index already has, and log the ones they held back -- with a warning for
any the template does not declare.  The first run after merge applies the
reviewed template and publishes the new field.  If the live index's mapping
cannot be read, or the year's index does not exist yet, a PR run sends nothing
for that family: creating the index would build it from whatever template ES
holds, and map by inference any field that template lacks.

## Schema: what makes a good datapoint

**One measurement = one document.**  Don't push your test's whole raw output
as a single deeply-nested doc; decompose it into individual scalar
measurements first.

**Flat scalars only.**  Every field should be a scalar (string, number,
boolean) or a flat array of scalars.  Avoid:

- **Nested objects** (e.g. `cold.phases.endpoints.compare_ms`).  They
  technically work, but they're harder to discover in Kibana and they make
  visualisations clunkier than they need to be.
- **Arrays of objects** (e.g. `steady: [{phases: ...}, {phases: ...}]`).
  ES's default mapping flattens these into parallel arrays-of-scalars,
  losing per-element correlation.  Lens can't chart them; the proper fix
  (mapping the field as `nested` type) makes them queryable but Lens *still*
  won't chart them -- you'd have to drop down to TSVB or Vega.

If your test produces multiple sub-measurements (e.g. a "cold" run plus
three "steady" iterations), explode them into separate documents
distinguished by `phase` / `iter` / `test_step` fields.  See
[Patterns for tricky cases](#patterns-for-tricky-cases).

### Producer-supplied fields

Scenario-specific scalars are the producer's responsibility:

- **`test_name`** -- a stable string identifying the scenario family,
  distinct from the index name (e.g. `neutron_resync`).
- **Scale parameters** -- e.g. `scale_endpoints: 10000`, `scale_policies:
  100`, `scale_hosts: 10`.  Field names should be specific to your scenario,
  but consistent within a test.
- **The measured metrics**, flattened (e.g. `endpoints_total_ms`, not
  `endpoints.total_ms`).
- **`phase` / `iter` / `test_step` keywords** if the doc is one of several
  related sub-measurements.
- **`ok: bool`** and optional **`error: string`** if the test can partially
  succeed.
- **Scenario context** when applicable: `dataplane` (`iptables`,
  `nftables`, `ebpf`), `encap` (`vxlan`, `ipip`, `none`), `k8s_version`,
  `cloud` (`gcp`, `aws`, `azure`, `kind`), `node_type`, `node_count`.

### Tool-injected fields (don't set these)

`send-perf-results` adds these from the CI environment unless the producer
already supplied a value (producer wins):

- **`@timestamp`** -- ISO-8601 UTC; Kibana's time field.
- **`git_commit`** -- from `SEMAPHORE_GIT_SHA` or `CI_GIT_SHA`.
- **`git_branch`** -- from `SEMAPHORE_GIT_BRANCH` or `CI_GIT_BRANCH`.
- **`code_version`** -- short SHA derived from `git_commit`.
- **`ci_run_id`** -- from `SEMAPHORE_JOB_ID`, `CI_JOB_ID` or
  `CI_WORKFLOW_NAME`.
- **`pr_number`** -- from `SEMAPHORE_GIT_PR_NUMBER` or `CI_GIT_PR_NUMBER`, if
  set.
- **`env`** -- `ci` if any of those run IDs is set, else `dev`; override with
  `PERF_ENV`.  Filter dashboards to `env != dev` to keep dev runs out of trend
  data.

  Each CI system's own variables are read, so a test that moves between them
  keeps landing complete documents instead of blank provenance and `env: dev`.
  Semaphore's values win where both are present.

  Scheduled runs should set `PERF_ENV` to something of their own (the weekly
  OpenStack resync scale run uses `weekly`).  They may execute on different
  machine types from the per-PR runs, so their timings are not comparable and
  a dashboard should be able to separate them.

### `phase` vs `iter` vs `test_step`

- **`iter`** *(integer)*: index of a repeated whole-test iteration
  (e.g. `0` for cold, `1..N` for steady runs).
- **`phase`** *(keyword)*: tag for distinct phases of a test (`cold`,
  `steady`, `setup`, `teardown`).  Use alongside `iter` when each phase is
  run multiple times.
- **`test_step`** *(keyword)*: label for snapshots *within* a single test
  run (e.g. `snap_0`, `snap_1`, ... in `felix/k8sfv`'s memory-leak
  scenario).  Use this for in-test time series; use `iter` for repeated
  whole-test runs.  All three can coexist: a test running three steady
  iterations of twenty heap snapshots would have `iter ∈ {1,2,3}`,
  `phase = "steady"`, `test_step ∈ {"snap_0", ..., "snap_19"}`.

## Index naming convention

Indices are named `<family>_<period-suffix>`, where:

- **`<family>`** is `benchmark_data_<test>` (e.g. `benchmark_data_neutron_resync`).
- **`<period-suffix>`** is either `YYYY` (yearly) or `YYYY-MM` (monthly).
  **Don't use daily.**

`send-perf-results` writes to a yearly suffix.  For most monorepo perf
tests, **yearly is the right default** -- it minimises shard count, keeps
cluster-state overhead lowest, and the data volumes leave plenty of
headroom.  Pick monthly only if:

- **High document volume.**  A year's worth could plausibly exceed 10 GB in
  a single index.  ES wants primary shards in the 10–50 GB range; at ~500
  bytes per doc a yearly index can fit ~20M docs comfortably.  None of our
  current tests come close.
- **Sub-yearly retention.**  Yearly forces you to wait until the year rolls
  over before shedding any data.
- **Frequent schema evolution.**  Monthly gives you a natural reset point.

In Kibana, create a single index pattern per family with a wildcard
(`benchmark_data_<test>_*`).  That picks up both yearly and monthly so you
can switch granularity later without losing continuity.

**Why not daily?**  Daily indices over-fragment intrinsically low-volume
perf data: hundreds of nearly-empty shards waste heap, cluster state
balloons, query fan-out gets expensive, and dynamic mapping inference (see
[ES schema gotchas](#es-schema-gotchas)) gets 365 chances per year to drift
instead of 1.  Tiger-bench's existing indices predate this convention and
can stay where they are; new test families should follow it.

## Adding a new index family

1. Pick a family name following `benchmark_data_<test>`.
2. Add `hack/perf/index-templates/<family>.json` covering at least the
   metadata fields plus your scenario-specific numeric metrics.  See the
   [starter template](#starter-index-template) below.
3. Have your test write to `artifacts/perf/<family>/*.json`.
4. Add a `send-perf-results` invocation to the end of the producing
   Semaphore job (if not already there from a previous family).
5. After the first CI run, [verify the data landed](#verifying-data-landed).

### Starter index template

A minimal template covering the metadata fields and a `total_ms` metric.
Drop it at `hack/perf/index-templates/benchmark_data_<test>.json` and add
your scenario-specific numeric fields alongside `total_ms`:

```json
{
  "index_patterns": ["benchmark_data_<test>_*"],
  "template": {
    "mappings": {
      "properties": {
        "@timestamp":   {"type": "date"},
        "git_commit":   {"type": "keyword"},
        "git_branch":   {"type": "keyword"},
        "ci_run_id":    {"type": "keyword"},
        "code_version": {"type": "keyword"},
        "pr_number":    {"type": "keyword"},
        "test_name":    {"type": "keyword"},
        "dataplane":    {"type": "keyword"},
        "encap":        {"type": "keyword"},
        "k8s_version":  {"type": "keyword"},
        "cloud":        {"type": "keyword"},
        "node_type":    {"type": "keyword"},
        "env":          {"type": "keyword"},
        "phase":        {"type": "keyword"},
        "test_step":    {"type": "keyword"},
        "iter":         {"type": "integer"},
        "ok":           {"type": "boolean"},
        "error":        {"type": "keyword"},
        "total_ms":     {"type": "double"}
      }
    }
  }
}
```

Replace `<test>` in `index_patterns` with your family suffix.  Pin every
numeric metric you care about as `double` if there's any chance it'll go
fractional (see "Numeric type widening" below).

## ES schema gotchas

- **Dynamic mapping inference.**  ES infers field types from the *first*
  document indexed into each new index.  If the first doc in one period
  has `error: null` and the first doc in the next has `error: "timeout"`,
  you get mapping inconsistency across the index pattern and Kibana shows
  "conflict" warnings.  **Fix:** rely on the index template
  (`send-perf-results` applies them on every invocation, so a template
  change auto-propagates).  Even pinning a handful of known fields
  prevents most surprises.
- **`text` vs `keyword`.**  ES's default dynamic mapping maps strings as
  `text` (full-text searchable, **not aggregatable**) with a `.keyword`
  subfield.  To filter or group by `git_branch` in Kibana, you'd then have
  to use `git_branch.keyword`.  Less awkward to pin string fields as
  `keyword` in the template.
- **Field count limit.**  ES caps an index at 1000 fields by default.  You
  won't hit this with a flat doc; you can hit it surprisingly fast with a
  deeply-nested one.
- **Numeric type widening.**  If your first doc has `total_ms: 100` (mapped
  as `long`) and a later doc has `total_ms: 100.5`, the later push fails
  the mapping.  Pin numeric metrics as `double` in the template if there's
  any chance they'll go fractional.

## Kibana visualisation gotchas

- **Lens, the default visualiser, doesn't chart `nested`-typed fields.**
  TSVB and Vega can, but you'd rather not be writing Vega.  Avoid nested
  fields.
- **Time field required.**  Kibana index patterns need a date field to
  enable time-series views.  Use `@timestamp`.
- **Index pattern wildcards.**  One per test family:
  `benchmark_data_neutron_resync_*` covers yearly and monthly suffixes.

## Patterns for tricky cases

### Multiple iterations per run (cold + N steady)

Push one document per iteration.  Distinguish via `phase` and `iter`:

```
{ phase: "cold",   iter: 0, total_ms: 6798, ... }
{ phase: "steady", iter: 1, total_ms: 4769, ... }
{ phase: "steady", iter: 2, total_ms: 4730, ... }
{ phase: "steady", iter: 3, total_ms: 4672, ... }
```

In Kibana, chart median of `total_ms` filtered by `phase: "steady"`, or
compare cold vs steady side-by-side.

### Time-series within a single run

For tests like `felix/k8sfv`'s memory-leak scenario -- heap snapshots
throughout a long-running test -- push one doc per snapshot with a
`test_step` label:

```
{ test_step: "snap_0",  heap_alloc_bytes: 12345678, ... }
{ test_step: "snap_1",  heap_alloc_bytes: 13456789, ... }
...
{ test_step: "snap_19", heap_alloc_bytes: 25678901, ... }
```

Each doc still gets the full metadata (commit, branch, ci_run_id) -- those
are repeated across docs in the run.  ES handles this fine and Kibana lets
you chart `heap_alloc_bytes` over `test_step`, with `git_commit` as a
series breakdown for cross-run comparison.

### Pass/fail alongside continuous metrics

Just include `ok: true|false` (and optional `error: "<message>"`) on the
same doc as the timing.  Kibana can chart failure rate per scenario as a
separate visualisation in the same dashboard.

### Test failure or partial results

If your test crashes partway through:

- **Partial metrics available**: write the file you have with `ok: false`
  and `error: "<reason>"`.  A "test failed at scale=1000" data point is
  itself useful trend information.
- **Nothing usable** (e.g. infra failed before the test started): don't
  write a file.  A doc with `null` everywhere just creates noise -- use
  the CI log for the failure record instead.

## Operational hygiene

- **Don't push from local dev runs.**  Most developers won't have Lens
  creds anyway -- `send-perf-results` already skips silently when
  `ELASTICSEARCH_URL` is unset.  If you *do* push locally (e.g. for
  testing the tool itself), the injected `env: dev` lets dashboards
  filter dev runs out.
- **Index retention.**  Check with the Lens cluster owners whether ILM
  (Index Lifecycle Management) is configured for `benchmark_data_*`.  If
  not, indices accumulate forever.  Worth setting up an ILM policy that
  rolls older indices to a cheaper tier.
- **Schema evolution.**  If you need to change the *meaning* of a field,
  don't try to patch the existing family in place -- start a new one
  (`benchmark_data_neutron_resync_v2_*`) and update dashboards.  Fighting
  type drift across periods is more pain than starting fresh.

## Verifying data landed

After your first CI run, confirm the doc made it into ES before going
further.  From Kibana → **Dev Tools**:

```
GET benchmark_data_<test>_*/_search
{
  "size": 5,
  "sort": [{"@timestamp": "desc"}]
}
```

You should see your most recent docs with the expected fields and types.
If a field shows up as `text` when you wanted `keyword`, your index
template didn't take effect -- check that the template's `index_patterns`
matches your actual index name.

From the shell:

```bash
curl -s "$ELASTICSEARCH_URL/benchmark_data_<test>_*/_search?size=5&sort=@timestamp:desc" \
  -H "Authorization: ApiKey $ELASTICSEARCH_KEY" | jq '.hits.hits'
```

To see the inferred mapping for a specific index:

```
GET benchmark_data_<test>_2026/_mapping
```

## Next steps once you've pushed data

1. **Create a Kibana index pattern.**  Stack Management → Index Patterns →
   Create.  Pattern: `benchmark_data_<your_test>_*`.  Time field: `@timestamp`.
2. **Build a starter Lens visualisation.**  Drag your primary metric onto
   Y, `@timestamp` onto X.  Break out by `dataplane` or `git_branch` as a
   series.
3. **Save it to a dashboard.**  Add filters for `env: ci` and any baseline
   scenario settings.
4. **Share the dashboard URL.**  Add it next to your test's documentation
   so others can see how the test has trended.

## Local development

To test the tool itself against a local files-only flow:

```sh
go run ./hack/perf/cmd/send-perf-results --dry-run --dir /tmp/some/perf
```

`--dry-run` prints what would be POSTed without contacting ES.

---

### Overview (`key-cert-provisioner/test-signer/README.md`)

# test-signer

This is a test signer that approves and signs any CSR for a given signer name. It is not suitable for production systems.

To use it:

```bash
kubectl apply -f test-signer/test-signer.yaml 
kubectl create secret generic test-signer-ca --from-file=tls.crt=<tls.crt> --from-file=tls.key=<tls.key> -n test-signer
```

---

### Overview (`libcalico-go/test/README.md`)

## Create Custom Resource Definitions

crds.yaml is applied before running the tests to initialize CRDs (CustomResourceDefinitions)
for the Kubernetes backend.
This manifest is applied in the Makefile once kubernetes API server is running.
crds.yaml creates the following CRDs:
  - FelixConfig
  - BGPPeer
  - BGPConfig
  - IPPool
  - GlobalNetworkPolicy
  - ClusterInfo
  - NetworkPolicy

These CRDs must be created in advance for any Calico deployment with Kubernetes backend,
typically as part of the same manifest used to setup Calico.

## Create Mock Nodes

mock-node.yaml creates mock node object for the tests.

## Create Namespaces

`NetworkPolicy` CRD is a Namespace scoped resource and requires some Kubernetes Namespaces
to exists before it can be used so.

---

### Overview (`networking-calico/e2e/README.md`)

# Calico OpenStack e2e tests

System tests for Calico as the networking provider for OpenStack.  The tests
run in a container, on a "test node" alongside an existing OpenStack cluster
that uses Calico, and drive that cluster through the OpenStack APIs and over
SSH: they create tenants, networks, security groups and VMs, and check that
connectivity between VMs, and between VMs and hosts, is as Calico policy says
it should be.

## Building the image

```sh
make e2e-image
```

builds the `openstack-e2e` image from:

- `calicotest/` - the test framework and test code, and in
  `calicotest/scripts/` the scripts used when running tests, including the
  image entrypoint (`e2e-entrypoint.sh`) and the `run-test.sh` wrapper it
  delegates to
- `scripts/` - `prepare-test-runtime.sh`, which builds the test venv
- `requirements.txt` - Python dependencies for the test venv
- `patches/` - OpenStack QoS packet-rate-limit patches, applied into the test
  venv when the image is built
- `Dockerfile` - which also fetches, from the permanent Debian archive, the
  Debian packages that the tests install onto test VMs (which are not assumed
  to have internet access)

## Known-good cluster layouts

The suite is not yet general: many tests assume a particular number of nodes,
and particular roles for them.  It is known to work with the following two
layouts, and probably only with those.

**Single region:**

- One controller node, running Keystone, Glance, Nova's control services,
  Placement, Neutron with networking-calico as its core plugin, and Calico's
  etcd v3 datastore.  The tests reach etcd, and in one case Keystone, at the
  host name `controller`, so that must resolve to this node.
- Three compute nodes, each running nova-compute, Felix and BIRD.  The tests
  take them in the order their sections appear in the layout file, and rely
  on that order.  The first also serves the shared (NFS) instance storage that
  live migration needs.  The migration tests keep a bystander VM on the first
  compute node, and migrate VMs between the second and third, while
  `test_graceful_restart` migrates VMs between all three.

**Multi-region:** as above for the first region, plus a second region with its
own controller and one compute node.  The second controller runs a full
OpenStack control plane, but no etcd: both regions share the first region's
Calico datastore, and `controller` still means the first region's controller.
The multi-region tests run only when the layout file describes two regions,
and are skipped otherwise.

Either way, the cluster also needs:

- Authentication enabled on etcd v3, at port 2379, with these fixed
  credentials: `calicouser` / `calicopasswd`, and `root` / `rootpasswd` for
  `etcdctl` in diags collection.
- Two images in Glance, described in [VM images](#vm-images):
  - `cirros-x86_64`: CirrOS 0.6, with the standard `cirros` / `gocubsgo` login.
  - `ipv6_enabled_image`: an Ubuntu image that allows password login as
    `ubuntu` / `ubuntu` and supports DHCPv6.  Some tests also use a web server,
    a SIP server and `tcpdump` inside it.
- A test node that runs Docker and:
  - can SSH, with a private key, to every node in the cluster, as a user with
    passwordless sudo;
  - has routes to the tenant VM networks, because the tests reach VMs
    directly; in the known-good layouts it runs BIRD and peers with Calico;
  - can resolve `controller`, and each node's name as given in the layout
    file, from inside a container that uses the host's network.

## VM images

Tigera's cluster installer uploads both images from the `calico-jenkins` GCS
bucket.

`cirros-x86_64` is
<https://storage.googleapis.com/calico-jenkins/cirros-0.6.0-x86_64-disk.img>,
an unmodified copy of upstream CirrOS 0.6.0: it is byte-for-byte identical to
<https://download.cirros-cloud.net/0.6.0/cirros-0.6.0-x86_64-disk.img>
(SHA-256 `94e1e2c94dbbae7d4bdc38e68590a1daf73c9de2d03dd693857b4b0a042548e8`).

`ipv6_enabled_image` is
<https://storage.googleapis.com/calico-jenkins/dl-ubuntu_w_ipv6_asterisk_apache.img>.
It was made by hand between January and March 2015, from the Ubuntu 14.04.1
(Trusty) server cloud image with serial 20150123.1, and ended up as a snapshot
of a VM booted from that image.  The changes were:

- The IPv6 preparation steps for Ubuntu in
  [Calico's OpenStack IPv6 docs](https://docs.tigera.io/calico/latest/networking/openstack/ipv6):
  - `new_ip6_prefixlen=128` at the start of `/sbin/dhclient-script`;
  - `/etc/sysctl.d/30-eth0-rs-delay.conf`, setting
    `net.ipv6.conf.eth0.router_solicitation_delay = 10`;
  - an `iface eth0 inet6 dhcp` stanza, with `accept_ra 1`, in
    `/etc/network/interfaces.d/eth0.cfg`.  That file also sets
    `dns-nameservers 8.8.8.8`.
- Password login: `lock_passwd: False` in `/etc/cloud/cloud.cfg`,
  `PasswordAuthentication yes` in `/etc/ssh/sshd_config`, and a password for
  `ubuntu`.
- Apache (`apache2`) and Asterisk (`asterisk`), from the Trusty archive, with
  their stock configuration.  `test_applications` fetches Apache's default
  page, and sends a SIP OPTIONS request to Asterisk's extension 1234, while
  `test_spoofing` uses Asterisk to set up a UDP flow.

Because the image is a snapshot of a VM that had booted, it also keeps that
VM's SSH host keys, its `authorized_keys` for `ubuntu` and `root`, and its
host name.  The tests don't depend on any of these.

## Cluster layout file

The tests read the cluster's description from
`/calico-test/config/cluster-layout.conf`.  For the single-region layout:

```ini
[DEFAULTS]
# Private key for SSH access to the nodes.
keyfile = /root/.ssh/id_rsa
# This test node's IP address as seen from the cluster; if omitted, the tests
# work it out from the test node's routes.
test_node_ip = 192.168.8.1
os_type = Ubuntu

# One section per node.  fqdn must be the node's host name, because the tests
# derive Nova availability zone names from it.
[control-1]
role = controller
fqdn = control-1
ip = 192.168.8.2
username = ubuntu
admin-password = <Keystone admin password>
region = regionone

# The compute nodes, in order; the first is the NFS server.
[compute-1]
role = compute
fqdn = compute-1
ip = 192.168.8.3
username = ubuntu
region = regionone

[compute-2]
role = compute
fqdn = compute-2
ip = 192.168.8.4
username = ubuntu
region = regionone

[compute-3]
role = compute
fqdn = compute-3
ip = 192.168.8.5
username = ubuntu
region = regionone
```

For the multi-region layout, add a second controller and its compute node,
with their own region name:

```ini
[control-2]
role = controller
fqdn = control-2
ip = 192.168.8.6
username = ubuntu
admin-password = <Keystone admin password>
region = regiontwo

[compute-r2]
role = compute
fqdn = compute-r2
ip = 192.168.8.7
username = ubuntu
region = regiontwo
```

## Running

```sh
docker run --rm --network host \
  -v <path to cluster-layout.conf>:/calico-test/config/cluster-layout.conf:ro \
  -v <path to SSH private key>:/root/.ssh/id_rsa:ro \
  -v <results dir>:/output \
  -e TEST_REQ=<selector> \
  openstack-e2e
```

where `TEST_REQ` is one of:

- `smoke` (the default): `test_mainline_connectivity.py` only
- `full-fv`: the whole suite
- `fail`: a deliberately failing test, for exercising failure handling
- `calicotest/openstack/<file>.py`: a single test file

JUnit XML results land in `<results dir>/results/`.  When a test fails, the
suite runs `calico-diags` on each node and collects the results into
`/calico-test/diags` in the container, so mount a directory there too if you
want to keep them.

To run changed test code without rebuilding the image, also mount a source
checkout's `calicotest/` over the image's copy:

```sh
  -v <checkout>/calicotest:/calico-test/calicotest
```

Only `calicotest/` can be overridden that way; everything else is only used to
build the image.

---

### Overview (`operator/bundle/README.md`)

# OpenShift operator bundle

This directory is the **output** of `make bundle`. Everything in it apart from
this README is generated and git-ignored (see `operator/.gitignore`).

A bundle is the artifact Red Hat certifies and OperatorHub serves: a
ClusterServiceVersion (CSV), the CRDs the operator owns, and a small metadata
directory, packaged into an image.

## Build one

```bash
make -C operator bundle VERSION=3.34.0 PREV_VERSION=3.33.0 CHANNEL=release-v3.34
```

| Variable | Meaning |
|---|---|
| `VERSION` | The operator version to publish, `X.Y.Z`. The bundle pins `$(BUNDLE_OPERATOR_IMAGE):v$(VERSION)` by digest, so that tag must already be pushed. |
| `PREV_VERSION` | The version this one replaces, `X.Y.Z`, or `0.0.0` for none. |
| `CHANNEL` | The OperatorHub channel, which must be a `release-v3.YY` branch name. Defaults to the current branch when that branch is one; from any other branch, pass it explicitly. |
| `DEFAULT_CHANNEL` | Optional. Only set it when the channel should become the package default. |
| `BUNDLE_OPERATOR_IMAGE` | Optional. The fully qualified repository the operator image is pinned from. Defaults to `quay.io/calico/operator`. |
| `BUNDLE_OPENSHIFT_VERSIONS` | Optional. The `com.redhat.openshift.versions` range, e.g. `v4.19-v4.22`. The default in `gen-bundle` moves with each release; a bundle only reaches the catalog of an OpenShift version inside this range. |

Output:

```
bundle/bundle-v<VERSION>.Dockerfile   # builds the bundle image
bundle/<VERSION>/manifests/           # CSV + CRDs
bundle/<VERSION>/metadata/            # annotations.yaml
```

`make bundle` pulls and inspects the operator image, so it runs docker on the
host — the build container has no docker-in-docker.

`make bundle-check` builds and validates a throwaway `3.99.0` bundle against a
stand-in image, with no pull. CI runs it on any change to what a bundle is
built from.

## The catalog decides the upgrade graph, not the bundle

Each `catalog-templates/v4.XX.yaml` in the certified-operators repo is an
`olm.template.basic` template, with hand-written channel entries and a
`defaultChannel`. Those entries decide who upgrades to what; the bundle's
`spec.replaces` and `DEFAULT_CHANNEL` do not. Publishing a bundle into a new
channel therefore also needs, in every template for an OpenShift version the
bundle supports:

- a `release-v3.YY` channel block with an entry for the new bundle, and
- `defaultChannel` moved to it, if it should become the default.

**The first bundle built from this repo** is a move off the `release-v1.YY`
channels that tigera/operator published into, which top out at
`tigera-operator.v1.42.2`. Build it with `PREV_VERSION=1.42.2`, not the previous
Calico version, which was never published as a bundle. Its channel entry
should `replace` `tigera-operator.v1.42.2`; the `olm.skipRange` of
`<VERSION>` already covers every 1.x bundle.

## What runs, in order

`make bundle` is four targets, each depending on the one before it, so running
any one of them runs the steps ahead of it too:

1. **`bundle-generate`** — depends on `bundle-manifests`, which runs
   `gen-bundle get-manifests` to stage, under
   `build/_output/bundle/<VERSION>/`, the manifests and CRDs that
   `operator-sdk generate bundle` reads. It then runs `operator-sdk generate
   bundle`, which merges the static CSV base with the staged deployment, RBAC
   and CRDs.
2. **`update-bundle`** — runs `gen-bundle update-bundle`, which moves the
   generated output under `bundle/<VERSION>/` and writes the values that are
   only knowable at build time.
3. **`bundle-validate`** — `operator-sdk bundle validate`, against the full
   `operatorframework` suite rather than only the required checks, because this
   bundle is built to be certified.
4. **`bundle-image`** — `docker build` of the generated Dockerfile.

`gen-bundle` is a Go program in [`../hack/gen-bundle`](../hack/gen-bundle), with
unit tests run by `make -C operator hack/gen-bundle/ut` (and by `make ci`). Both
of its commands take their paths from flags (`--repo-root`, `--operator-dir`)
that default to running from `operator/`, so pass them when running it by hand
from anywhere else. `update-bundle` also needs `--image`, which the Makefile
fills in from `BUNDLE_OPERATOR_IMAGE`.

## Where each piece comes from

**Static CSV fields** —
[`config/manifests/bases/tigera-operator.clusterserviceversion.yaml`](../config/manifests/bases/tigera-operator.clusterserviceversion.yaml).
Description, icon, links, maintainers, provider, keywords, install modes,
categories, the certification feature annotations, and the owned-CRD
descriptions all live there. If you find yourself adding a constant to
`gen-bundle`, it belongs in the base instead.

**Staged manifests** — `gen-bundle get-manifests` copies them out of the working
tree, so a bundle carries the manifests it was built alongside:

| Staged as | Source |
|---|---|
| `deploy/operator.yaml` | `manifests/ocp-tigera-operator-no-resource-loading.yaml` |
| `deploy/role.yaml`, `deploy/rolebinding-tigera-operator.yaml` | `manifests/ocp/` |
| `deploy/*tigera-operator-secrets*.yaml` | `manifests/ocp/`; the binding is re-pointed at a namespaced copy of the ClusterRole, so the ClusterRole ships standalone — see `copyOperatorSecretsRole` |
| `deploy/` sample CRs | `manifests/ocp/03-cr-installation.yaml`, `operator/config/samples/operator_v1_imageset.yaml` |
| `crds/` operator CRDs | `operator/pkg/crds/operator/` |
| `crds/` Calico CRDs | `libcalico-go/config/crd/` |

The sample CRs become the CSV's `alm-examples` annotation — what OperatorHub
offers in its "Create instance" forms. The Installation example is the OpenShift
install-time CR itself, so what OperatorHub offers and what the install
instructions tell users to apply cannot drift apart.

**Build-time values** — written by `gen-bundle update-bundle`: the digest-pinned
operator image (in both `relatedImages` and the embedded deployment), the build
timestamp, the version, `replaces`, `olm.skipRange`, the per-architecture
`operatorframework.io/arch.*` labels, the display name, and the capability
level.

## Things that will bite you

- **The CSV base's `metadata.name` must be `tigera-operator.v<semver>`**,
  matching `--package`. `operator-sdk` silently discards a base whose name does
  not parse that way and substitutes a placeholder CSV — every field in the base
  is lost, with no error.
- **Keep three lists in sync**: `calicoResources` in
  [`../hack/gen-bundle/manifests.go`](../hack/gen-bundle/manifests.go), the
  owned CRDs in the CSV base, and the `internal-objects` annotation in that same
  base. A CRD staged but not described raises a validation warning; a CRD
  described but not staged is advertised by the CSV without being installed.
- **`capabilities` is set by `gen-bundle`, not the base** (`--capabilities`,
  default `Basic Install`). It is the level we are certified against, so raising
  it should be a deliberate act rather than a one-line edit to a YAML file.
- **`relatedImages` cannot live in the base** — `operator-sdk` does not carry it
  over. Any image that has to be listed goes in
  [`../hack/gen-bundle/update.go`](../hack/gen-bundle/update.go).
- **`operator_v1_imageset.yaml` is deliberately inert.** It is a published
  example, so its name must not match a variant the operator looks for — see the
  comment at the top of that file.

---

### Overview (`operator/deploy/README.md`)

# Deploy CRDs and scripts for tests

This directory contains crds and scripts for tests.

For release versions of CRDs and operator manifests (deployment, RBAC, etc.), see the Calico [Kubernetes](https://docs.tigera.io/calico/latest/getting-started/kubernetes/quickstart) or [OpenShift](https://docs.tigera.io/calico/latest/getting-started/kubernetes/openshift/installation) installation instructions.

---

### Overview (`release/packaging/README.md`)

# Calico packaging

This repo automates and documents every step needed to build and
publish Calico packages, for use [with
OpenStack](https://docs.tigera.io/calico/latest/getting-started/openstack/installation)
or [on bare metal
hosts](https://docs.tigera.io/calico/latest/getting-started/bare-metal/installation).

A single

    make release-publish

command will build and publish a set of packages corresponding to
current Calico master code, to our PPA and RPM repo named "master";
similarly,

    make release-publish VERSION=vX.Y.Z

will build and publish a set of packages for version X.Y.Z, to our PPA
and RPM repo named "calico-X.Y".

This file documents everything needed to understand how our packaging
works, what components we package, and why.

## Usage

`make release-publish`, with the following required environment
variables.

-  `HOST` and `GCLOUD_ARGS` set to indicate the GCP name of the RPM
   host, and a GCP identity that permits logging into that host.

-  `SECRET_KEY` set to a file containing the GPG secret key for a
   member of the [Project Calico team on
   Launchpad](https://launchpad.net/~project-calico).

Supported, optional environment variables:

-  `VERSION`: specify the Calico version to build packages for.
   Default is `master`.

-  `REPO_NAME`: override the PPA and RPM repo name to publish to.
   Default is automatically derived from `VERSION`.

-  `STEPS`: override the parts of the process to execute.  Default is
   all of the following:

   -  `bld_images`: Build required container images for building
      packages for each target platform.

   -  `net_cal`: Build networking-calico packages.

   -  `felix`: Build Felix packages.

   -  `calicoctl`: Build calicoctl packages.

   -  `etcd3gw`: Build etcd3gw packages (RPM only).

   -  `dnsmasq`: Build dnsmasq packages.

   -  `pub_debs`: Publish all Debian packages.

   -  `pub_rpms`: Publish all RPMs.

Note that `pub_debs` means uploading Debian source packages to
Launchpad, and it can still take a long time for Launchpad to build
and publish binary Debian packages.  Usually about an hour, but
occasionally many hours.  A package is only really ready for use when
its line on the PPA package details page ([for
example](https://launchpad.net/~project-calico/+archive/ubuntu/master/+packages))
has a green tick in the Build Status column and a date in the
Published column.

(RPMs, on the other hand, are ready immediately after the `pub_rpms` step.)

## Packaging platforms

We build and publish packages for these platforms:

-  Ubuntu 20.04 (Focal) and 22.04 (Jammy). The hosting for these
   packages is in PPAs at https://launchpad.net/~project-calico.

-  CentOS 7 or RHEL 7.  The hosting for these packages is in RPM repos
   at binaries.projectcalico.org (for example
   https://binaries.projectcalico.org/rpm/calico-3.8/).

## Debian source packages and versioning

Our Debian source packages are `3.0 (quilt)` format: a `.orig` tarball holding
the upstream content, plus a small `.debian` tarball holding `debian/`.  The
`.orig` tarball is not a real upstream release; `make-packages.sh` generates it
from the working tree, once per build, just before building the per-series
source packages.

Each Ubuntu series needs its own package version, because Launchpad will not
accept a second upload of a version that the archive already holds.  The series
therefore goes in the *Debian revision*, giving versions like
`3:3.34.0~rc0.post5329-noble`, and leaving the upstream version -- and so the
name of the `.orig` tarball -- the same for all three series.

That split matters for the PPA size quota.  Launchpad charges the quota for
every file it still holds, including superseded ones it has not yet garbage
collected, and it counts a given filename only once.  One `.orig` tarball
shared by three series therefore costs a third of what three per-series copies
of it cost, which for Felix is the difference between 56MiB and 168MiB on every
snapshot build.  Before this scheme the series was part of the upstream
version, so each series got its own near-identical copy, and the `master` PPA
regularly exceeded its 8GiB quota and started rejecting uploads.

Two ordering properties are deliberate, and worth preserving if you change the
scheme:

-  A newer Ubuntu series sorts above an older one, because `focal` < `jammy` <
   `noble` alphabetically.

-  There is no `~` in the revision.  `~` sorts *before* the thing it is
   attached to, which once made a release package compare as older than the
   pre-release it was meant to replace; see commit 1499c035ee.

## Public PPAs and RPM repositories

There is a PPA and RPM repo, named `calico-X.Y`, for each Calico X.Y
release series.  Packages are updated through the cycle for an X.Y
series (X.Y.0, X.Y.1 etc.), so the repo always provides our latest
packages for that series.

There is also a PPA and RPM repo named `master`, with packages that
are built every night from our latest development code.

## Packaged components

The components that we package and host are:

-  networking-calico - for all platforms.

-  Felix - for all platforms.

-  calicoctl - for all platforms.  This packages the same standalone
   CLI binary that is also published on the GitHub release page, as a
   convenience for hosts that are already installing Calico from these
   repositories.

-  etcd3gw - for CentOS/RHEL 7 only.

   Note: for Ubuntu there is no packaging for etcd3gw, and we instead
   [document](https://docs.tigera.io/calico/latest/getting-started/openstack/installation/ubuntu)
   that the installer must do `pip install etcd3gw`.

-  dnsmasq - see below.

For OpenStack and bare metal installs we don't currently need any
other Calico components.

## Dnsmasq

We have contributed various patches to Dnsmasq since 2014; all of
these have been accepted
[upstream](http://www.thekelleys.org.uk/dnsmasq/doc.html).  The
timeline of those patches and how they interleave with Dnsmasq
releases is as follows.

-  v2.71
-  2014-06-11 Allow wildcard aliases in --bridge-interface option
-  v2.72
-  2015-03-19 DHCPv4 with --bridge-interface broken by 3rd party - but
   not realized by us until a year later
-  2015-06-10 Fix logging of unknown interface in
   --bridge-interface...
-  2015-06-10 Extend --bridge-interface aliasing to DHCPv6.
-  2015-06-10 Allow router advertisements to have the "off-link"...
-  2015-06-10 Apply --bridge-interface aliasing to solicited router...
-  2015-06-10 Apply --bridge-interfaces to unsolicited router
   advertisements.
-  2015-06-10 Documentation updates for --bridge-interface and "off...
-  v2.73
-  v2.74
-  v2.75
-  2016-05-03 Fix for DHCP in transmission interface when --bridge...
-  v2.76
-  v2.77
-  2017-09-26 CVE-2017-1449[123456] (see also
   https://github.com/projectcalico/calico/issues/1169)
-  v2.78
-  2018-01-18 Remove limit of 67 on the number of VMs per compute node
-  v2.79

To get all of these patches requires Dnsmasq v2.79 or later.  Our Ubuntu
platforms have that, but not CentOS/RHEL 7, so for CentOS/RHEL we build
and host v2.79 packages ourselves.  The source for that comes from the
following tags in [our Dnsmasq
fork](https://github.com/projectcalico/calico-dnsmasq).

-  For CentOS/RHEL 7, `rpm_2.79`.

---

### Overview (`third_party/cni-plugins/README.md`)

# calico/third-party-cni-plugins

Image containing the upstream CNI plugins that Calico installs onto each node:

- `host-local`, `portmap`, `loopback`, `tuning` from
  [containernetworking/plugins](https://github.com/containernetworking/plugins)
- `flannel` from
  [projectcalico/flannel-cni-plugin](https://github.com/projectcalico/flannel-cni-plugin)

The image is intended to be used as an init container in the `calico-node`
DaemonSet. Its entrypoint copies the plugin binaries from `/plugins/` into a
shared volume (default `/stage/`), which the `install-cni` init container then
mounts at `/opt/cni/bin` and copies onto the host. The plugins ship as a
separate image rather than being baked into `calico/calico` so that the main
image stays small.

Versions of the upstream sources are pinned via `CNI_VERSION` and
`FLANNEL_VERSION` in `metadata.mk`.

This component lives under `third_party/` to mark the plugin source as not
ours. The Calico-specific wrapper (Dockerfile, entrypoint, Makefile) is in
this directory.

---

### Overview (`e2e/images/rapidclient/README.md`)

# rapidclient

A multi-mode e2e test utility image. The mode is selected by the `MODE`
environment variable; an unset `MODE` defaults to `client` (the original
behaviour). See [DESIGN.md](DESIGN.md) for the full contract and rationale.

## Modes

| `MODE` | Purpose |
|---|---|
| `client` (default) | HTTP client that forces source-port reuse — for Maglev / load-balancer tests. Configured via flags (below). |
| `server` | HTTP + UDP "dataplane server" for packet-size tests (ports the former `k8s-e2e-dataplane-server` flask image). Configured via the `PORT` env (default 5000). |

### `server` mode

Listens for TCP HTTP and UDP echo on the same port (`PORT`, default 5000),
dual-stack:

- `GET /length/{N}` — response body of exactly `N` whitespace-free bytes.
- `POST /post` — returns the number of bytes received (GET returns help text).
- `GET /` — static sanity string.
- UDP — echoes each datagram back verbatim.

```bash
docker run --rm -e MODE=server -p 5000:5000 quay.io/tigeradev/rapidclient
```

## `client` mode

A simple HTTP client tool that forces source port reuse by bypassing TIME_WAIT state, designed for testing Maglev consistent hashing and load balancer behavior.

## Features

- **Source Port Reuse**: Forces connections to use a specific source port, bypassing TIME_WAIT
- **New TCP Connection**: Each call establishes a fresh TCP connection (no connection reuse)
- **Socket Options**: Sets SO_REUSEADDR for rapid port reuse
- **Simple Output**: Sends a single request and prints the raw response
- **Configurable**: Command-line options for URL, source port, and timeout

## Usage

### Docker Run
```bash
# Basic Docker usage with host networking
docker run --rm --network host rapidclient:latest -url "http://10.103.218.83:8080/shell?cmd=hostname"

# With verbose output
docker run --rm --network host rapidclient:latest -url "http://10.103.218.83:8080/shell?cmd=hostname" -v

# With custom source port
docker run --rm --network host rapidclient:latest -url "http://10.103.218.83:8080/shell?cmd=hostname" -port 54321

# With custom timeout
docker run --rm --network host rapidclient:latest -url "http://10.103.218.83:8080/shell?cmd=hostname" -timeout 10s
```

### Basic Usage
```bash
# Send a single request to a service
./rapidclient -url "http://10.96.0.1:8080/shell?cmd=hostname"

# Use a specific source port
./rapidclient -url "http://10.96.0.1:8080/shell?cmd=hostname" -port 12345

# Verbose output with status information
./rapidclient -url "http://10.96.0.1:8080/shell?cmd=hostname" -v
```

### Command Line Options

- `-url string`: Target URL to send request to (required)
- `-port int`: Source port to use for connection (default: 12345)
- `-timeout duration`: Request timeout (default: 30s)
- `-v`: Verbose logging (shows status and debug info)

### Examples

```bash
# Test Maglev load balancing with consistent source port
./rapidclient -url "http://service-ip:8080/shell?cmd=hostname" -port 12345

# Test with custom timeout
./rapidclient -url "http://service-ip:8080/api/health" -timeout 10s

# Verbose mode for debugging
./rapidclient -url "http://service-ip:8080/shell?cmd=hostname" -port 12345 -v
```

## Technical Details

- Uses `SO_REUSEADDR` socket option to allow rapid port reuse
- Disables HTTP keep-alive to force new connections
- Custom dialer with specific source port binding
- Handles both IPv4 and IPv6 connections

## Output

### Normal Mode
```bash
$ ./rapidclient -url "http://10.96.0.1:8080/shell?cmd=hostname"
{"output":"backend-pod-5\n"}
```

### Verbose Mode
```bash
$ ./rapidclient -url "http://10.96.0.1:8080/shell?cmd=hostname" -v
2025/09/04 10:30:00 Sending request to: http://10.96.0.1:8080/shell?cmd=hostname
2025/09/04 10:30:00 Using source port: 12345
2025/09/04 10:30:00 Timeout: 30s
Status: 200 OK
Response: {"output":"backend-pod-5\n"}
```

## How the e2e tests get this image

The tests reference the image via `images.RapidClient`
(`e2e/pkg/utils/images/images.go`), which is a single pinned reference:
`quay.io/tigeradev/rapidclient:latest`. Pods use `ImagePullPolicy: IfNotPresent`,
so a copy already on the node wins over a pull.

- **PR CI on gcp-kubeadm and the kind BPF lane:** PR builds have no registry push
  credential, so `.argoci/scripts/phases/load_images.sh` (and
  `make kind-load-rapidclient`) build this image from the PR source under the same
  tag and load it onto the nodes. The pods then run your build.
- **Everything else** (other providers, scheduled runs, local dev): the published
  image is pulled. If you change this image and want such a run to use your build,
  publish it through the post-merge `push-images/e2e-test.yml` promotion.

## Integration with Tests

This tool can replace curl commands in tests for better reliability:

```bash
# Instead of:
curl --local-port 12345 -s http://service:8080/shell?cmd=hostname

# Use:
./rapidclient -url "http://service:8080/shell?cmd=hostname" -port 12345
```

---

### Overview (`hack/cmd/ipam-hammer/README.md`)

# IPAM Hammer

This is a simple tool to run against a cluster to stress test the IPAM garbage collection logic in the face of a large number of Node deletions.

The tool:

- Creates a configurable amount of Nodes.
- Assigns IP addresses to each of the nodes.
- Deletes all of the nodes.

This should trigger the IPAM GC logic in kube-controllers.

---

### Overview (`hack/rpms/nftables/README.md`)

# nftables / libnftnl RPMs

This directory builds the `calico/nftables-rpms` image consumed by the calico/node and istio install-cni image builds. It rebuilds two upstream packages as RPMs:

- **nftables** (GPL-2.0-only), pinned at 1.1.1 (see [#11750](https://github.com/projectcalico/calico/issues/11750)), with a single patch backported from upstream commit [be737a1](https://git.netfilter.org/nftables/commit/?id=be737a1986bfee0ddea4bee7863dca0123a2bcbc) ("src: netlink: fix crash when ops doesn't support udata"). See `patches/`.
- **libnftnl** (GPL-2.0-or-later), rebuilt from unpatched upstream source.

## Source availability

Both packages are built entirely from the pinned upstream release tarballs (versions and SHAs in `metadata.mk` at the repo root) plus the spec files and patches in this directory, which together are the complete corresponding source. The producer image stashes the upstream tarballs, our patches, and the spec files under `/src`; calico/node and the istio install-cni image copy that into `/included-source`, so the corresponding source for the GPL binaries ships in the image alongside them (next to the BIRD and Felix GPL source). The upstream license text also ships via the RPMs' `%license` tag.

---

### Overview (`hack/test/certs/README.md`)

# FV certificates

The files in this directory are used only in the FV tests in this repository, and were generated according to the steps in [Kubernetes the hard
way](https://github.com/kelseyhightower/kubernetes-the-hard-way).

To regenerate them, run ./regenerate.sh.  This completely deletes and recreates all the keys and certificates, including the root CA.

---

### Overview (`process/testing/aso/README.md`)

## Windows FV Infrastructure

This directory contains scripts and manifests to set up a Windows kubeadm infrastructure on Azure using Azure Service Operator. It creates three Linux nodes and two Windows nodes by default.

### Prerequisites

- Azure CLI must be installed
- Required Azure environment variables must be set (see Step 1)

### Steps

1. Set the required environment variables in `export-env.sh`.

2. Run `make setup-kubeadm` to create the kubeadm cluster.

3. Run `make install-calico` to install Calico on the cluster.

4. Export `KUBECONFIG=./kubeconfig` to access the cluster.

### Access Linux or Windows Nodes

Helper scripts will be generated to SSH or SCP into each node. See the individual scripts for details.

For example:
```bash
# Usage: ./ssh-node-windows.sh [node_index] [command]
# Examples:
#   ./ssh-node-windows.sh 0 "Get-Process"     # SSH to first Windows node (index 0)
#   ./ssh-node-windows.sh 1 "ipconfig /all"   # SSH to second Windows node (index 1)
#   ./ssh-node-windows.sh "Get-Process"       # SSH to first node (default, backward compatible)
```

### Cleanup

Run `make dist-clean`.

---

### Overview (`process/testing/win-connections/README.md`)

# Windows Connectivity Tests

This directory contains test resources and scripts for validating network connectivity between Linux and Windows nodes in a Kubernetes cluster with Calico CNI.

## Prerequisites

- A Kubernetes cluster with both Linux and Windows nodes
- Calico CNI installed and configured for Windows (see `../aso/` for setup)
- `kubeconfig` file available at `../aso/kubeconfig`

## Test Components

| Component | Platform | Description |
|-----------|----------|-------------|
| `nginx` | Linux | Nginx web server pod and service |
| `porter` | Windows | Porter web server pod and service |
| `client` | Linux | Busybox pod for testing connectivity |

## Usage

```bash
./run-tests.sh
```

The script will:
1. Create the `demo` namespace
2. Deploy nginx, porter, and client pods
3. Wait for all pods to be ready (Windows pods may take up to 10 minutes)
4. Run connectivity tests:
   - **Test 1**: Linux client pod → Windows porter service (via DNS)
   - **Test 2**: Windows porter pod → Linux nginx service (via DNS)

## Test Topology

```
┌─────────────────┐         ┌─────────────────┐
│   Linux Node    │         │  Windows Node   │
│                 │         │                 │
│  ┌───────────┐  │         │  ┌───────────┐  │
│  │  client   │──┼────────►│  │  porter   │  │
│  └───────────┘  │  Test 1 │  └───────────┘  │
│                 │         │        │        │
│  ┌───────────┐  │         │        │        │
│  │   nginx   │◄─┼─────────┼────────┘        │
│  └───────────┘  │  Test 2 │                 │
└─────────────────┘         └─────────────────┘
```

## Expected Output

On success:
```
All connectivity tests passed!
```

On failure, the script will output which test failed and exit with code 1.

---

### Overview (`libcalico-go/lib/apis/internalapi/README.md`)

# libcalico-go/lib/apis/internalapi

Internal Calico resource types that are not part of the public API (`api/pkg/apis/projectcalico/v3`).

Contains types that are either stored in Kubernetes CRDs but not exposed to end users, and/or types that are used internally
by Calico but are not backed by CRDs (i.e., WorkloadEndpoint which is stored in etcd mode, but backed by a Kubernetes Pod when using
the Kubernetes API for storage).

- **Node** / **WorkloadEndpoint** -- internal representations backed by Kubernetes objects in KDD mode.
- **IPAMBlock**, **IPAMHandle**, **IPAMConfig**, **BlockAffinity** -- IPAM implementation details stored as CRDs but managed exclusively by Calico's IPAM subsystem.

---

### Overview (`libcalico-go/lib/apis/v1/README.md`)

# libcalico-go/lib/apis/v1

Legacy v1 API type definitions for the original Calico northbound client API.

Defines resource structs (BGPPeer, HostEndpoint, Policy, IPPool, Profile, Node, WorkloadEndpoint, Tier).
Used by the v1 validator (`typha/pkg/validator/v1`) and test utilities.

This is not the current API. The public Calico API is defined in `api/pkg/apis/projectcalico/v3/`.

---

### Overview (`libcalico-go/lib/apis/crd.projectcalico.org/v1/README.md`)

# libcalico-go/lib/apis/crd.projectcalico.org/v1

Kubernetes CRD type definitions for the `crd.projectcalico.org` API group. These are the
kubebuilder-annotated structs that define the actual CRD schemas stored in the Kubernetes API server.

Covers both user-facing resources (NetworkPolicy, GlobalNetworkPolicy, BGPPeer, IPPool, Tier,
FelixConfiguration, etc.) and internal IPAM resources (IPAMBlock, IPAMHandle, IPAMConfig,
BlockAffinity). The IPAM types embed their specs from the `internalapi` package.

Used by the Kubernetes backend (`libcalico-go/lib/backend/k8s`) and its raw CRD client for
direct CRD operations.

## Generating CRDs

Calico APIs that are backed using CRDs should be added here so that auto-generation picks up
the API. See other structs in this directory as an example.

Once added, run `make gen-crds` in the root of this repository to update the custom resource
definition YAMLs.

---

### Overview (`node/filesystem/etc/calico/confd/templates/README.md`)

The following is a summary of the templates defined in this directory:

### bird_ipam.cfg.template / bird6_ipam.cfg.template

Referenced by bird_ipam.toml and bird6_ipam.toml.

These templates write out the route filters based on IPAM configuration.  This
is inherited by the main BIRD configuration file.

### bird.cfg.template / bird6.cfg.template

Referenced by the confd-generated bird.toml and bird6.toml files.

These templates write out the main BIRD configuration when the full 
node-to-node mesh is enabled.

[](https://github.com/igrigorik/ga-beacon)

---

### Confd Docs Bgpfilter Bird Config Examples (`confd/docs/bgpfilter-bird-config-examples.md`)

# BGPFilter Enhancement - Rendered BIRD Config Examples

This file shows how a BGPFilter resource with all possible match criteria and
operations gets rendered into the final BIRD config file. Two examples are
provided:

- **Example A**: A filter using ALL match criteria and ALL operations
- **Example B**: A minimal filter with no PeerType (for comparison)

---

## Example A: Full-featured BGPFilter with all match/operation fields

### BGPFilter YAML

```
/* Detailed source-code truncated for AI context efficiency. */
```

### Step 1: BGPFilterBIRDFuncs generates BIRD function definitions

`BGPFilterBIRDFuncs` in `template_funcs.go` generates these functions. They
appear in the "BGP Filters" section of `bird.cfg`, shared by all peers.

```bird
# v4 BGPFilter full-example
function 'bgp_full-example_importFilterV4'(bool is_same_as) {
  if (is_same_as) then { if ((net ~ [ 10.244.0.0/16{24,28} ])&&((defined(ifname))&&(ifname ~ "eth0"))&&((65000, 100) ~ bgp_community)&&(bgp_path ~ [= 65000 * =])&&(krt_metric = 512)) then { krt_metric = 256; bgp_community.add((65000, 200)); bgp_path.prepend(65002); bgp_path.prepend(65001); accept; } }
  if (!is_same_as) then { if ((net ~ 10.244.0.0/16)&&((65000, 100, 999) ~ bgp_large_community)&&(bgp_path ~ [= 65000 65001 * =])&&(krt_metric = 100)) then { krt_metric = 1024; accept; } }
  reject;
}
function 'bgp_full-example_exportFilterV4'(bool is_same_as) {
  if (!is_same_as) then { if ((net ~ 192.168.0.0/16)&&((defined(source))&&(source ~ [ RTS_BGP ]))&&((defined(ifname))&&(ifname ~ "eth1"))&&((65000, 42) ~ bgp_community)&&(bgp_path ~ [= 65000 65001 * =])&&(krt_metric = 100)) then { bgp_large_community.add((65000, 300, 400)); bgp_path.prepend(64999); accept; } }
  if (is_same_as) then { if ((net = 10.0.0.0/8)) then { accept; } }
}
```

#### How each line is built (import function)

**Rule 1** (iBGP, Accept + operations):

Match conditions (AND-ed):

| Condition | BIRD expression | Go function |
|---|---|---|
| CIDR+PrefixLength | `(net ~ [ 10.244.0.0/16{24,28} ])` | `filterMatchCIDR` + `filterMatchPrefixLength` |
| Interface | `((defined(ifname))&&(ifname ~ "eth0"))` | `filterMatchInterface` |
| Communities | `((65000, 100) ~ bgp_community)` | `filterMatchCommunity` (standard) |
| ASPathPrefix | `(bgp_path ~ [= 65000 * =])` | `filterMatchASPathPrefix` |
| Priority | `(krt_metric = 512)` | `filterMatchPriority` |

Operations (in order):

| Operation | BIRD statement |
|---|---|
| SetPriority(256) | `krt_metric = 256;` |
| AddCommunity("65000:200") | `bgp_community.add((65000, 200));` |
| PrependASPath([65001, 65002]) | `bgp_path.prepend(65002); bgp_path.prepend(65001);` |

> PrependASPath iterates in reverse so 65001 ends up first in the path.

Combined body:

```
{ krt_metric = 256; bgp_community.add((65000, 200)); bgp_path.prepend(65002); bgp_path.prepend(65001); accept; }
```

PeerType=iBGP wrapping by `emitFilterRules`:

```
if (is_same_as) then { <the entire if-then statement> }
```

**Rule 2** (eBGP, Accept + operations):

Match conditions:

| Condition | BIRD expression | Notes |
|---|---|---|
| CIDR | `(net ~ 10.244.0.0/16)` | no PrefixLength this time |
| Communities | `((65000, 100, 999) ~ bgp_large_community)` | large community |
| ASPathPrefix | `(bgp_path ~ [= 65000 65001 * =])` | multi-ASN prefix match |
| Priority | `(krt_metric = 100)` | |

Operations:

| Operation | BIRD statement |
|---|---|
| SetPriority(1024) | `krt_metric = 1024;` |

PeerType=eBGP wrapping: `if (!is_same_as) then { ... }`

**Rule 3** (no PeerType, Reject, no match criteria):

- No conditions -> bare action: `reject;`
- No PeerType -> emitted unconditionally (no `is_same_as` guard)

#### How each line is built (export function)

**Rule 1** (eBGP):

- Match conditions: CIDR + Source + Interface + Communities + ASPathPrefix + Priority
- Community match on export checks communities already attached to the route.
- PeerType=eBGP -> `if (!is_same_as) then { ... }`

**Rule 2** (iBGP):

- Match: CIDR only (Equal operator -> exact match)
- PeerType=iBGP -> `if (is_same_as) then { ... }`

### Step 2: Per-peer filter calls (bgp_processor.go)

`buildImportFilter` / `buildExportFilter` in `bgp_processor.go` generate
per-peer filter calls that invoke the shared functions above.
`filterHasPeerType()` returns true for both directions, so the bool
argument is passed.

**For an iBGP peer** (peer AS 65001, node AS 65001, sameAS=true):

```
ImportFilter =
  'bgp_full-example_importFilterV4'(true);
  accept; # Prior to introduction of BGP Filters we used "import all" ...

ExportFilter =
  'bgp_full-example_exportFilterV4'(true);
  calico_export_to_bgp_peers(true);
  reject;
```

**For an eBGP peer** (peer AS 65002, node AS 65001, sameAS=false):

```
ImportFilter =
  'bgp_full-example_importFilterV4'(false);
  accept; # Prior to introduction of BGP Filters we used "import all" ...

ExportFilter =
  'bgp_full-example_exportFilterV4'(false);
  calico_export_to_bgp_peers(false);
  reject;
```

### Step 3: Final rendered BIRD config

Relevant excerpts only -- boilerplate like router id, kernel protocol, etc. omitted.

```
/* Detailed source-code truncated for AI context efficiency. */
```

### What happens at runtime

**iBGP peer imports a route** `10.244.5.0/24` with community `65000:100`,
AS path `[65000 ...]`, and `krt_metric=512`:

1. `'bgp_full-example_importFilterV4'(true)` is called
2. `is_same_as=true`, so Rule 1 fires:
   - All conditions match (CIDR in range, prefix /24 within {24,28}, interface
     eth0, community present, AS path starts with 65000, krt_metric=512)
   - Operations execute:
     1. krt_metric set to 256
     2. community 65000:200 added
     3. AS path prepended with 65001, 65002
   - Route accepted with modifications
3. Rule 2 is skipped (`is_same_as=true`, but rule is guarded by `!is_same_as`)

**eBGP peer imports the same route:**

1. `'bgp_full-example_importFilterV4'(false)` is called
2. `is_same_as=false`, so Rule 1 is skipped
3. Rule 2 fires (if conditions match):
   - If route has large community `65000:100:999`, AS path starts with
     `[65000, 65001]`, and `krt_metric=100` -> krt_metric set to 1024,
     route accepted
   - Otherwise falls through to Rule 3: reject

---

## Example B: Simple BGPFilter without PeerType (backward-compatible)

### BGPFilter YAML

```yaml
apiVersion: projectcalico.org/v3
kind: BGPFilter
metadata:
  name: simple-filter
spec:
  importV4:
    - cidr: 10.0.0.0/8
      matchOperator: In
      action: Reject
  exportV4:
    - cidr: 192.168.0.0/16
      matchOperator: Equal
      action: Accept
```

### Generated BIRD functions

No parameter -- backward compatible:

```bird
# v4 BGPFilter simple-filter
function 'bgp_simple-filter_importFilterV4'() {
  if ((net ~ 10.0.0.0/8)) then { reject; }
}
function 'bgp_simple-filter_exportFilterV4'() {
  if ((net = 192.168.0.0/16)) then { accept; }
}
```

### Per-peer filter calls

No argument -- `filterHasPeerType` returns false:

```bird
import filter {
  'bgp_simple-filter_importFilterV4'();
  accept; # Prior to introduction of BGP Filters we used "import all" ...
};
export filter {
  'bgp_simple-filter_exportFilterV4'();
  calico_export_to_bgp_peers(true);
  reject;
};
```

> The function signature and call site are identical to the pre-enhancement
> behavior. Existing BGPFilter resources that don't use PeerType are completely
> unaffected.

---

## Reference: Match criteria -> BIRD syntax

| Match Field | BIRD Syntax | Notes |
|---|---|---|
| CIDR (In) | `(net ~ 10.0.0.0/8)` | |
| CIDR (Equal) | `(net = 10.0.0.0/8)` | |
| CIDR (NotIn) | `(net !~ 10.0.0.0/8)` | |
| CIDR (NotEqual) | `(net != 10.0.0.0/8)` | |
| PrefixLength | `(net ~ [ 10.0.0.0/8{16,24} ])` | |
| Source | `((defined(source))&&(source ~ [ RTS_BGP ]))` | |
| Interface | `((defined(ifname))&&(ifname ~ "eth0"))` | |
| Communities (standard) | `((65000, 100) ~ bgp_community)` | |
| Communities (large) | `((65000, 100, 200) ~ bgp_large_community)` | |
| ASPathPrefix | `(bgp_path ~ [= 65000 * =])` | single ASN |
| ASPathPrefix | `(bgp_path ~ [= 65000 65001 * =])` | multi ASN |
| Priority | `(krt_metric = 512)` | |
| PeerType=iBGP | `if (is_same_as) then { <rule> }` | function-level guard |
| PeerType=eBGP | `if (!is_same_as) then { <rule> }` | function-level guard |

## Reference: Operations -> BIRD syntax

| Operation | BIRD Syntax | Notes |
|---|---|---|
| AddCommunity (standard) | `bgp_community.add((65000, 100));` | |
| AddCommunity (large) | `bgp_large_community.add((65000, 100, 200));` | |
| PrependASPath | `bgp_path.prepend(65001);` | per ASN, reversed order |
| SetPriority | `krt_metric = 256;` | |

---

### Confd Docs Command Line Flags (`confd/docs/command-line-flags.md`)

# Command Line Flags

Command line flags override the confd [configuration file](configuration-guide.md).

```
confd -h
```

```
/* Detailed source-code truncated for AI context efficiency. */
```

> The -scheme flag is only used to set the URL scheme for nodes retrieved from DNS SRV records.

---

### Confd Docs Configuration Guide (`confd/docs/configuration-guide.md`)

# Configuration Guide

The confd configuration file is written in [TOML](https://github.com/mojombo/toml)
and loaded from `/etc/confd/confd.toml` by default. You can specify the config file via the `-config-file` command line flag.

> Note: You can use confd without a configuration file. See [Command Line Flags](https://github.com/kelseyhightower/confd/blob/master/docs/command-line-flags.md).

Optional:

* `backend` (string) - The backend to use. ("etcd")
* `client_cakeys` (string) - The client CA key file.
* `client_cert` (string) - The client cert file.
* `client_key` (string) - The client key file.
* `confdir` (string) - The path to confd configs. ("/etc/confd")
* `interval` (int) - The backend polling interval in seconds. (600)
* `log-level` (string) - level which confd should log messages ("info")
* `nodes` (array of strings) - List of backend nodes. (["http://127.0.0.1:4001"])
* `noop` (bool) - Enable noop mode. Process all template resources; skip target update.
* `prefix` (string) - The string to prefix to keys. ("/")
* `scheme` (string) - The backend URI scheme. ("http" or "https")
* `srv_domain` (string) - The name of the resource record.
* `srv_record` (string) - The SRV record to search for backends nodes.
* `sync-only` (bool) - sync without check_cmd and reload_cmd.
* `watch` (bool) - Enable watch support.

Example:

```TOML
backend = "etcd"
client_cert = "/etc/confd/ssl/client.crt"
client_key = "/etc/confd/ssl/client.key"
confdir = "/etc/confd"
log-level = "debug"
interval = 600
nodes = [
  "http://127.0.0.1:4001",
]
noop = false
prefix = "/production"
scheme = "https"
srv_domain = "etcd.example.com"
```

---

### Confd Docs Dns Srv Records (`confd/docs/dns-srv-records.md`)

# DNS SRV Records

SRV records can be used to declare the backend nodes; just use the `-srv-domain` flag.

## Examples

### etcd

```
dig SRV _etcd._tcp.confd.io
```

```
...
;; ANSWER SECTION:
_etcd._tcp.confd.io.	300	IN	SRV	1 100 4001 etcd.confd.io.
```

-

```
confd -backend etcd -srv-domain confd.io
```

### consul

```
dig SRV _consul._tcp.confd.io
```

```
...
;; ANSWER SECTION:
_consul._tcp.confd.io.	300	IN	SRV	1 100 8500 consul.confd.io.
```

-

```
confd -backend consul -srv-domain confd.io
```

## The backend scheme

By default the `scheme` is set to http; change it with the `-scheme` flag.

```
confd -scheme https -srv-domain confd.io
```

Both the SRV domain and scheme can be configured in the confd configuration file. See the [Configuration Guide](configuration-guide.md) for more details.

---

### Confd Docs Installation (`confd/docs/installation.md`)

# Installation

### Binary Download

Currently confd ships binaries for OS X and Linux 64bit systems. You can download the latest release from [GitHub](https://github.com/bacongobbler/confd/releases)

#### OS X

```
$ wget https://github.com/bacongobbler/confd/releases/download/v0.12.1/confd-0.12.1-darwin-amd64
```

#### Linux

```
$ wget https://github.com/bacongobbler/confd/releases/download/v0.12.1/confd-0.12.1-linux-amd64
```

#### Building from Source

```
$ ./build
$ sudo ./install
```

#### Building from Source for Alpine Linux

Since many people are using Alpine Linux as their base images for Docker there's support to build Alpine package also. Naturally by using Docker itself. :)

```
$ docker build -t confd_builder -f Dockerfile.build.alpine .
$ docker run -ti --rm -v $(pwd):/app confd_builder ./build
```
The above docker commands will produce binary in the local bin directory.

### Next Steps

Get up and running with the [Quick Start Guide](quick-start-guide.md).

---

### Confd Docs Logging (`confd/docs/logging.md`)

# Logging

confd logs everything to stdout. You can control the types of messages that get printed by using the `-log-level` flag and corresponding configuration file settings. See the [Configuration Guide](configuration-guide.md) for more details.

Example log messages:

```Bash
2013-11-03T19:04:53-08:00 confd[21356]: INFO SRV domain set to confd.io
2013-11-03T19:04:53-08:00 confd[21356]: INFO Starting confd
2013-11-03T19:04:53-08:00 confd[21356]: INFO etcd nodes set to http://etcd0.confd.io:4001, http://etcd1.confd.io:4001
2013-11-03T19:04:54-08:00 confd[21356]: INFO /tmp/myconf2.conf has md5sum ae5c061f41de8895b6ef70803de9a455 should be 50d4ce679e1cf13e10cd9de90d258996
2013-11-03T19:04:54-08:00 confd[21356]: INFO Target config /tmp/myconf2.conf out of sync
2013-11-03T19:04:54-08:00 confd[21356]: INFO Target config /tmp/myconf2.conf has been updated
```

---

### Confd Docs Noop Mode (`confd/docs/noop-mode.md`)

# Noop Mode

When in noop mode target configuration files will not be modified.

## Usage

### commandline flag

```
confd -noop
```

### configuration file

```
noop = true
```

### Example

```
confd -onetime -noop
```

-

```
2014-07-08T22:30:10-07:00 confd[16397]: INFO /tmp/myconfig.conf has md5sum c1924fc5c5f2698e2019080b7c043b7a should be 8e76340b541b8ee29023c001a5e4da18
2014-07-08T22:30:10-07:00 confd[16397]: WARNING Noop mode enabled /tmp/myconfig.conf will not be modified
```

---

### Confd Docs Quick Start Guide (`confd/docs/quick-start-guide.md`)

# Quick Start Guide

Before we begin be sure to [download and install confd](installation.md).

## Select a backend

confd supports the following backends:

* etcd
* consul
* vault
* environment variables
* redis
* zookeeper
* dynamodb
* stackengine
* rancher
* metad

### Add keys

This guide assumes you have a working [etcd](https://github.com/coreos/etcd#getting-started), or [consul](http://www.consul.io/intro/getting-started/install.html) server up and running and the ability to add new keys.

#### etcd

```
etcdctl set /myapp/database/url db.example.com
etcdctl set /myapp/database/user rob
```

#### consul

```
curl -X PUT -d 'db.example.com' http://localhost:8500/v1/kv/myapp/database/url
curl -X PUT -d 'rob' http://localhost:8500/v1/kv/myapp/database/user
```

####vault
```
vault mount -path myapp generic
vault write myapp/database url=db.example.com user=rob
```

#### environment variables

```
export MYAPP_DATABASE_URL=db.example.com
export MYAPP_DATABASE_USER=rob
```

#### redis

```
redis-cli set /myapp/database/url db.example.com
redis-cli set /myapp/database/user rob
```

#### zookeeper

```
[zk: localhost:2181(CONNECTED) 1] create /myapp ""
[zk: localhost:2181(CONNECTED) 2] create /myapp/database ""
[zk: localhost:2181(CONNECTED) 3] create /myapp/database/url "db.example.com"
[zk: localhost:2181(CONNECTED) 4] create /myapp/database/user "rob"
```

#### dynamodb

First create a table with the following schema:

```
aws dynamodb create-table \
    --region <YOUR_REGION> --table-name <YOUR_TABLE> \
    --attribute-definitions AttributeName=key,AttributeType=S \
    --key-schema AttributeName=key,KeyType=HASH \
    --provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1
```

Now create the items. The attribute value `value` must be of type [string](http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html):

```
aws dynamodb put-item --table-name <YOUR_TABLE> --region <YOUR_REGION> \
    --item '{ "key": { "S": "/myapp/database/url" }, "value": {"S": "db.example.com"}}'
aws dynamodb put-item --table-name <YOUR_TABLE> --region <YOUR_REGION> \
    --item '{ "key": { "S": "/myapp/database/user" }, "value": {"S": "rob"}}'
```
#### StackEngine
```
curl -k -X PUT -d 'value' https://mesh-01:8443/api/kv/key --header "Authorization: Bearer stackengine_api_key"
```

#### Rancher

This backend consumes the [Rancher](https://www.rancher.com) metadata service. For available keys, see the [Rancher Metadata Service docs](http://docs.rancher.com/rancher/rancher-services/metadata-service/).

#### Metad
```
curl http://127.0.0.1:9611/v1/data -X PUT -d '{"myapp":{"database":{"url":"db.example.com","user":"rob"}}}'
```

### Create the confdir

The confdir is where template resource configs and source templates are stored.

```
sudo mkdir -p /etc/confd/{conf.d,templates}
```

### Create a template resource config

Template resources are defined in [TOML](https://github.com/mojombo/toml) config files under the `confdir`.

/etc/confd/conf.d/myconfig.toml
```
[template]
src = "myconfig.conf.tmpl"
dest = "/tmp/myconfig.conf"
keys = [
    "/myapp/database/url",
    "/myapp/database/user",
]
```

### Create the source template

Source templates are [Golang text templates](http://golang.org/pkg/text/template/#pkg-overview).

/etc/confd/templates/myconfig.conf.tmpl
```
[myconfig]
database_url = {{getv "/myapp/database/url"}}
database_user = {{getv "/myapp/database/user"}}
```

### Process the template

confd supports two modes of operation daemon and onetime. In daemon mode confd polls a backend for changes and updates destination configuration files if necessary.

#### etcd

```
confd -onetime -backend etcd -node http://127.0.0.1:4001
```

#### consul

```
confd -onetime -backend consul -node 127.0.0.1:8500
```

#### vault
```
ROOT_TOKEN=$(vault read -field id auth/token/lookup-self)

confd -onetime -backend vault -node http://127.0.0.1:8200 \
      -auth-type token -auth-token $ROOT_TOKEN
```

#### dynamodb

```
confd -onetime -backend dynamodb -table <YOUR_TABLE>
```

#### env

```
confd -onetime -backend env
```

#### StackEngine

```
confd -onetime -backend stackengine -auth-token stackengine_api_key -node 192.168.255.210:8443 -scheme https
```

#### redis

```
confd -onetime -backend redis -node 192.168.255.210:6379
```

#### rancher

```
confd -onetime -backend rancher -prefix /2015-07-25
```

#### metad

```
confd --onetime --backend metad --node 127.0.0.1:80 --watch
```
=======

*Note*: The metadata api prefix can be defined on the cli, or as part of your keys in the template toml file.

Output:
```
2014-07-08T20:38:36-07:00 confd[16252]: INFO Target config /tmp/myconfig.conf out of sync
2014-07-08T20:38:36-07:00 confd[16252]: INFO Target config /tmp/myconfig.conf has been updated
```

The `dest` configuration file should now be in sync.

```
cat /tmp/myconfig.conf
```

Output:
```
# This a comment
[myconfig]
database_url = db.example.com
database_user = rob
```

## Advanced Example

In this example we will use confd to manage two nginx config files using a single template.

### Add keys

#### etcd

```
etcdctl set /myapp/subdomain myapp
etcdctl set /myapp/upstream/app2 "10.0.1.100:80"
etcdctl set /myapp/upstream/app1 "10.0.1.101:80"
etcdctl set /yourapp/subdomain yourapp
etcdctl set /yourapp/upstream/app2 "10.0.1.102:80"
etcdctl set /yourapp/upstream/app1 "10.0.1.103:80"
```

#### consul

```
curl -X PUT -d 'myapp' http://localhost:8500/v1/kv/myapp/subdomain
curl -X PUT -d '10.0.1.100:80' http://localhost:8500/v1/kv/myapp/upstream/app1
curl -X PUT -d '10.0.1.101:80' http://localhost:8500/v1/kv/myapp/upstream/app2
curl -X PUT -d 'yourapp' http://localhost:8500/v1/kv/yourapp/subdomain
curl -X PUT -d '10.0.1.102:80' http://localhost:8500/v1/kv/yourapp/upstream/app1
curl -X PUT -d '10.0.1.103:80' http://localhost:8500/v1/kv/yourapp/upstream/app2
```

### Create template resources

/etc/confd/conf.d/myapp-nginx.toml

```
[template]
prefix = "/myapp"
src = "nginx.tmpl"
dest = "/tmp/myapp.conf"
owner = "nginx"
mode = "0644"
keys = [
  "/subdomain",
  "/upstream",
]
check_cmd = "/usr/sbin/nginx -t -c {{.src}}"
reload_cmd = "/usr/sbin/service nginx reload"
```

/etc/confd/conf.d/yourapp-nginx.toml

```
[template]
prefix = "/yourapp"
src = "nginx.tmpl"
dest = "/tmp/yourapp.conf"
owner = "nginx"
mode = "0644"
keys = [
  "/subdomain",
  "/upstream",
]
check_cmd = "/usr/sbin/nginx -t -c {{.src}}"
reload_cmd = "/usr/sbin/service nginx reload"
```

### Create the source template

/etc/confd/templates/nginx.tmpl
```
upstream {{getv "/subdomain"}} {
{{range getvs "/upstream/*"}}
    server {{.}};
{{end}}
}

server {
    server_name  {{getv "/subdomain"}}.example.com;
    location / {
        proxy_pass        http://{{getv "/subdomain"}};
        proxy_redirect    off;
        proxy_set_header  Host             $host;
        proxy_set_header  X-Real-IP        $remote_addr;
        proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
   }
}
```

---

### Confd Docs Release Checklist (`confd/docs/release-checklist.md`)

# Release Checklist

In order to cut a new release, a few things must be done:

1. auto-generate the CHANGELOG using the provided script
2. bump version.go and docs/installation.md to the new release
3. push a tag for the new release
4. draft a [new release](https://github.com/kelseyhightower/confd/releases/new)
5. bump version.go to the next release, appending `-dev`

For the former, you can use the following script:

    $ echo -e "$(./contrib/generate-changelog.sh v$LATEST_RELEASE)\n" | cat - CHANGELOG | sponge CHANGELOG

You can find `sponge` in the `moreutils` package on Ubuntu.

This script will generate all merged changes since $LATEST_RELEASE and append it to the top of the CHANGELOG. However, this will show up as "HEAD" at the top:

    $ ./contrib/generate-changelog.sh v$LATEST_RELEASE
    ### HEAD

    abc123 Some merged PR summary
    ...

You'll need to manually modify "HEAD" to show up as the latest release.

When drafting a new release, you must make sure that a `darwin` and `linux` build of confd have
been uploaded. If you have cross-compile support, you can use the following command to generate
those binaries:

    $ CONFD_CROSSPLATFORMS="darwin/amd64 linux/amd64" NEW_RELEASE="x.y.z"
    $ for platform in $CONFD_CROSSPLATFORMS; do \
        GOOS=${platform%/*} GOARCH=${platform##*/} ./build; \
        mv bin/confd bin/confd-$NEW_RELEASE-${platform%/*}-${platform##*/}; \
    done

You can then drag and drop these binaries into the release draft.

---

### Confd Docs Template Resources (`confd/docs/template-resources.md`)

# Template Resources

Template resources are written in TOML and define a single template resource.
Template resources are stored under the `/etc/confd/conf.d` directory by default.

### Required

* `dest` (string) - The target file.
* `keys` (array of strings) - An array of keys.
* `src` (string) - The relative path of a [configuration template](templates.md).

### Optional

* `gid` (int) - The gid that should own the file. Defaults to the effective gid.
* `mode` (string) - The permission mode of the file.
* `uid` (int) - The uid that should own the file. Defaults to the effective uid.
* `reload_cmd` (string) - The command to reload config.
* `check_cmd` (string) - The command to check config. Use `{{.src}}` to reference the rendered source template.
* `prefix` (string) - The string to prefix to keys.

### Notes

When using the `reload_cmd` feature it's important that the command exits on its own. The reload
command is not managed by confd, and will block the configuration run until it exits.

## Example

```TOML
[template]
src = "nginx.conf.tmpl"
dest = "/etc/nginx/nginx.conf"
uid = 0
gid = 0
mode = "0644"
keys = [
  "/nginx",
]
check_cmd = "/usr/sbin/nginx -t -c {{.src}}"
reload_cmd = "/usr/sbin/service nginx restart"
```

---

### Confd Docs Templates (`confd/docs/templates.md`)

# Templates

Templates define a single application configuration template.
Templates are stored under the `/etc/confd/templates` directory by default.

Templates are written in Go's [`text/template`](http://golang.org/pkg/text/template/).

## Template Functions

### map

creates a key-value map of string -> interface{}

```
{{$endpoint := map "name" "elasticsearch" "private_port" 9200 "public_port" 443}}

name: {{index $endpoint "name"}}
private-port: {{index $endpoint "private_port"}}
public-port: {{index $endpoint "public_port"}}
```

specifically useful if you a sub-template and you want to pass multiple values to it.

### base

Alias for the [path.Base](https://golang.org/pkg/path/#Base) function.

```
{{with get "/key"}}
    key: {{base .Key}}
    value: {{.Value}}
{{end}}
```

### exists

Checks if the key exists. Return false if key is not found.

```
{{if exists "/key"}}
    value: {{getv "/key"}}
{{end}}
```

### get

Returns the KVPair where key matches its argument. Returns an error if key is not found.

```
{{with get "/key"}}
    key: {{.Key}}
    value: {{.Value}}
{{end}}
```

### gets

Returns all KVPair, []KVPair, where key matches its argument. Returns an error if key is not found.

```
{{range gets "/*"}}
    key: {{.Key}}
    value: {{.Value}}
{{end}}
```

### getv

Returns the value as a string where key matches its argument or an optional default value.
Returns an error if key is not found and no default value given.

```
value: {{getv "/key"}}
```

#### With a default value

```
value: {{getv "/key" "default_value"}}
```

### getvs

Returns all values, []string, where key matches its argument. Returns an error if key is not found.

```
{{range getvs "/*"}}
    value: {{.}}
{{end}}
```

### getenv

Wrapper for [os.Getenv](https://golang.org/pkg/os/#Getenv). Retrieves the value of the environment variable named by the key. It returns the value, which will be empty if the variable is not present. Optionally, you can give a default value that will be returned if the key is not present.

```
export HOSTNAME=`hostname`
```

```
hostname: {{getenv "HOSTNAME"}}
```

#### With a default value

```
ipaddr: {{getenv "HOST_IP" "127.0.0.1"}}
```

### datetime

Alias for [time.Now](https://golang.org/pkg/time/#Now)

```
# Generated by confd {{datetime}}
```

Outputs:

```
# Generated by confd 2015-01-23 13:34:56.093250283 -0800 PST
```

```
# Generated by confd {{datetime.Format "Jan 2, 2006 at 3:04pm (MST)"}}
```

Outputs:

```
# Generated by confd Jan 23, 2015 at 1:34pm (EST)
```

See the time package for more usage: http://golang.org/pkg/time/

### split

Wrapper for [strings.Split](http://golang.org/pkg/strings/#Split). Splits the input string on the separating string and returns a slice of substrings.

```
{{ $url := split (getv "/deis/service") ":" }}
    host: {{index $url 0}}
    port: {{index $url 1}}
```

### toUpper

Alias for [strings.ToUpper](http://golang.org/pkg/strings/#ToUpper) Returns uppercased string.

```
key: {{toUpper "value"}}
```

### toLower

Alias for [strings.ToLower](http://golang.org/pkg/strings/#ToLower). Returns lowercased string.

```
key: {{toLower "Value"}}
```

### json

Returns an map[string]interface{} of the json value.

### lookupSRV

Wrapper for [net.LookupSRV](https://golang.org/pkg/net/#LookupSRV). The wrapper also sorts the SRV records alphabetically by combining all the fields of the net.SRV struct to reduce unnecessary config reloads.

```
{{range lookupSRV "mail" "tcp" "example.com"}}
  target: {{.Target}}
  port: {{.Port}}
  priority: {{.Priority}}
  weight: {{.Weight}}
{{end}}
```

### base64Encode

Returns a base64 encoded string of the value.

```
key: {{base64Encode "Value"}}
```

### base64Decode

Returns the string representing the decoded base64 value.

```
key: {{base64Decode "VmFsdWU="}}
```

#### Add keys to etcd

```
etcdctl set /services/zookeeper/host1 '{"Id":"host1", "IP":"192.168.10.11"}'
etcdctl set /services/zookeeper/host2 '{"Id":"host2", "IP":"192.168.10.12"}'
```

#### Create the template resource

```
[template]
src = "services.conf.tmpl"
dest = "/tmp/services.conf"
keys = [
  "/services/zookeeper/"
]
```

#### Create the template

```
{{range gets "/services/zookeeper/*"}}
{{$data := json .Value}}
  id: {{$data.Id}}
  ip: {{$data.IP}}
{{end}}
```

#### Advanced Map Traversals

Once you have parsed the JSON, it is possible to traverse it with normal Go
template functions such as `index`.

A more advanced structure, like this:

```
{
  "animals": [
    {"type": "dog", "name": "Fido"},
    {"type": "cat", "name": "Misse"}
  ]
}
```

It can be traversed like this:

```
{{$data := json (getv "/test/data/")}}
type: {{ (index $data.animals 1).type }}
name: {{ (index $data.animals 1).name }}
{{range $data.animals}}
{{.name}}
{{end}}
```

### jsonArray

Returns a []interface{} from a json array such as `["a", "b", "c"]`.

```
{{range jsonArray (getv "/services/data/")}}
val: {{.}}
{{end}}
```

### ls

Returns all subkeys, []string, where path matches its argument. Returns an empty list if path is not found.

```
{{range ls "/deis/services"}}
   value: {{.}}
{{end}}
```

### lsdir

Returns all subkeys, []string, where path matches its argument. It only returns subkeys that also have subkeys. Returns an empty list if path is not found.

```
{{range lsdir "/deis/services"}}
   value: {{.}}
{{end}}
```

### dir

Returns the parent directory of a given key.
```
{{with dir "/services/data/url"}}
dir: {{.}}
{{end}}
```

### join

Alias for the [strings.Join](https://golang.org/pkg/strings/#Join) function.

```
{{$services := getvs "/services/elasticsearch/*"}}
services: {{join $services ","}}
```

### replace

Alias for the [strings.Replace](https://golang.org/pkg/strings/#Replace) function.

```
{{$backend := getv "/services/backend/nginx"}}
backend = {{replace $backend "-" "_" -1}}
```

### lookupIP

Wrapper for [net.LookupIP](https://golang.org/pkg/net/#LookupIP) function. The wrapper also sorts (alphabetically) the IP addresses. This is crucial since in dynamic environments DNS servers typically shuffle the addresses linked to domain name. And that would cause unnecessary config reloads.

```
{{range lookupIP "some.host.local"}}
    server {{.}};
{{end}}
```

## Example Usage

```Bash
etcdctl set /nginx/domain 'example.com'
etcdctl set /nginx/root '/var/www/example_dotcom'
etcdctl set /nginx/worker_processes '2'
etcdctl set /app/upstream/app1 "10.0.1.100:80"
etcdctl set /app/upstream/app2 "10.0.1.101:80"
```

`/etc/confd/templates/nginx.conf.tmpl`

```Text
worker_processes {{getv "/nginx/worker_processes"}};

upstream app {
{{range getvs "/app/upstream/*"}}
    server {{.}};
{{end}}
}

server {
    listen 80;
    server_name www.{{getv "/nginx/domain"}};
    access_log /var/log/nginx/{{getv "/nginx/domain"}}.access.log;
    error_log /var/log/nginx/{{getv "/nginx/domain"}}.log;

    location / {
        root              {{getv "/nginx/root"}};
        index             index.html index.htm;
		proxy_pass        http://app;
        proxy_redirect    off;
        proxy_set_header  Host             $host;
        proxy_set_header  X-Real-IP        $remote_addr;
        proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
    }
}
```

Output: `/etc/nginx/nginx.conf`

```Text
worker_processes 2;

upstream app {
    server 10.0.1.100:80;
    server 10.0.1.101:80;
}

server {
    listen 80;
    server_name www.example.com;
    access_log /var/log/nginx/example.com.access.log;
    error_log /var/log/nginx/example.com.error.log;

    location / {
        root              /var/www/example_dotcom;
        index             index.html index.htm;
        proxy_pass        http://app;
        proxy_redirect    off;
        proxy_set_header  Host             $host;
        proxy_set_header  X-Real-IP        $remote_addr;
        proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
    }
}
```

### Complex example

This examples show how to use a combination of the templates functions to do nested iteration.

#### Add keys to etcd

```
etcdctl mkdir /services/web/cust1/
etcdctl mkdir /services/web/cust2/
etcdctl set /services/web/cust1/2 '{"IP": "10.0.0.2"}'
etcdctl set /services/web/cust2/2 '{"IP": "10.0.0.4"}'
etcdctl set /services/web/cust2/1 '{"IP": "10.0.0.3"}'
etcdctl set /services/web/cust1/1 '{"IP": "10.0.0.1"}'
```

#### Create the template resource

```
[template]
src = "services.conf.tmpl"
dest = "/tmp/services.conf"
keys = [
  "/services/web"
]
```

#### Create the template

```
{{range $dir := lsdir "/services/web"}}
upstream {{base $dir}} {
    {{$custdir := printf "/services/web/%s/*" $dir}}{{range gets $custdir}}
    server {{$data := json .Value}}{{$data.IP}}:80;
    {{end}}
}

server {
    server_name {{base $dir}}.example.com;
    location / {
        proxy_pass {{base $dir}};
    }
}
{{end}}
```

Output:`/tmp/services.conf`

```Text
upstream cust1 {
    server 10.0.0.1:80;
    server 10.0.0.2:80;
}

server {
    server_name cust1.example.com;
    location / {
        proxy_pass cust1;
    }
}

upstream cust2 {
    server 10.0.0.3:80;
    server 10.0.0.4:80;
}

server {
    server_name cust2.example.com;
    location / {
        proxy_pass cust2;
    }
}
```

Go's [`text/template`](http://golang.org/pkg/text/template/) package is very powerful. For more details on it's capabilities see its [documentation.](http://golang.org/pkg/text/template/)

---

### Confd Docs Tomcat Sample (`confd/docs/tomcat-sample.md`)

# confd for Apache Tomcat
If you administrate an [Apache Tomcat](http://tomcat.apache.org/) you usually need to edit multiple config files and set some environment variables. 
[confd](https://github.com/kelseyhightower/confd) can help here especially if you have multiple Tomcats in a cluster. Configuring Tomcat is an interesting sample, because it needs multiple config files and some environment variables.

Important configuration files of Tomcat are 
- server.xml: e.g. configure here jvmRoute for load balancing, ports etc.
- tomcat-users.xml: configure access rights for manager webapp

A frequently used environment variable is CATALINA_OPTS: Here you can define memory settings

## server.xml
In this case we simply want to use the hostname for jvmRoute. Because it is not possible to execute a Unix command within a toml template, we use an environment variable "HOSTNAME" instead.

Copy the file conf/server.xml from your Tomcat installation to /etc/confd/templates/server.xml.tmpl and edit "Engine tag" and add jvmRoute
```
<Engine name="Catalina" defaultHost="localhost" jvmRoute="{{getenv "HOSTNAME"}}">
```

Create /etc/confd/conf.d/server.xml.toml
```
[template]
src = "server.xml.tmpl"
dest = "/usr/local/tomcat/conf/server.xml"

check_cmd = "/usr/local/tomcat/bin/catalina.sh configtest"
reload_cmd = "/usr/local/tomcat/bin/catalina.sh stop -force && /usr/local/tomcat/bin/catalina.sh start"
```

## tomcat-users.xml
We want to get the Tomcat-manager's credentials from a central configuration repository. 
Copy the file conf/tomcat-users.xml from your Tomcat installation to /etc/confd/templates/tomcat-users.xml.tmpl
Add the following lines:
```
<role rolename="tomcat"/>
<role rolename="manager-gui"/>
<user username="{{getv "/user"}}" password="{{getv "/password"}}" roles="tomcat,manager-gui"/>
```

Create a /etc/confd/conf.d/tomcat-users.xml.toml
```
[template]
prefix = "tomcat"
keys = [
  "user",
  "password"
]

src = "tomcat-users.xml.tmpl"
dest = "/usr/local/tomcat/conf/tomcat-users.xml"

reload_cmd = "/usr/local/tomcat/bin/catalina.sh stop -force && /usr/local/tomcat/bin/catalina.sh start"
```

## catalina.sh
File catalina.sh is the startscript for Tomcat. If confd should set memory settings like Xmx or Xms, we could either create a catalina.sh.tmpl and proceed like above or we can try to use environment variables and leave catalina.sh untouched. Leaving catalina.sh untouched is preferred here. Because it is not possible to use environment variables within toml files, we need to write a minimal shell script that passes CATALINA_OPTS variable.

Create the file /etc/confd/conf.d/catalina_start.sh.toml
```
#!/bin/sh
CATALINA_OPTS="-Xms{{getv "/Xms"}} -Xmx{{getv "/Xmx"}}" /usr/local/tomcat/bin/catalina.sh start
```

Create the file /etc/confd/conf.d/catalina_start.sh.toml
```
[template]
prefix = "tomcat"
keys = [
  "Xmx",
  "Xms"
]

src = "catalina_start.sh.tmpl"
dest = "/usr/local/tomcat/bin/catalina_start.sh"
mode = "0775"

reload_cmd = "/usr/local/tomcat/bin/catalina.sh stop -force && /usr/local/tomcat/bin/catalina_start.sh start"
```

Finally we need to replace in all above templates ```catalina.sh start``` by ```catalina_start.sh start```

## test it
Follow conf documentation and test it calling ```confd -onetime``` or you try the complete sample in a Docker and/or Vagrant environment [here](https://github.com/muenchhausen/tomcat-confd)

---

### Felix Docs Calc Graph Diagram (`felix/docs/calc-graph-diagram.md`)

# Felix calculation graph — node overview

Hand-maintained overview of the calc-graph nodes and how they are wired,
assembled in [`felix/calc/calc_graph.go`](../calc/calc_graph.go)
(`NewCalculationGraph`). Update it when you add or rewire a node.

For the design rationale, invariants and review criteria, see
[`felix/design/calc-graph.md`](../design/calc-graph.md). For the output
contract (the protobuf messages emitted to the dataplane) see
[`dataplane.md` → The dataplane API](../design/dataplane.md#the-dataplane-api-calc-graph--dataplane-contract).

Nodes drawn with a dashed border are created conditionally (encap mode,
BPF, Istio ambient, lookup cache, etc.). Edge labels name the resource
types or callbacks that flow along each edge; they are illustrative, not
exhaustive.

```
/* Detailed source-code truncated for AI context efficiency. */
```

---

### Felix Docs Config Params.Json (`felix/docs/config-params.json`)

{
  "Comment": "This file generated by calico-felix-docgen, DO NOT EDIT.",
  "Groups": [
    {
      "Name": "Datastore connection",
      "Fields": [
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "DatastoreType",
          "NameEnvVar": "FELIX_DatastoreType",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "One of: `etcdv3`, `kubernetes`",
          "StringSchemaHTML": "One of: <code>etcdv3</code>, <code>kubernetes</code>",
          "StringDefault": "etcdv3",
          "ParsedDefault": "etcdv3",
          "ParsedDefaultJSON": "\"etcdv3\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Controls which datastore driver Felix will use. Typically, this is detected from the environment\nand it does not need to be set manually. (For example, if `KUBECONFIG` is set, the kubernetes datastore driver\nwill be used by default).",
          "DescriptionHTML": "<p>Controls which datastore driver Felix will use. Typically, this is detected from the environment\nand it does not need to be set manually. (For example, if <code>KUBECONFIG</code> is set, the kubernetes datastore driver\nwill be used by default).</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdAddr",
          "NameEnvVar": "FELIX_EtcdAddr",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String matching regex `^[^:/]+:\\d+$`",
          "StringSchemaHTML": "String matching regex <code>^[^:/]+:\\d+$</code>",
          "StringDefault": "127.0.0.1:2379",
          "ParsedDefault": "127.0.0.1:2379",
          "ParsedDefaultJSON": "\"127.0.0.1:2379\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "When using the `etcdv3` datastore driver, the etcd server and port to connect to. If EtcdEndpoints\nis also specified, it takes precedence.",
          "DescriptionHTML": "<p>When using the <code>etcdv3</code> datastore driver, the etcd server and port to connect to. If EtcdEndpoints\nis also specified, it takes precedence.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdCaFile",
          "NameEnvVar": "FELIX_EtcdCaFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "When using the `etcdv3` datastore driver, path to TLS CA file to use when connecting to\netcd. If the CA file is specified, the other TLS parameters are mandatory.",
          "DescriptionHTML": "<p>When using the <code>etcdv3</code> datastore driver, path to TLS CA file to use when connecting to\netcd. If the CA file is specified, the other TLS parameters are mandatory.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdCertFile",
          "NameEnvVar": "FELIX_EtcdCertFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "When using the `etcdv3` datastore driver, path to TLS certificate file to use when connecting to\netcd. If the certificate file is specified, the other TLS parameters are mandatory.",
          "DescriptionHTML": "<p>When using the <code>etcdv3</code> datastore driver, path to TLS certificate file to use when connecting to\netcd. If the certificate file is specified, the other TLS parameters are mandatory.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdEndpoints",
          "NameEnvVar": "FELIX_EtcdEndpoints",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "List of HTTP endpoints: comma-delimited list of `http(s)://hostname:port`",
          "StringSchemaHTML": "List of HTTP endpoints: comma-delimited list of <code>http(s)://hostname:port</code>",
          "StringDefault": "",
          "ParsedDefault": "[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "[]string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "When using the `etcdv3` datastore driver, comma-delimited list of etcd endpoints to connect to,\nreplaces EtcdAddr and EtcdScheme.",
          "DescriptionHTML": "<p>When using the <code>etcdv3</code> datastore driver, comma-delimited list of etcd endpoints to connect to,\nreplaces EtcdAddr and EtcdScheme.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdKeyFile",
          "NameEnvVar": "FELIX_EtcdKeyFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "When using the `etcdv3` datastore driver, path to TLS private key file to use when connecting to\netcd. If the key file is specified, the other TLS parameters are mandatory.",
          "DescriptionHTML": "<p>When using the <code>etcdv3</code> datastore driver, path to TLS private key file to use when connecting to\netcd. If the key file is specified, the other TLS parameters are mandatory.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "EtcdScheme",
          "NameEnvVar": "FELIX_EtcdScheme",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "One of: `http`, `https`",
          "StringSchemaHTML": "One of: <code>http</code>, <code>https</code>",
          "StringDefault": "http",
          "ParsedDefault": "http",
          "ParsedDefaultJSON": "\"http\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "EtcdAddr: when using the `etcdv3` datastore driver, the URL scheme to use. If EtcdEndpoints\nis also specified, it takes precedence.",
          "DescriptionHTML": "<p>EtcdAddr: when using the <code>etcdv3</code> datastore driver, the URL scheme to use. If EtcdEndpoints\nis also specified, it takes precedence.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "FelixHostname",
          "NameEnvVar": "FELIX_FelixHostname",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String matching regex `^[a-zA-Z0-9_.-]+$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9_.-]+$</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "The name of this node, used to identify resources in the datastore that belong to this node.\nAuto-detected from the node's hostname if not provided.",
          "DescriptionHTML": "<p>The name of this node, used to identify resources in the datastore that belong to this node.\nAuto-detected from the node's hostname if not provided.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaAddr",
          "NameEnvVar": "FELIX_TyphaAddr",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String matching regex `^[^:/]+:\\d+$`",
          "StringSchemaHTML": "String matching regex <code>^[^:/]+:\\d+$</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "If set, tells Felix to connect to Typha at the given address and port. Overrides TyphaK8sServiceName.",
          "DescriptionHTML": "<p>If set, tells Felix to connect to Typha at the given address and port. Overrides TyphaK8sServiceName.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaCAFile",
          "NameEnvVar": "FELIX_TyphaCAFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Path to the TLS CA file to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.",
          "DescriptionHTML": "<p>Path to the TLS CA file to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaCN",
          "NameEnvVar": "FELIX_TyphaCN",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Common name to use when authenticating to Typha over TLS. If any TLS parameters are specified then one of\nTyphaCN and TyphaURISAN must be set.",
          "DescriptionHTML": "<p>Common name to use when authenticating to Typha over TLS. If any TLS parameters are specified then one of\nTyphaCN and TyphaURISAN must be set.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaCertFile",
          "NameEnvVar": "FELIX_TyphaCertFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Path to the TLS certificate to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.",
          "DescriptionHTML": "<p>Path to the TLS certificate to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaK8sNamespace",
          "NameEnvVar": "FELIX_TyphaK8sNamespace",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "kube-system",
          "ParsedDefault": "kube-system",
          "ParsedDefaultJSON": "\"kube-system\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Namespace to look in when looking for Typha's service (see TyphaK8sServiceName).",
          "DescriptionHTML": "<p>Namespace to look in when looking for Typha's service (see TyphaK8sServiceName).</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaK8sServiceName",
          "NameEnvVar": "FELIX_TyphaK8sServiceName",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "If set, tells Felix to connect to Typha by looking up the Endpoints of the given Kubernetes\nService in namespace specified by TyphaK8sNamespace.",
          "DescriptionHTML": "<p>If set, tells Felix to connect to Typha by looking up the Endpoints of the given Kubernetes\nService in namespace specified by TyphaK8sNamespace.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaKeyFile",
          "NameEnvVar": "FELIX_TyphaKeyFile",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file, which must exist",
          "StringSchemaHTML": "Path to file, which must exist",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Path to the TLS private key to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.",
          "DescriptionHTML": "<p>Path to the TLS private key to use when communicating with Typha. If this parameter is specified,\nthe other TLS parameters must also be specified.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaReadTimeout",
          "NameEnvVar": "FELIX_TyphaReadTimeout",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "30",
          "ParsedDefault": "30s",
          "ParsedDefaultJSON": "30000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Read timeout when reading from the Typha connection. If typha sends no data for this long,\nFelix will exit and restart. (Note that Typha sends regular pings so traffic is always expected.)",
          "DescriptionHTML": "<p>Read timeout when reading from the Typha connection. If typha sends no data for this long,\nFelix will exit and restart. (Note that Typha sends regular pings so traffic is always expected.)</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaURISAN",
          "NameEnvVar": "FELIX_TyphaURISAN",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "URI SAN to use when authenticating to Typha over TLS. If any TLS parameters are specified then one of\nTyphaCN and TyphaURISAN must be set.",
          "DescriptionHTML": "<p>URI SAN to use when authenticating to Typha over TLS. If any TLS parameters are specified then one of\nTyphaCN and TyphaURISAN must be set.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Datastore connection",
          "GroupWithSortPrefix": "00 Datastore connection",
          "NameConfigFile": "TyphaWriteTimeout",
          "NameEnvVar": "FELIX_TyphaWriteTimeout",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "10",
          "ParsedDefault": "10s",
          "ParsedDefaultJSON": "10000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Write timeout when writing data to Typha.",
          "DescriptionHTML": "<p>Write timeout when writing data to Typha.</p>",
          "UserEditable": true,
          "GoType": ""
        }
      ]
    },
    {
      "Name": "Process: Feature detection/overrides",
      "Fields": [
        {
          "Group": "Process: Feature detection/overrides",
          "GroupWithSortPrefix": "00 Process: Feature detection/overrides",
          "NameConfigFile": "FeatureDetectOverride",
          "NameEnvVar": "FELIX_FeatureDetectOverride",
          "NameYAML": "featureDetectOverride",
          "NameGoAPI": "FeatureDetectOverride",
          "StringSchema": "Comma-delimited list of key=value pairs",
          "StringSchemaHTML": "Comma-delimited list of key=value pairs",
          "StringDefault": "",
          "ParsedDefault": "map[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "map[string]string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^([a-zA-Z0-9-_]+=(true|false|),)*([a-zA-Z0-9-_]+=(true|false|))?$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^([a-zA-Z0-9-_]+=(true|false|),)*([a-zA-Z0-9-_]+=(true|false|))?$</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Used to override feature detection based on auto-detected platform\ncapabilities. Values are specified in a comma separated list with no spaces, example;\n\"SNATFullyRandom=true,MASQFullyRandom=false,RestoreSupportsLock=\". A value of \"true\" or \"false\" will\nforce enable/disable feature, empty or omitted values fall back to auto-detection.",
          "DescriptionHTML": "<p>Used to override feature detection based on auto-detected platform\ncapabilities. Values are specified in a comma separated list with no spaces, example;\n\"SNATFullyRandom=true,MASQFullyRandom=false,RestoreSupportsLock=\". A value of \"true\" or \"false\" will\nforce enable/disable feature, empty or omitted values fall back to auto-detection.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Feature detection/overrides",
          "GroupWithSortPrefix": "00 Process: Feature detection/overrides",
          "NameConfigFile": "FeatureGates",
          "NameEnvVar": "FELIX_FeatureGates",
          "NameYAML": "featureGates",
          "NameGoAPI": "FeatureGates",
          "StringSchema": "Comma-delimited list of key=value pairs",
          "StringSchemaHTML": "Comma-delimited list of key=value pairs",
          "StringDefault": "",
          "ParsedDefault": "map[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "map[string]string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^([a-zA-Z0-9-_]+=([^=]+),)*([a-zA-Z0-9-_]+=([^=]+))?$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^([a-zA-Z0-9-_]+=([^=]+),)*([a-zA-Z0-9-_]+=([^=]+))?$</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Used to enable or disable tech-preview Calico features.\nValues are specified in a comma separated list with no spaces, example;\n\"BPFConnectTimeLoadBalancingWorkaround=enabled,XyZ=false\". This is\nused to enable features that are not fully production ready.",
          "DescriptionHTML": "<p>Used to enable or disable tech-preview Calico features.\nValues are specified in a comma separated list with no spaces, example;\n\"BPFConnectTimeLoadBalancingWorkaround=enabled,XyZ=false\". This is\nused to enable features that are not fully production ready.</p>",
          "UserEditable": true,
          "GoType": "string"
        }
      ]
    },
    {
      "Name": "Process: Go runtime",
      "Fields": [
        {
          "Group": "Process: Go runtime",
          "GroupWithSortPrefix": "00 Process: Go runtime",
          "NameConfigFile": "GoGCThreshold",
          "NameEnvVar": "FELIX_GoGCThreshold",
          "NameYAML": "goGCThreshold",
          "NameGoAPI": "GoGCThreshold",
          "StringSchema": "Integer: [-1,2^63-1]",
          "StringSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "StringDefault": "40",
          "ParsedDefault": "40",
          "ParsedDefaultJSON": "40",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [-1,2^63-1]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "YAMLDefault": "40",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the Go runtime's garbage collection threshold. I.e. the percentage that the heap is\nallowed to grow before garbage collection is triggered. In general, doubling the value halves the CPU time\nspent doing GC, but it also doubles peak GC memory overhead. A special value of -1 can be used\nto disable GC entirely; this should only be used in conjunction with the GoMemoryLimitMB setting.\n\nThis setting is overridden by the GOGC environment variable.",
          "DescriptionHTML": "<p>Sets the Go runtime's garbage collection threshold. I.e. the percentage that the heap is\nallowed to grow before garbage collection is triggered. In general, doubling the value halves the CPU time\nspent doing GC, but it also doubles peak GC memory overhead. A special value of -1 can be used\nto disable GC entirely; this should only be used in conjunction with the GoMemoryLimitMB setting.</p>\n<p>This setting is overridden by the GOGC environment variable.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Process: Go runtime",
          "GroupWithSortPrefix": "00 Process: Go runtime",
          "NameConfigFile": "GoMaxProcs",
          "NameEnvVar": "FELIX_GoMaxProcs",
          "NameYAML": "goMaxProcs",
          "NameGoAPI": "GoMaxProcs",
          "StringSchema": "Integer: [-1,2^63-1]",
          "StringSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "StringDefault": "-1",
          "ParsedDefault": "-1",
          "ParsedDefaultJSON": "-1",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [-1,2^63-1]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "YAMLDefault": "-1",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the maximum number of CPUs that the Go runtime will use concurrently. A value of -1 means\n\"use the system default\"; typically the number of real CPUs on the system.\n\nthis setting is overridden by the GOMAXPROCS environment variable.",
          "DescriptionHTML": "<p>Sets the maximum number of CPUs that the Go runtime will use concurrently. A value of -1 means\n\"use the system default\"; typically the number of real CPUs on the system.</p>\n<p>this setting is overridden by the GOMAXPROCS environment variable.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Process: Go runtime",
          "GroupWithSortPrefix": "00 Process: Go runtime",
          "NameConfigFile": "GoMemoryLimitMB",
          "NameEnvVar": "FELIX_GoMemoryLimitMB",
          "NameYAML": "goMemoryLimitMB",
          "NameGoAPI": "GoMemoryLimitMB",
          "StringSchema": "Integer: [-1,2^63-1]",
          "StringSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "StringDefault": "-1",
          "ParsedDefault": "-1",
          "ParsedDefaultJSON": "-1",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [-1,2^63-1]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [-1,2<sup>63</sup>-1]",
          "YAMLDefault": "-1",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets a (soft) memory limit for the Go runtime in MB. The Go runtime will try to keep its memory\nusage under the limit by triggering GC as needed. To avoid thrashing, it will exceed the limit if GC starts to\ntake more than 50% of the process's CPU time. A value of -1 disables the memory limit.\n\nNote that the memory limit, if used, must be considerably less than any hard resource limit set at the container\nor pod level. This is because felix is not the only process that must run in the container or pod.\n\nThis setting is overridden by the GOMEMLIMIT environment variable.",
          "DescriptionHTML": "<p>Sets a (soft) memory limit for the Go runtime in MB. The Go runtime will try to keep its memory\nusage under the limit by triggering GC as needed. To avoid thrashing, it will exceed the limit if GC starts to\ntake more than 50% of the process's CPU time. A value of -1 disables the memory limit.</p>\n<p>Note that the memory limit, if used, must be considerably less than any hard resource limit set at the container\nor pod level. This is because felix is not the only process that must run in the container or pod.</p>\n<p>This setting is overridden by the GOMEMLIMIT environment variable.</p>",
          "UserEditable": true,
          "GoType": "*int"
        }
      ]
    },
    {
      "Name": "Process: Health port and timeouts",
      "Fields": [
        {
          "Group": "Process: Health port and timeouts",
          "GroupWithSortPrefix": "00 Process: Health port and timeouts",
          "NameConfigFile": "HealthEnabled",
          "NameEnvVar": "FELIX_HealthEnabled",
          "NameYAML": "healthEnabled",
          "NameGoAPI": "HealthEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If set to true, enables Felix's health port, which provides readiness and liveness endpoints.",
          "DescriptionHTML": "<p>If set to true, enables Felix's health port, which provides readiness and liveness endpoints.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Process: Health port and timeouts",
          "GroupWithSortPrefix": "00 Process: Health port and timeouts",
          "NameConfigFile": "HealthHost",
          "NameEnvVar": "FELIX_HealthHost",
          "NameYAML": "healthHost",
          "NameGoAPI": "HealthHost",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,64}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,64}$</code>",
          "StringDefault": "localhost",
          "ParsedDefault": "localhost",
          "ParsedDefaultJSON": "\"localhost\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "localhost",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The host that the health server should bind to.",
          "DescriptionHTML": "<p>The host that the health server should bind to.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Process: Health port and timeouts",
          "GroupWithSortPrefix": "00 Process: Health port and timeouts",
          "NameConfigFile": "HealthPort",
          "NameEnvVar": "FELIX_HealthPort",
          "NameYAML": "healthPort",
          "NameGoAPI": "HealthPort",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "9099",
          "ParsedDefault": "9099",
          "ParsedDefaultJSON": "9099",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "9099",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The TCP port that the health server should bind to.",
          "DescriptionHTML": "<p>The TCP port that the health server should bind to.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Process: Health port and timeouts",
          "GroupWithSortPrefix": "00 Process: Health port and timeouts",
          "NameConfigFile": "HealthTimeoutOverrides",
          "NameEnvVar": "FELIX_HealthTimeoutOverrides",
          "NameYAML": "healthTimeoutOverrides",
          "NameGoAPI": "HealthTimeoutOverrides",
          "StringSchema": "Comma-delimited list of `<key>=<duration>` pairs, where durations use Go's standard format (e.g. 1s, 1m, 1h3m2s)",
          "StringSchemaHTML": "Comma-delimited list of <code>&lt;key&gt;=&lt;duration&gt;</code> pairs, where durations use Go's standard format (e.g. 1s, 1m, 1h3m2s)",
          "StringDefault": "",
          "ParsedDefault": "map[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "map[string]time.Duration",
          "YAMLType": "array",
          "YAMLSchema": "List of health timeout overrides: `[{name: \"<name>\", timeout: \"<duration>\"}, ...]` where `<duration>` is in the Go duration format, for example `1m30s`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of health timeout overrides: <code>[{name: \"&lt;name&gt;\", timeout: \"&lt;duration&gt;\"}, ...]</code> where <code>&lt;duration&gt;</code> is in the Go duration format, for example <code>1m30s</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Allows the internal watchdog timeouts of individual subcomponents to be\noverridden. This is useful for working around \"false positive\" liveness timeouts that can occur\nin particularly stressful workloads or if CPU is constrained. For a list of active\nsubcomponents, see Felix's logs.",
          "DescriptionHTML": "<p>Allows the internal watchdog timeouts of individual subcomponents to be\noverridden. This is useful for working around \"false positive\" liveness timeouts that can occur\nin particularly stressful workloads or if CPU is constrained. For a list of active\nsubcomponents, see Felix's logs.</p>",
          "UserEditable": true,
          "GoType": "[]v3.HealthTimeoutOverride"
        }
      ]
    },
    {
      "Name": "Process: Logging",
      "Fields": [
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogActionRateLimit",
          "NameEnvVar": "FELIX_LogActionRateLimit",
          "NameYAML": "logActionRateLimit",
          "NameGoAPI": "LogActionRateLimit",
          "StringSchema": "String matching regex `^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$`",
          "StringSchemaHTML": "String matching regex <code>^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^[1-9]\\d{0,3}/(?:second|minute|hour|day)$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^[1-9]\\d{0,3}/(?:second|minute|hour|day)$</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the rate of hitting a Log action. The value must be in the format \"N/unit\",\nwhere N is a number and unit is one of: second, minute, hour, or day. For example: \"10/second\" or \"100/hour\".\nWhen LogConnectionTransitions is enabled, this also bounds the follow-up logs: a connection whose\ninitial log was suppressed by this rate limit gets no follow-up log either.",
          "DescriptionHTML": "<p>Sets the rate of hitting a Log action. The value must be in the format \"N/unit\",\nwhere N is a number and unit is one of: second, minute, hour, or day. For example: \"10/second\" or \"100/hour\".\nWhen LogConnectionTransitions is enabled, this also bounds the follow-up logs: a connection whose\ninitial log was suppressed by this rate limit gets no follow-up log either.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogActionRateLimitBurst",
          "NameEnvVar": "FELIX_LogActionRateLimitBurst",
          "NameYAML": "logActionRateLimitBurst",
          "NameGoAPI": "LogActionRateLimitBurst",
          "StringSchema": "Integer: [0,2^63-1], [9999,2^63-1]",
          "StringSchemaHTML": "Integer: [0,2<sup>63</sup>-1], [9999,2<sup>63</sup>-1]",
          "StringDefault": "5",
          "ParsedDefault": "5",
          "ParsedDefaultJSON": "5",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,2^63-1], [9999,2^63-1]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,2<sup>63</sup>-1], [9999,2<sup>63</sup>-1]",
          "YAMLDefault": "5",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the rate limit burst of hitting a Log action when LogActionRateLimit is enabled.",
          "DescriptionHTML": "<p>Sets the rate limit burst of hitting a Log action when LogActionRateLimit is enabled.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogConnectionTransitions",
          "NameEnvVar": "FELIX_LogConnectionTransitions",
          "NameYAML": "logConnectionTransitions",
          "NameGoAPI": "LogConnectionTransitions",
          "StringSchema": "One of: `Disabled`, `FirstResponseAfterLog`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>FirstResponseAfterLog</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"FirstResponseAfterLog\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"FirstResponseAfterLog\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"FirstResponseAfterLog\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix emits an additional kernel log recording the\nfirst observed response for each connection that matched a policy rule with a Log action.\nWhen set to FirstResponseAfterLog, each connection whose initial log was emitted gets one\nfollow-up log, prefixed with LogConnectionTransitionsPrefix plus a suffix identifying the\ntransition: \"-est\" when the first reply packet is seen, \"-rst\" when the response is a TCP\nRST (connection refused), or \"-icmp-err\" when the response is a related ICMP error (e.g.\nport unreachable). The log body is the standard kernel packet log of the response packet.\nFor \"-est\" and \"-rst\" its 5-tuple is the original policy Log line's with source and\ndestination swapped; for \"-icmp-err\" the bracketed inner header carries the original\n5-tuple unswapped. A logged connection with no follow-up log never received a response.\nConnections whose initial log was suppressed by LogActionRateLimit get no follow-up log\neither, so every follow-up log pairs with an initial one. Enabling this consumes one bit\nfrom the Iptables/NftablesMarkMask space. Not supported in eBPF mode.",
          "DescriptionHTML": "<p>Controls whether Felix emits an additional kernel log recording the\nfirst observed response for each connection that matched a policy rule with a Log action.\nWhen set to FirstResponseAfterLog, each connection whose initial log was emitted gets one\nfollow-up log, prefixed with LogConnectionTransitionsPrefix plus a suffix identifying the\ntransition: \"-est\" when the first reply packet is seen, \"-rst\" when the response is a TCP\nRST (connection refused), or \"-icmp-err\" when the response is a related ICMP error (e.g.\nport unreachable). The log body is the standard kernel packet log of the response packet.\nFor \"-est\" and \"-rst\" its 5-tuple is the original policy Log line's with source and\ndestination swapped; for \"-icmp-err\" the bracketed inner header carries the original\n5-tuple unswapped. A logged connection with no follow-up log never received a response.\nConnections whose initial log was suppressed by LogActionRateLimit get no follow-up log\neither, so every follow-up log pairs with an initial one. Enabling this consumes one bit\nfrom the Iptables/NftablesMarkMask space. Not supported in eBPF mode.</p>",
          "UserEditable": true,
          "GoType": "*v3.LogConnectionTransitionsMode"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogConnectionTransitionsPrefix",
          "NameEnvVar": "FELIX_LogConnectionTransitionsPrefix",
          "NameYAML": "logConnectionTransitionsPrefix",
          "NameGoAPI": "LogConnectionTransitionsPrefix",
          "StringSchema": "String matching regex `^[a-zA-Z0-9%: /_-]*$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9%: /_-]*$</code>",
          "StringDefault": "calico-response",
          "ParsedDefault": "calico-response",
          "ParsedDefaultJSON": "\"calico-response\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^([a-zA-Z0-9%: /_-])*$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^([a-zA-Z0-9%: /_-])*$</code>.",
          "YAMLDefault": "calico-response",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The log prefix used for the logs emitted when\nLogConnectionTransitions is enabled; the transition suffix (\"-est\", \"-rst\" or \"-icmp-err\")\nis appended to it. Unlike LogPrefix, it does not support %-specifiers (such as %p): the\nrules that emit these logs are shared by all policies, so per-policy values cannot be\nsubstituted and any %-specifiers are rendered literally.",
          "DescriptionHTML": "<p>The log prefix used for the logs emitted when\nLogConnectionTransitions is enabled; the transition suffix (\"-est\", \"-rst\" or \"-icmp-err\")\nis appended to it. Unlike LogPrefix, it does not support %-specifiers (such as %p): the\nrules that emit these logs are shared by all policies, so per-policy values cannot be\nsubstituted and any %-specifiers are rendered literally.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogDebugFilenameRegex",
          "NameEnvVar": "FELIX_LogDebugFilenameRegex",
          "NameYAML": "logDebugFilenameRegex",
          "NameGoAPI": "LogDebugFilenameRegex",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls which source code files have their Debug log output included in the logs.\nOnly logs from files with names that match the given regular expression are included. The filter only applies\nto Debug level logs.",
          "DescriptionHTML": "<p>Controls which source code files have their Debug log output included in the logs.\nOnly logs from files with names that match the given regular expression are included. The filter only applies\nto Debug level logs.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogFilePath",
          "NameEnvVar": "FELIX_LogFilePath",
          "NameYAML": "logFilePath",
          "NameGoAPI": "LogFilePath",
          "StringSchema": "Path to file",
          "StringSchemaHTML": "Path to file",
          "StringDefault": "/var/log/calico/felix.log",
          "ParsedDefault": "/var/log/calico/felix.log",
          "ParsedDefaultJSON": "\"/var/log/calico/felix.log\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "/var/log/calico/felix.log",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The full path to the Felix log. Set to none to disable file logging.",
          "DescriptionHTML": "<p>The full path to the Felix log. Set to none to disable file logging.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogPrefix",
          "NameEnvVar": "FELIX_LogPrefix",
          "NameYAML": "logPrefix",
          "NameGoAPI": "LogPrefix",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "calico-packet",
          "ParsedDefault": "calico-packet",
          "ParsedDefaultJSON": "\"calico-packet\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^([a-zA-Z0-9%: /_-])*$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^([a-zA-Z0-9%: /_-])*$</code>.",
          "YAMLDefault": "calico-packet",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The log prefix that Felix uses when rendering LOG rules. It is possible to use the following specifiers\nto include extra information in the log prefix.\n- %t: Tier name.\n- %k: Kind (short names).\n- %n: Policy or profile name.\n- %p: Policy or profile name (namespace/name for namespaced kinds or just name for non namespaced kinds).\nCalico includes \": \" characters at the end of the generated log prefix.\nNote that iptables shows up to 29 characters for the log prefix and nftables up to 127 characters. Extra characters are truncated.",
          "DescriptionHTML": "<p>The log prefix that Felix uses when rendering LOG rules. It is possible to use the following specifiers\nto include extra information in the log prefix.\n- %t: Tier name.\n- %k: Kind (short names).\n- %n: Policy or profile name.\n- %p: Policy or profile name (namespace/name for namespaced kinds or just name for non namespaced kinds).\nCalico includes \": \" characters at the end of the generated log prefix.\nNote that iptables shows up to 29 characters for the log prefix and nftables up to 127 characters. Extra characters are truncated.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogSeverityFile",
          "NameEnvVar": "FELIX_LogSeverityFile",
          "NameYAML": "logSeverityFile",
          "NameGoAPI": "LogSeverityFile",
          "StringSchema": "One of: `DEBUG`, `ERROR`, `FATAL`, `INFO`, `TRACE`, `WARNING`",
          "StringSchemaHTML": "One of: <code>DEBUG</code>, <code>ERROR</code>, <code>FATAL</code>, <code>INFO</code>, <code>TRACE</code>, <code>WARNING</code>",
          "StringDefault": "INFO",
          "ParsedDefault": "INFO",
          "ParsedDefaultJSON": "\"INFO\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Debug`, `Error`, `Fatal`, `Info`, `Trace`, `Warning`.",
          "YAMLEnumValues": [
            "Debug",
            "Error",
            "Fatal",
            "Info",
            "Trace",
            "Warning"
          ],
          "YAMLSchemaHTML": "One of: <code>Debug</code>, <code>Error</code>, <code>Fatal</code>, <code>Info</code>, <code>Trace</code>, <code>Warning</code>.",
          "YAMLDefault": "Info",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The log severity above which logs are sent to the log file.",
          "DescriptionHTML": "<p>The log severity above which logs are sent to the log file.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogSeverityScreen",
          "NameEnvVar": "FELIX_LogSeverityScreen",
          "NameYAML": "logSeverityScreen",
          "NameGoAPI": "LogSeverityScreen",
          "StringSchema": "One of: `DEBUG`, `ERROR`, `FATAL`, `INFO`, `TRACE`, `WARNING`",
          "StringSchemaHTML": "One of: <code>DEBUG</code>, <code>ERROR</code>, <code>FATAL</code>, <code>INFO</code>, <code>TRACE</code>, <code>WARNING</code>",
          "StringDefault": "INFO",
          "ParsedDefault": "INFO",
          "ParsedDefaultJSON": "\"INFO\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Debug`, `Error`, `Fatal`, `Info`, `Trace`, `Warning`.",
          "YAMLEnumValues": [
            "Debug",
            "Error",
            "Fatal",
            "Info",
            "Trace",
            "Warning"
          ],
          "YAMLSchemaHTML": "One of: <code>Debug</code>, <code>Error</code>, <code>Fatal</code>, <code>Info</code>, <code>Trace</code>, <code>Warning</code>.",
          "YAMLDefault": "Info",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The log severity above which logs are sent to the stdout.",
          "DescriptionHTML": "<p>The log severity above which logs are sent to the stdout.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Logging",
          "GroupWithSortPrefix": "00 Process: Logging",
          "NameConfigFile": "LogSeveritySys",
          "NameEnvVar": "FELIX_LogSeveritySys",
          "NameYAML": "logSeveritySys",
          "NameGoAPI": "LogSeveritySys",
          "StringSchema": "One of: `DEBUG`, `ERROR`, `FATAL`, `INFO`, `TRACE`, `WARNING`",
          "StringSchemaHTML": "One of: <code>DEBUG</code>, <code>ERROR</code>, <code>FATAL</code>, <code>INFO</code>, <code>TRACE</code>, <code>WARNING</code>",
          "StringDefault": "INFO",
          "ParsedDefault": "INFO",
          "ParsedDefaultJSON": "\"INFO\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Debug`, `Error`, `Fatal`, `Info`, `Trace`, `Warning`.",
          "YAMLEnumValues": [
            "Debug",
            "Error",
            "Fatal",
            "Info",
            "Trace",
            "Warning"
          ],
          "YAMLSchemaHTML": "One of: <code>Debug</code>, <code>Error</code>, <code>Fatal</code>, <code>Info</code>, <code>Trace</code>, <code>Warning</code>.",
          "YAMLDefault": "Info",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The log severity above which logs are sent to the syslog. Set to None for no logging to syslog.",
          "DescriptionHTML": "<p>The log severity above which logs are sent to the syslog. Set to None for no logging to syslog.</p>",
          "UserEditable": true,
          "GoType": "string"
        }
      ]
    },
    {
      "Name": "Process: Prometheus metrics",
      "Fields": [
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusGoMetricsEnabled",
          "NameEnvVar": "FELIX_PrometheusGoMetricsEnabled",
          "NameYAML": "prometheusGoMetricsEnabled",
          "NameGoAPI": "PrometheusGoMetricsEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Disables Go runtime metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.",
          "DescriptionHTML": "<p>Disables Go runtime metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsCAFile",
          "NameEnvVar": "FELIX_PrometheusMetricsCAFile",
          "NameYAML": "prometheusMetricsCAFile",
          "NameGoAPI": "PrometheusMetricsCAFile",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Defines the absolute path to the TLS CA certificate file used for securing the /metrics endpoint.\nThis certificate must be valid and accessible by the calico-node process.",
          "DescriptionHTML": "<p>Defines the absolute path to the TLS CA certificate file used for securing the /metrics endpoint.\nThis certificate must be valid and accessible by the calico-node process.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsCertFile",
          "NameEnvVar": "FELIX_PrometheusMetricsCertFile",
          "NameYAML": "prometheusMetricsCertFile",
          "NameGoAPI": "PrometheusMetricsCertFile",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Defines the absolute path to the TLS certificate file used for securing the /metrics endpoint.\nThis certificate must be valid and accessible by the calico-node process.",
          "DescriptionHTML": "<p>Defines the absolute path to the TLS certificate file used for securing the /metrics endpoint.\nThis certificate must be valid and accessible by the calico-node process.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsClientAuth",
          "NameEnvVar": "FELIX_PrometheusMetricsClientAuth",
          "NameYAML": "prometheusMetricsClientAuth",
          "NameGoAPI": "PrometheusMetricsClientAuth",
          "StringSchema": "One of: `NoClientCert`, `RequireAndVerifyClientCert`, `RequireAnyClientCert`, `VerifyClientCertIfGiven`",
          "StringSchemaHTML": "One of: <code>NoClientCert</code>, <code>RequireAndVerifyClientCert</code>, <code>RequireAnyClientCert</code>, <code>VerifyClientCertIfGiven</code>",
          "StringDefault": "NoClientCert",
          "ParsedDefault": "NoClientCert",
          "ParsedDefaultJSON": "\"NoClientCert\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"NoClientCert\"`, `\"RequireAndVerifyClientCert\"`, `\"RequireAnyClientCert\"`, `\"VerifyClientCertIfGiven\"`.",
          "YAMLEnumValues": [
            "`\"NoClientCert\"`",
            "`\"RequireAndVerifyClientCert\"`",
            "`\"RequireAnyClientCert\"`",
            "`\"VerifyClientCertIfGiven\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"NoClientCert\"</code>, <code>\"RequireAndVerifyClientCert\"</code>, <code>\"RequireAnyClientCert\"</code>, <code>\"VerifyClientCertIfGiven\"</code>.",
          "YAMLDefault": "NoClientCert",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies the client authentication type for the /metrics endpoint.\nThis determines how the server validates client certificates. Default is \"NoClientCert\".",
          "DescriptionHTML": "<p>Specifies the client authentication type for the /metrics endpoint.\nThis determines how the server validates client certificates. Default is \"NoClientCert\".</p>",
          "UserEditable": true,
          "GoType": "*v3.PrometheusMetricsClientAuthType"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsEnabled",
          "NameEnvVar": "FELIX_PrometheusMetricsEnabled",
          "NameYAML": "prometheusMetricsEnabled",
          "NameGoAPI": "PrometheusMetricsEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Enables the Prometheus metrics server in Felix if set to true.",
          "DescriptionHTML": "<p>Enables the Prometheus metrics server in Felix if set to true.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsHost",
          "NameEnvVar": "FELIX_PrometheusMetricsHost",
          "NameYAML": "prometheusMetricsHost",
          "NameGoAPI": "PrometheusMetricsHost",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,64}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,64}$</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The host that the Prometheus metrics server should bind to.",
          "DescriptionHTML": "<p>The host that the Prometheus metrics server should bind to.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsKeyFile",
          "NameEnvVar": "FELIX_PrometheusMetricsKeyFile",
          "NameYAML": "prometheusMetricsKeyFile",
          "NameGoAPI": "PrometheusMetricsKeyFile",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Defines the absolute path to the private key file corresponding to the TLS certificate\nused for securing the /metrics endpoint. The private key must be valid and accessible by the calico-node process.",
          "DescriptionHTML": "<p>Defines the absolute path to the private key file corresponding to the TLS certificate\nused for securing the /metrics endpoint. The private key must be valid and accessible by the calico-node process.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusMetricsPort",
          "NameEnvVar": "FELIX_PrometheusMetricsPort",
          "NameYAML": "prometheusMetricsPort",
          "NameGoAPI": "PrometheusMetricsPort",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "9091",
          "ParsedDefault": "9091",
          "ParsedDefaultJSON": "9091",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "9091",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The TCP port that the Prometheus metrics server should bind to.",
          "DescriptionHTML": "<p>The TCP port that the Prometheus metrics server should bind to.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusProcessMetricsEnabled",
          "NameEnvVar": "FELIX_PrometheusProcessMetricsEnabled",
          "NameYAML": "prometheusProcessMetricsEnabled",
          "NameGoAPI": "PrometheusProcessMetricsEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Disables process metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.",
          "DescriptionHTML": "<p>Disables process metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Process: Prometheus metrics",
          "GroupWithSortPrefix": "00 Process: Prometheus metrics",
          "NameConfigFile": "PrometheusWireGuardMetricsEnabled",
          "NameEnvVar": "FELIX_PrometheusWireGuardMetricsEnabled",
          "NameYAML": "prometheusWireGuardMetricsEnabled",
          "NameGoAPI": "PrometheusWireGuardMetricsEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Disables wireguard metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.",
          "DescriptionHTML": "<p>Disables wireguard metrics collection, which the Prometheus client does by default, when\nset to false. This reduces the number of metrics reported, reducing Prometheus load.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        }
      ]
    },
    {
      "Name": "Dataplane: Common",
      "Fields": [
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "AllowIPIPPacketsFromWorkloads",
          "NameEnvVar": "FELIX_AllowIPIPPacketsFromWorkloads",
          "NameYAML": "allowIPIPPacketsFromWorkloads",
          "NameGoAPI": "AllowIPIPPacketsFromWorkloads",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix will add a rule to drop IPIP encapsulated traffic\nfrom workloads.",
          "DescriptionHTML": "<p>Controls whether Felix will add a rule to drop IPIP encapsulated traffic\nfrom workloads.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "AllowVXLANPacketsFromWorkloads",
          "NameEnvVar": "FELIX_AllowVXLANPacketsFromWorkloads",
          "NameYAML": "allowVXLANPacketsFromWorkloads",
          "NameGoAPI": "AllowVXLANPacketsFromWorkloads",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix will add a rule to drop VXLAN encapsulated traffic\nfrom workloads.",
          "DescriptionHTML": "<p>Controls whether Felix will add a rule to drop VXLAN encapsulated traffic\nfrom workloads.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "CgroupV2Path",
          "NameEnvVar": "FELIX_CgroupV2Path",
          "NameYAML": "cgroupV2Path",
          "NameGoAPI": "CgroupV2Path",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Overrides the default location where to find the cgroup hierarchy.",
          "DescriptionHTML": "<p>Overrides the default location where to find the cgroup hierarchy.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "ChainInsertMode",
          "NameEnvVar": "FELIX_ChainInsertMode",
          "NameYAML": "chainInsertMode",
          "NameGoAPI": "ChainInsertMode",
          "StringSchema": "One of: `append`, `insert`",
          "StringSchemaHTML": "One of: <code>append</code>, <code>insert</code>",
          "StringDefault": "insert",
          "ParsedDefault": "insert",
          "ParsedDefaultJSON": "\"insert\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Append`, `Insert`.",
          "YAMLEnumValues": [
            "Append",
            "Insert"
          ],
          "YAMLSchemaHTML": "One of: <code>Append</code>, <code>Insert</code>.",
          "YAMLDefault": "Insert",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix hooks the kernel's top-level iptables chains by inserting a rule\nat the top of the chain or by appending a rule at the bottom. insert is the safe default since it prevents\nCalico's rules from being bypassed. If you switch to append mode, be sure that the other rules in the chains\nsignal acceptance by falling through to the Calico rules, otherwise the Calico policy will be bypassed.",
          "DescriptionHTML": "<p>Controls whether Felix hooks the kernel's top-level iptables chains by inserting a rule\nat the top of the chain or by appending a rule at the bottom. insert is the safe default since it prevents\nCalico's rules from being bypassed. If you switch to append mode, be sure that the other rules in the chains\nsignal acceptance by falling through to the Calico rules, otherwise the Calico policy will be bypassed.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DataplaneDriver",
          "NameEnvVar": "FELIX_DataplaneDriver",
          "NameYAML": "dataplaneDriver",
          "NameGoAPI": "DataplaneDriver",
          "StringSchema": "Path to executable, which must exist. If not an absolute path, the directory containing this binary and the system path will be searched.",
          "StringSchemaHTML": "Path to executable, which must exist. If not an absolute path, the directory containing this binary and the system path will be searched.",
          "StringDefault": "calico-iptables-plugin",
          "ParsedDefault": "calico-iptables-plugin",
          "ParsedDefaultJSON": "\"calico-iptables-plugin\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "calico-iptables-plugin",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Filename of the external dataplane driver to use. Only used if UseInternalDataplaneDriver\nis set to false.",
          "DescriptionHTML": "<p>Filename of the external dataplane driver to use. Only used if UseInternalDataplaneDriver\nis set to false.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DataplaneWatchdogTimeout",
          "NameEnvVar": "FELIX_DataplaneWatchdogTimeout",
          "NameYAML": "dataplaneWatchdogTimeout",
          "NameGoAPI": "DataplaneWatchdogTimeout",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The readiness/liveness timeout used for Felix's (internal) dataplane driver.\nDeprecated: replaced by the generic HealthTimeoutOverrides.",
          "DescriptionHTML": "<p>The readiness/liveness timeout used for Felix's (internal) dataplane driver.\nDeprecated: replaced by the generic HealthTimeoutOverrides.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DefaultEndpointToHostAction",
          "NameEnvVar": "FELIX_DefaultEndpointToHostAction",
          "NameYAML": "defaultEndpointToHostAction",
          "NameGoAPI": "DefaultEndpointToHostAction",
          "StringSchema": "One of: `ACCEPT`, `DROP`, `RETURN`",
          "StringSchemaHTML": "One of: <code>ACCEPT</code>, <code>DROP</code>, <code>RETURN</code>",
          "StringDefault": "DROP",
          "ParsedDefault": "DROP",
          "ParsedDefaultJSON": "\"DROP\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Accept`, `Drop`, `Return`.",
          "YAMLEnumValues": [
            "Accept",
            "Drop",
            "Return"
          ],
          "YAMLSchemaHTML": "One of: <code>Accept</code>, <code>Drop</code>, <code>Return</code>.",
          "YAMLDefault": "Drop",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls what happens to traffic that goes from a workload endpoint to the host\nitself (after the endpoint's egress policy is applied). By default, Calico blocks traffic from workload\nendpoints to the host itself with an iptables \"DROP\" action. If you want to allow some or all traffic from\nendpoint to host, set this parameter to RETURN or ACCEPT. Use RETURN if you have your own rules in the iptables\n\"INPUT\" chain; Calico will insert its rules at the top of that chain, then \"RETURN\" packets to the \"INPUT\" chain\nonce it has completed processing workload endpoint egress policy. Use ACCEPT to unconditionally accept packets\nfrom workloads after processing workload endpoint egress policy.",
          "DescriptionHTML": "<p>Controls what happens to traffic that goes from a workload endpoint to the host\nitself (after the endpoint's egress policy is applied). By default, Calico blocks traffic from workload\nendpoints to the host itself with an iptables \"DROP\" action. If you want to allow some or all traffic from\nendpoint to host, set this parameter to RETURN or ACCEPT. Use RETURN if you have your own rules in the iptables\n\"INPUT\" chain; Calico will insert its rules at the top of that chain, then \"RETURN\" packets to the \"INPUT\" chain\nonce it has completed processing workload endpoint egress policy. Use ACCEPT to unconditionally accept packets\nfrom workloads after processing workload endpoint egress policy.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DeviceRouteProtocol",
          "NameEnvVar": "FELIX_DeviceRouteProtocol",
          "NameYAML": "deviceRouteProtocol",
          "NameGoAPI": "DeviceRouteProtocol",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "3",
          "ParsedDefault": "3",
          "ParsedDefaultJSON": "3",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "3",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the protocol to set on routes programmed by Felix. The protocol is an 8-bit label\nused to identify the owner of the route.",
          "DescriptionHTML": "<p>Controls the protocol to set on routes programmed by Felix. The protocol is an 8-bit label\nused to identify the owner of the route.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DeviceRouteSourceAddress",
          "NameEnvVar": "FELIX_DeviceRouteSourceAddress",
          "NameYAML": "deviceRouteSourceAddress",
          "NameGoAPI": "DeviceRouteSourceAddress",
          "StringSchema": "IPv4 address",
          "StringSchemaHTML": "IPv4 address",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "net.IP",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "IPv4 address to set as the source hint for routes programmed by Felix. When not set\nthe source address for local traffic from host to workload will be determined by the kernel.",
          "DescriptionHTML": "<p>IPv4 address to set as the source hint for routes programmed by Felix. When not set\nthe source address for local traffic from host to workload will be determined by the kernel.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DeviceRouteSourceAddressIPv6",
          "NameEnvVar": "FELIX_DeviceRouteSourceAddressIPv6",
          "NameYAML": "deviceRouteSourceAddressIPv6",
          "NameGoAPI": "DeviceRouteSourceAddressIPv6",
          "StringSchema": "IPv6 address",
          "StringSchemaHTML": "IPv6 address",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "net.IP",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "IPv6 address to set as the source hint for routes programmed by Felix. When not set\nthe source address for local traffic from host to workload will be determined by the kernel.",
          "DescriptionHTML": "<p>IPv6 address to set as the source hint for routes programmed by Felix. When not set\nthe source address for local traffic from host to workload will be determined by the kernel.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "DisableConntrackInvalidCheck",
          "NameEnvVar": "FELIX_DisableConntrackInvalidCheck",
          "NameYAML": "disableConntrackInvalidCheck",
          "NameGoAPI": "DisableConntrackInvalidCheck",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Disables the check for invalid connections in conntrack. While the conntrack\ninvalid check helps to detect malicious traffic, it can also cause issues with certain multi-NIC scenarios.",
          "DescriptionHTML": "<p>Disables the check for invalid connections in conntrack. While the conntrack\ninvalid check helps to detect malicious traffic, it can also cause issues with certain multi-NIC scenarios.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "EndpointStatusPathPrefix",
          "NameEnvVar": "FELIX_EndpointStatusPathPrefix",
          "NameYAML": "endpointStatusPathPrefix",
          "NameGoAPI": "EndpointStatusPathPrefix",
          "StringSchema": "Path to file",
          "StringSchemaHTML": "Path to file",
          "StringDefault": "/var/run/calico",
          "ParsedDefault": "/var/run/calico",
          "ParsedDefaultJSON": "\"/var/run/calico\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "/var/run/calico",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The path to the directory where endpoint status will be written. Endpoint status\nfile reporting is disabled if field is left empty.\n\nChosen directory should match the directory used by the CNI plugin for PodStartupDelay.",
          "DescriptionHTML": "<p>The path to the directory where endpoint status will be written. Endpoint status\nfile reporting is disabled if field is left empty.</p>\n<p>Chosen directory should match the directory used by the CNI plugin for PodStartupDelay.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "ExternalNodesCIDRList",
          "NameEnvVar": "FELIX_ExternalNodesCIDRList",
          "NameYAML": "externalNodesList",
          "NameGoAPI": "ExternalNodesCIDRList",
          "StringSchema": "Comma-delimited list of CIDRs",
          "StringSchemaHTML": "Comma-delimited list of CIDRs",
          "StringDefault": "",
          "ParsedDefault": "[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "[]string",
          "YAMLType": "array",
          "YAMLSchema": "List of strings: `[\"<string>\", ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of strings: <code>[\"&lt;string&gt;\", ...]</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "A list of CIDR's of external, non-Calico nodes from which VXLAN/IPIP overlay traffic\nwill be allowed. By default, external tunneled traffic is blocked to reduce attack surface.\nEntries must be IPv4 CIDRs or IPv4 addresses.",
          "DescriptionHTML": "<p>A list of CIDR's of external, non-Calico nodes from which VXLAN/IPIP overlay traffic\nwill be allowed. By default, external tunneled traffic is blocked to reduce attack surface.\nEntries must be IPv4 CIDRs or IPv4 addresses.</p>",
          "UserEditable": true,
          "GoType": "*[]string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "FailsafeInboundHostPorts",
          "NameEnvVar": "FELIX_FailsafeInboundHostPorts",
          "NameYAML": "failsafeInboundHostPorts",
          "NameGoAPI": "FailsafeInboundHostPorts",
          "StringSchema": "Comma-delimited list of numeric ports with optional protocol and CIDR:`(tcp|udp):<cidr>:<port>`, `(tcp|udp):<port>` or `<port>`. IPv6 CIDRs must be enclosed in square brackets.",
          "StringSchemaHTML": "Comma-delimited list of numeric ports with optional protocol and CIDR:<code>(tcp|udp):&lt;cidr&gt;:&lt;port&gt;</code>, <code>(tcp|udp):&lt;port&gt;</code> or <code>&lt;port&gt;</code>. IPv6 CIDRs must be enclosed in square brackets.",
          "StringDefault": "tcp:22,udp:68,tcp:179,tcp:2379,tcp:2380,tcp:5473,tcp:6443,tcp:6666,tcp:6667",
          "ParsedDefault": "[{tcp 22 } {udp 68 } {tcp 179 } {tcp 2379 } {tcp 2380 } {tcp 5473 } {tcp 6443 } {tcp 6666 } {tcp 6667 }]",
          "ParsedDefaultJSON": "[{\"protocol\":\"tcp\",\"port\":22},{\"protocol\":\"udp\",\"port\":68},{\"protocol\":\"tcp\",\"port\":179},{\"protocol\":\"tcp\",\"port\":2379},{\"protocol\":\"tcp\",\"port\":2380},{\"protocol\":\"tcp\",\"port\":5473},{\"protocol\":\"tcp\",\"port\":6443},{\"protocol\":\"tcp\",\"port\":6666},{\"protocol\":\"tcp\",\"port\":6667}]",
          "ParsedType": "[]v3.ProtoPort",
          "YAMLType": "array",
          "YAMLSchema": "List of protocol/port objects with optional CIDR match: `[{protocol: \"TCP|UDP\", port: <port>, net: \"<cidr>\"}, ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of protocol/port objects with optional CIDR match: <code>[{protocol: \"TCP|UDP\", port: &lt;port&gt;, net: \"&lt;cidr&gt;\"}, ...]</code>.",
          "YAMLDefault": "[{\"protocol\":\"tcp\",\"port\":22},{\"protocol\":\"udp\",\"port\":68},{\"protocol\":\"tcp\",\"port\":179},{\"protocol\":\"tcp\",\"port\":2379},{\"protocol\":\"tcp\",\"port\":2380},{\"protocol\":\"tcp\",\"port\":5473},{\"protocol\":\"tcp\",\"port\":6443},{\"protocol\":\"tcp\",\"port\":6666},{\"protocol\":\"tcp\",\"port\":6667}]",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "A list of ProtoPort struct objects including UDP/TCP/SCTP ports and CIDRs that Felix will\nallow incoming traffic to host endpoints on irrespective of the security policy. This is useful to avoid accidentally\ncutting off a host with incorrect configuration. For backwards compatibility, if the protocol is not specified,\nit defaults to \"tcp\". If a CIDR is not specified, it will allow traffic from all addresses. To disable all inbound host ports,\nuse the value \"[]\". The default value allows ssh access, DHCP, BGP, etcd and the Kubernetes API.",
          "DescriptionHTML": "<p>A list of ProtoPort struct objects including UDP/TCP/SCTP ports and CIDRs that Felix will\nallow incoming traffic to host endpoints on irrespective of the security policy. This is useful to avoid accidentally\ncutting off a host with incorrect configuration. For backwards compatibility, if the protocol is not specified,\nit defaults to \"tcp\". If a CIDR is not specified, it will allow traffic from all addresses. To disable all inbound host ports,\nuse the value \"[]\". The default value allows ssh access, DHCP, BGP, etcd and the Kubernetes API.</p>",
          "UserEditable": true,
          "GoType": "*[]v3.ProtoPort"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "FailsafeOutboundHostPorts",
          "NameEnvVar": "FELIX_FailsafeOutboundHostPorts",
          "NameYAML": "failsafeOutboundHostPorts",
          "NameGoAPI": "FailsafeOutboundHostPorts",
          "StringSchema": "Comma-delimited list of numeric ports with optional protocol and CIDR:`(tcp|udp):<cidr>:<port>`, `(tcp|udp):<port>` or `<port>`. IPv6 CIDRs must be enclosed in square brackets.",
          "StringSchemaHTML": "Comma-delimited list of numeric ports with optional protocol and CIDR:<code>(tcp|udp):&lt;cidr&gt;:&lt;port&gt;</code>, <code>(tcp|udp):&lt;port&gt;</code> or <code>&lt;port&gt;</code>. IPv6 CIDRs must be enclosed in square brackets.",
          "StringDefault": "udp:53,udp:67,tcp:179,tcp:2379,tcp:2380,tcp:5473,tcp:6443,tcp:6666,tcp:6667",
          "ParsedDefault": "[{udp 53 } {udp 67 } {tcp 179 } {tcp 2379 } {tcp 2380 } {tcp 5473 } {tcp 6443 } {tcp 6666 } {tcp 6667 }]",
          "ParsedDefaultJSON": "[{\"protocol\":\"udp\",\"port\":53},{\"protocol\":\"udp\",\"port\":67},{\"protocol\":\"tcp\",\"port\":179},{\"protocol\":\"tcp\",\"port\":2379},{\"protocol\":\"tcp\",\"port\":2380},{\"protocol\":\"tcp\",\"port\":5473},{\"protocol\":\"tcp\",\"port\":6443},{\"protocol\":\"tcp\",\"port\":6666},{\"protocol\":\"tcp\",\"port\":6667}]",
          "ParsedType": "[]v3.ProtoPort",
          "YAMLType": "array",
          "YAMLSchema": "List of protocol/port objects with optional CIDR match: `[{protocol: \"TCP|UDP\", port: <port>, net: \"<cidr>\"}, ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of protocol/port objects with optional CIDR match: <code>[{protocol: \"TCP|UDP\", port: &lt;port&gt;, net: \"&lt;cidr&gt;\"}, ...]</code>.",
          "YAMLDefault": "[{\"protocol\":\"udp\",\"port\":53},{\"protocol\":\"udp\",\"port\":67},{\"protocol\":\"tcp\",\"port\":179},{\"protocol\":\"tcp\",\"port\":2379},{\"protocol\":\"tcp\",\"port\":2380},{\"protocol\":\"tcp\",\"port\":5473},{\"protocol\":\"tcp\",\"port\":6443},{\"protocol\":\"tcp\",\"port\":6666},{\"protocol\":\"tcp\",\"port\":6667}]",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "A list of PortProto struct objects including UDP/TCP/SCTP ports and CIDRs that Felix\nwill allow outgoing traffic from host endpoints to irrespective of the security policy. This is useful to avoid accidentally\ncutting off a host with incorrect configuration. For backwards compatibility, if the protocol is not specified, it defaults\nto \"tcp\". If a CIDR is not specified, it will allow traffic from all addresses. To disable all outbound host ports,\nuse the value \"[]\". The default value opens etcd's standard ports to ensure that Felix does not get cut off from etcd\nas well as allowing DHCP, DNS, BGP and the Kubernetes API.",
          "DescriptionHTML": "<p>A list of PortProto struct objects including UDP/TCP/SCTP ports and CIDRs that Felix\nwill allow outgoing traffic from host endpoints to irrespective of the security policy. This is useful to avoid accidentally\ncutting off a host with incorrect configuration. For backwards compatibility, if the protocol is not specified, it defaults\nto \"tcp\". If a CIDR is not specified, it will allow traffic from all addresses. To disable all outbound host ports,\nuse the value \"[]\". The default value opens etcd's standard ports to ensure that Felix does not get cut off from etcd\nas well as allowing DHCP, DNS, BGP and the Kubernetes API.</p>",
          "UserEditable": true,
          "GoType": "*[]v3.ProtoPort"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "FloatingIPs",
          "NameEnvVar": "FELIX_FloatingIPs",
          "NameYAML": "floatingIPs",
          "NameGoAPI": "FloatingIPs",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures whether or not Felix will program non-OpenStack floating IP addresses. (OpenStack-derived\nfloating IPs are always programmed, regardless of this setting.)",
          "DescriptionHTML": "<p>Configures whether or not Felix will program non-OpenStack floating IP addresses. (OpenStack-derived\nfloating IPs are always programmed, regardless of this setting.)</p>",
          "UserEditable": true,
          "GoType": "*v3.FloatingIPType"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IPForwarding",
          "NameEnvVar": "FELIX_IPForwarding",
          "NameYAML": "ipForwarding",
          "NameGoAPI": "IPForwarding",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Enabled",
          "ParsedDefault": "Enabled",
          "ParsedDefaultJSON": "\"Enabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Enabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix sets the host sysctls to enable IP forwarding. IP forwarding is required\nwhen using Calico for workload networking. This should be disabled only on hosts where Calico is used solely for\nhost protection. In BPF mode, due to a kernel interaction, either IPForwarding must be enabled or BPFEnforceRPF\nmust be disabled.",
          "DescriptionHTML": "<p>Controls whether Felix sets the host sysctls to enable IP forwarding. IP forwarding is required\nwhen using Calico for workload networking. This should be disabled only on hosts where Calico is used solely for\nhost protection. In BPF mode, due to a kernel interaction, either IPForwarding must be enabled or BPFEnforceRPF\nmust be disabled.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IPv4ElevatedRoutePriority",
          "NameEnvVar": "FELIX_IPv4ElevatedRoutePriority",
          "NameYAML": "ipv4ElevatedRoutePriority",
          "NameGoAPI": "IPv4ElevatedRoutePriority",
          "StringSchema": "Integer: [1,2147483646]",
          "StringSchemaHTML": "Integer: [1,2147483646]",
          "StringDefault": "512",
          "ParsedDefault": "512",
          "ParsedDefaultJSON": "512",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,2147483646]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,2147483646]",
          "YAMLDefault": "512",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Route Priority value for an elevated priority Calico-programmed IPv4 route. Note, higher\nvalues mean lower priority. Elevated priority is used during VM live migration, and for\noptimal behaviour IPv4ElevatedRoutePriority must be less than IPv4NormalRoutePriority.",
          "DescriptionHTML": "<p>Route Priority value for an elevated priority Calico-programmed IPv4 route. Note, higher\nvalues mean lower priority. Elevated priority is used during VM live migration, and for\noptimal behaviour IPv4ElevatedRoutePriority must be less than IPv4NormalRoutePriority.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IPv4NormalRoutePriority",
          "NameEnvVar": "FELIX_IPv4NormalRoutePriority",
          "NameYAML": "ipv4NormalRoutePriority",
          "NameGoAPI": "IPv4NormalRoutePriority",
          "StringSchema": "Integer: [1,2147483646]",
          "StringSchemaHTML": "Integer: [1,2147483646]",
          "StringDefault": "1024",
          "ParsedDefault": "1024",
          "ParsedDefaultJSON": "1024",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,2147483646]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,2147483646]",
          "YAMLDefault": "1024",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Route Priority value for a normal priority Calico-programmed IPv4 route. Note, higher\nvalues mean lower priority.",
          "DescriptionHTML": "<p>Route Priority value for a normal priority Calico-programmed IPv4 route. Note, higher\nvalues mean lower priority.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IPv6ElevatedRoutePriority",
          "NameEnvVar": "FELIX_IPv6ElevatedRoutePriority",
          "NameYAML": "ipv6ElevatedRoutePriority",
          "NameGoAPI": "IPv6ElevatedRoutePriority",
          "StringSchema": "Integer: [1,2147483646]",
          "StringSchemaHTML": "Integer: [1,2147483646]",
          "StringDefault": "512",
          "ParsedDefault": "512",
          "ParsedDefaultJSON": "512",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,2147483646]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,2147483646]",
          "YAMLDefault": "512",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Route Priority value for an elevated priority Calico-programmed IPv6 route. Note, higher\nvalues mean lower priority. Elevated priority is used during VM live migration, and for\noptimal behaviour IPv6ElevatedRoutePriority must be less than IPv6NormalRoutePriority.",
          "DescriptionHTML": "<p>Route Priority value for an elevated priority Calico-programmed IPv6 route. Note, higher\nvalues mean lower priority. Elevated priority is used during VM live migration, and for\noptimal behaviour IPv6ElevatedRoutePriority must be less than IPv6NormalRoutePriority.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IPv6NormalRoutePriority",
          "NameEnvVar": "FELIX_IPv6NormalRoutePriority",
          "NameYAML": "ipv6NormalRoutePriority",
          "NameGoAPI": "IPv6NormalRoutePriority",
          "StringSchema": "Integer: [1,2147483646]",
          "StringSchemaHTML": "Integer: [1,2147483646]",
          "StringDefault": "1024",
          "ParsedDefault": "1024",
          "ParsedDefaultJSON": "1024",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,2147483646]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,2147483646]",
          "YAMLDefault": "1024",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Route Priority value for a normal priority Calico-programmed IPv6 route. Note, higher\nvalues mean lower priority.",
          "DescriptionHTML": "<p>Route Priority value for a normal priority Calico-programmed IPv6 route. Note, higher\nvalues mean lower priority.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "InterfaceExclude",
          "NameEnvVar": "FELIX_InterfaceExclude",
          "NameYAML": "interfaceExclude",
          "NameGoAPI": "InterfaceExclude",
          "StringSchema": "Comma-delimited list of Linux interface names/regex patterns. Regex patterns must start/end with `/`.",
          "StringSchemaHTML": "Comma-delimited list of Linux interface names/regex patterns. Regex patterns must start/end with <code>/</code>.",
          "StringDefault": "kube-ipvs0",
          "ParsedDefault": "[^kube-ipvs0$]",
          "ParsedDefaultJSON": "[\"^kube-ipvs0$\"]",
          "ParsedType": "[]*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "kube-ipvs0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A comma-separated list of interface names that should be excluded when Felix is resolving\nhost endpoints. The default value ensures that Felix ignores Kubernetes' internal `kube-ipvs0` device. If you\nwant to exclude multiple interface names using a single value, the list supports regular expressions. For\nregular expressions you must wrap the value with `/`. For example having values `/^kube/,veth1` will exclude\nall interfaces that begin with `kube` and also the interface `veth1`.",
          "DescriptionHTML": "<p>A comma-separated list of interface names that should be excluded when Felix is resolving\nhost endpoints. The default value ensures that Felix ignores Kubernetes' internal <code>kube-ipvs0</code> device. If you\nwant to exclude multiple interface names using a single value, the list supports regular expressions. For\nregular expressions you must wrap the value with <code>/</code>. For example having values <code>/^kube/,veth1</code> will exclude\nall interfaces that begin with <code>kube</code> and also the interface <code>veth1</code>.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "InterfacePrefix",
          "NameEnvVar": "FELIX_InterfacePrefix",
          "NameYAML": "interfacePrefix",
          "NameGoAPI": "InterfacePrefix",
          "StringSchema": "String matching regex `^[a-zA-Z0-9_-]{1,15}(,[a-zA-Z0-9_-]{1,15})*$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9_-]{1,15}(,[a-zA-Z0-9_-]{1,15})*$</code>",
          "StringDefault": "cali",
          "ParsedDefault": "cali",
          "ParsedDefaultJSON": "\"cali\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "cali",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The interface name prefix that identifies workload endpoints and so distinguishes\nthem from host endpoint interfaces. Note: in environments other than bare metal, the orchestrators\nconfigure this appropriately. For example our Kubernetes and Docker integrations set the 'cali' value,\nand our OpenStack integration sets the 'tap' value.",
          "DescriptionHTML": "<p>The interface name prefix that identifies workload endpoints and so distinguishes\nthem from host endpoint interfaces. Note: in environments other than bare metal, the orchestrators\nconfigure this appropriately. For example our Kubernetes and Docker integrations set the 'cali' value,\nand our OpenStack integration sets the 'tap' value.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "InterfaceRefreshInterval",
          "NameEnvVar": "FELIX_InterfaceRefreshInterval",
          "NameYAML": "interfaceRefreshInterval",
          "NameGoAPI": "InterfaceRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The period at which Felix rescans local interfaces to verify their state.\nThe rescan can be disabled by setting the interval to 0.",
          "DescriptionHTML": "<p>The period at which Felix rescans local interfaces to verify their state.\nThe rescan can be disabled by setting the interval to 0.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "Ipv6Support",
          "NameEnvVar": "FELIX_Ipv6Support",
          "NameYAML": "ipv6Support",
          "NameGoAPI": "IPv6Support",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix enables support for IPv6 (if supported by the in-use dataplane).",
          "DescriptionHTML": "<p>Controls whether Felix enables support for IPv6 (if supported by the in-use dataplane).</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IstioAmbientMode",
          "NameEnvVar": "FELIX_IstioAmbientMode",
          "NameYAML": "istioAmbientMode",
          "NameGoAPI": "IstioAmbientMode",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures Felix to work together with Tigera's Istio distribution.",
          "DescriptionHTML": "<p>Configures Felix to work together with Tigera's Istio distribution.</p>",
          "UserEditable": true,
          "GoType": "*v3.IstioAmbientMode"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "IstioDSCPMark",
          "NameEnvVar": "FELIX_IstioDSCPMark",
          "NameYAML": "istioDSCPMark",
          "NameGoAPI": "IstioDSCPMark",
          "StringSchema": "Numeric value: An integer from 0 to 63, representing the 6-bit DSCP code directly; Named value: A case-insensitive string corresponding to a standardized DSCP name (e.g., \"CS0\", \"AF11\", \"AF21\", \"EF\", etc.) as defined in the IANA registry for Differentiated Services Field Codepoints.",
          "StringSchemaHTML": "Numeric value: An integer from 0 to 63, representing the 6-bit DSCP code directly; Named value: A case-insensitive string corresponding to a standardized DSCP name (e.g., \"CS0\", \"AF11\", \"AF21\", \"EF\", etc.) as defined in the IANA registry for Differentiated Services Field Codepoints.",
          "StringDefault": "23",
          "ParsedDefault": "23",
          "ParsedDefaultJSON": "23",
          "ParsedType": "numorstring.DSCP",
          "YAMLType": "integer or string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the value to use when directing traffic to Istio ZTunnel, when Istio is enabled. The mark is set only on\nSYN packets at the final hop to avoid interference with other protocols. This value is reserved by Calico and must not be used\nwith other Istio installation.",
          "DescriptionHTML": "<p>Sets the value to use when directing traffic to Istio ZTunnel, when Istio is enabled. The mark is set only on\nSYN packets at the final hop to avoid interference with other protocols. This value is reserved by Calico and must not be used\nwith other Istio installation.</p>",
          "UserEditable": true,
          "GoType": "*numorstring.DSCP"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "LiveMigrationRouteConvergenceTime",
          "NameEnvVar": "FELIX_LiveMigrationRouteConvergenceTime",
          "NameYAML": "liveMigrationRouteConvergenceTime",
          "NameGoAPI": "LiveMigrationRouteConvergenceTime",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "30",
          "ParsedDefault": "30s",
          "ParsedDefaultJSON": "30000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The time to keep elevated route priority after a\nVM live migration completes. This allows routes to converge across the cluster before\nreverting to normal priority.",
          "DescriptionHTML": "<p>The time to keep elevated route priority after a\nVM live migration completes. This allows routes to converge across the cluster before\nreverting to normal priority.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "LocalSubnetL2Reachability",
          "NameEnvVar": "FELIX_LocalSubnetL2Reachability",
          "NameYAML": "localSubnetL2Reachability",
          "NameGoAPI": "LocalSubnetL2Reachability",
          "StringSchema": "One of: `Disabled`, `PodsAndLoadBalancers`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>PodsAndLoadBalancers</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"PodsAndLoadBalancers\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"PodsAndLoadBalancers\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"PodsAndLoadBalancers\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix automatically responds to\nARP (IPv4) and NDP (IPv6) requests on host interfaces for local pod IPs and\nselected LoadBalancer VIPs that fall within the same subnet as the host\ninterface. When set to PodsAndLoadBalancers, pods and LB VIPs on the host\nsubnet are reachable from the local L2 segment without BGP.",
          "DescriptionHTML": "<p>Controls whether Felix automatically responds to\nARP (IPv4) and NDP (IPv6) requests on host interfaces for local pod IPs and\nselected LoadBalancer VIPs that fall within the same subnet as the host\ninterface. When set to PodsAndLoadBalancers, pods and LB VIPs on the host\nsubnet are reachable from the local L2 segment without BGP.</p>",
          "UserEditable": true,
          "GoType": "*v3.LocalSubnetL2ReachabilityMode"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "LocalSubnetL2ReachabilityRefreshInterval",
          "NameEnvVar": "FELIX_LocalSubnetL2ReachabilityRefreshInterval",
          "NameYAML": "localSubnetL2ReachabilityRefreshInterval",
          "NameGoAPI": "LocalSubnetL2ReachabilityRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "120",
          "ParsedDefault": "2m0s",
          "ParsedDefaultJSON": "120000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "2m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls how often Felix re-announces\n(gratuitous ARP / unsolicited NA) every IP it proxies ARP/NDP for when\nLocalSubnetL2Reachability is enabled, keeping neighbor caches and switch\nforwarding tables warm even when the set of proxied IPs is unchanged. Set to 0\nto disable periodic re-announcement, leaving only the one-shot announce when an\nIP is added.",
          "DescriptionHTML": "<p>Controls how often Felix re-announces\n(gratuitous ARP / unsolicited NA) every IP it proxies ARP/NDP for when\nLocalSubnetL2Reachability is enabled, keeping neighbor caches and switch\nforwarding tables warm even when the set of proxied IPs is unchanged. Set to 0\nto disable periodic re-announcement, leaving only the one-shot announce when an\nIP is added.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "MTUIfacePattern",
          "NameEnvVar": "FELIX_MTUIfacePattern",
          "NameYAML": "mtuIfacePattern",
          "NameGoAPI": "MTUIfacePattern",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "^((en|wl|ww|sl|ib)[Pcopsvx].*|(eth|wlan|wwan).*)",
          "ParsedDefault": "^((en|wl|ww|sl|ib)[Pcopsvx].*|(eth|wlan|wwan).*)",
          "ParsedDefaultJSON": "\"^((en|wl|ww|sl|ib)[Pcopsvx].*|(eth|wlan|wwan).*)\"",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "^((en|wl|ww|sl|ib)[Pcopsvx].*|(eth|wlan|wwan).*)",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A regular expression that controls which interfaces Felix should scan in order\nto calculate the host's MTU.\nThis should not match workload interfaces (usually named cali...).",
          "DescriptionHTML": "<p>A regular expression that controls which interfaces Felix should scan in order\nto calculate the host's MTU.\nThis should not match workload interfaces (usually named cali...).</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NATOutgoingAddress",
          "NameEnvVar": "FELIX_NATOutgoingAddress",
          "NameYAML": "natOutgoingAddress",
          "NameGoAPI": "NATOutgoingAddress",
          "StringSchema": "IPv4 address",
          "StringSchemaHTML": "IPv4 address",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "net.IP",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies an address to use when performing source NAT for traffic in a natOutgoing pool that\nis leaving the network. By default the address used is an address on the interface the traffic is leaving on\n(i.e. it uses the iptables MASQUERADE target).",
          "DescriptionHTML": "<p>Specifies an address to use when performing source NAT for traffic in a natOutgoing pool that\nis leaving the network. By default the address used is an address on the interface the traffic is leaving on\n(i.e. it uses the iptables MASQUERADE target).</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NATOutgoingExclusions",
          "NameEnvVar": "FELIX_NATOutgoingExclusions",
          "NameYAML": "natOutgoingExclusions",
          "NameGoAPI": "NATOutgoingExclusions",
          "StringSchema": "One of: `IPPoolsAndHostIPs`, `IPPoolsOnly`",
          "StringSchemaHTML": "One of: <code>IPPoolsAndHostIPs</code>, <code>IPPoolsOnly</code>",
          "StringDefault": "IPPoolsOnly",
          "ParsedDefault": "IPPoolsOnly",
          "ParsedDefaultJSON": "\"IPPoolsOnly\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"IPPoolsAndHostIPs\"`, `\"IPPoolsOnly\"`.",
          "YAMLEnumValues": [
            "`\"IPPoolsAndHostIPs\"`",
            "`\"IPPoolsOnly\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"IPPoolsAndHostIPs\"</code>, <code>\"IPPoolsOnly\"</code>.",
          "YAMLDefault": "IPPoolsOnly",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When a IP pool setting `natOutgoing` is true, packets sent from Calico networked containers in this IP pool to destinations will be masqueraded.\nConfigure which type of destinations is excluded from being masqueraded.\n- IPPoolsOnly: destinations outside of this IP pool will be masqueraded.\n- IPPoolsAndHostIPs: destinations outside of this IP pool and all hosts will be masqueraded.",
          "DescriptionHTML": "<p>When a IP pool setting <code>natOutgoing</code> is true, packets sent from Calico networked containers in this IP pool to destinations will be masqueraded.\nConfigure which type of destinations is excluded from being masqueraded.\n- IPPoolsOnly: destinations outside of this IP pool will be masqueraded.\n- IPPoolsAndHostIPs: destinations outside of this IP pool and all hosts will be masqueraded.</p>",
          "UserEditable": true,
          "GoType": "*v3.NATOutgoingExclusionsType"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NATPortRange",
          "NameEnvVar": "FELIX_NATPortRange",
          "NameYAML": "natPortRange",
          "NameGoAPI": "NATPortRange",
          "StringSchema": "Port range: either a single number in [0,65535] or a range of numbers `n:m`",
          "StringSchemaHTML": "Port range: either a single number in [0,65535] or a range of numbers <code>n:m</code>",
          "StringDefault": "",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "numorstring.Port",
          "YAMLType": "integer or string",
          "YAMLSchema": "Port range: either an integer in [0,65535] or a string, representing a range, in format `n:m`",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Port range: either an integer in [0,65535] or a string, representing a range, in format <code>n:m</code>",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies the range of ports that is used for port mapping when doing outgoing NAT. When unset the default behavior of the\nnetwork stack is used.",
          "DescriptionHTML": "<p>Specifies the range of ports that is used for port mapping when doing outgoing NAT. When unset the default behavior of the\nnetwork stack is used.</p>",
          "UserEditable": true,
          "GoType": "*numorstring.Port"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NFTablesFlowTableDataIfacePattern",
          "NameEnvVar": "FELIX_NFTablesFlowTableDataIfacePattern",
          "NameYAML": "nftablesFlowTableDataIfacePattern",
          "NameGoAPI": "NFTablesFlowTableDataIfacePattern",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A regular expression that controls which host\ninterfaces are added to the nftables flowtable, so that traffic forwarded between those\ninterfaces and local workloads is offloaded to the flowtable fast path. Leave empty to\noffload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload\nis not Disabled.",
          "DescriptionHTML": "<p>A regular expression that controls which host\ninterfaces are added to the nftables flowtable, so that traffic forwarded between those\ninterfaces and local workloads is offloaded to the flowtable fast path. Leave empty to\noffload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload\nis not Disabled.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NFTablesFlowTableOffload",
          "NameEnvVar": "FELIX_NFTablesFlowTableOffload",
          "NameYAML": "nftablesFlowTableOffload",
          "NameGoAPI": "NFTablesFlowTableOffload",
          "StringSchema": "One of: `All`, `Disabled`",
          "StringSchemaHTML": "One of: <code>All</code>, <code>Disabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"All\"`, `\"Disabled\"`.",
          "YAMLEnumValues": [
            "`\"All\"`",
            "`\"Disabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"All\"</code>, <code>\"Disabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls which traffic nftables flowtable offload is enabled for,\nfor improved forwarding performance. When set to \"All\", established connections accepted by\nCalico policy are offloaded to the kernel's flowtable fast path. Only applies when\nnftables mode is active.",
          "DescriptionHTML": "<p>Controls which traffic nftables flowtable offload is enabled for,\nfor improved forwarding performance. When set to \"All\", established connections accepted by\nCalico policy are offloaded to the kernel's flowtable fast path. Only applies when\nnftables mode is active.</p>",
          "UserEditable": true,
          "GoType": "*v3.NFTablesFlowTableOffload"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NFTablesMode",
          "NameEnvVar": "FELIX_NFTablesMode",
          "NameYAML": "nftablesMode",
          "NameGoAPI": "NFTablesMode",
          "StringSchema": "One of: `Auto`, `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Auto</code>, <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Auto",
          "ParsedDefault": "Auto",
          "ParsedDefaultJSON": "\"Auto\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Auto\"`, `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Auto\"`",
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Auto\"</code>, <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Auto",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures nftables support in Felix. In Auto mode, Felix uses the\nnftables dataplane if kube-proxy is detected to be running in nftables mode.",
          "DescriptionHTML": "<p>Configures nftables support in Felix. In Auto mode, Felix uses the\nnftables dataplane if kube-proxy is detected to be running in nftables mode.</p>",
          "UserEditable": true,
          "GoType": "*v3.NFTablesMode"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "NetlinkTimeoutSecs",
          "NameEnvVar": "FELIX_NetlinkTimeoutSecs",
          "NameYAML": "netlinkTimeout",
          "NameGoAPI": "NetlinkTimeout",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "10",
          "ParsedDefault": "10s",
          "ParsedDefaultJSON": "10000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "10s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The timeout when talking to the kernel over the netlink protocol, used for programming\nroutes, rules, and other kernel objects.",
          "DescriptionHTML": "<p>The timeout when talking to the kernel over the netlink protocol, used for programming\nroutes, rules, and other kernel objects.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "PolicySyncPathPrefix",
          "NameEnvVar": "FELIX_PolicySyncPathPrefix",
          "NameYAML": "policySyncPathPrefix",
          "NameGoAPI": "PolicySyncPathPrefix",
          "StringSchema": "Path to file",
          "StringSchemaHTML": "Path to file",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Used to by Felix to communicate policy changes to external services,\nlike Application layer policy.",
          "DescriptionHTML": "<p>Used to by Felix to communicate policy changes to external services,\nlike Application layer policy.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "ProgramClusterRoutes",
          "NameEnvVar": "FELIX_ProgramClusterRoutes",
          "NameYAML": "programClusterRoutes",
          "NameGoAPI": "ProgramClusterRoutes",
          "StringSchema": "One of: `Disabled`, `EnabledIPIPOnly`, `EnabledNoEncapOnly`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>EnabledIPIPOnly</code>, <code>EnabledNoEncapOnly</code>, <code>Enabled</code>",
          "StringDefault": "EnabledIPIPOnly",
          "ParsedDefault": "EnabledIPIPOnly",
          "ParsedDefaultJSON": "\"EnabledIPIPOnly\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`, `\"EnabledIPIPOnly\"`, `\"EnabledNoEncapOnly\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`",
            "`\"EnabledIPIPOnly\"`",
            "`\"EnabledNoEncapOnly\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>, <code>\"EnabledIPIPOnly\"</code>, <code>\"EnabledNoEncapOnly\"</code>.",
          "YAMLDefault": "EnabledIPIPOnly",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls which \"cluster routes\" Felix programs, i.e. the routes that\na node needs in order to reach workloads on other nodes. It only applies to IP Pools\nwith vxlanMode: Never; Felix always programs the cluster routes for IP Pools with\nvxlanMode: Always or vxlanMode: CrossSubnet. The routes that Felix does not program here\nare expected to be programmed by Calico's BGP stack instead. Below, an IPIP IP Pool is\none with ipipMode: Always or CrossSubnet, and an unencapsulated one has ipipMode and\nvxlanMode both Never.\n\n- Disabled: Felix programs no cluster routes.\n- EnabledIPIPOnly: Felix programs them for IPIP IP Pools.\n- EnabledNoEncapOnly: Felix programs them for unencapsulated IP Pools.\n- Enabled: Felix programs them for both.\n\nThis field must be kept consistent with BGPConfiguration.ProgramClusterRoutes, which\nmakes the same choice from BIRD's side. If both Felix and BIRD are enabled for the same\nkind of IP Pool they will fight over the routes; if neither is, there will be no cluster\nroutes at all.\n\nNote: leaving the IPIP cluster routes to BGP, which the Disabled and EnabledNoEncapOnly\nvalues do, is deprecated as of v3.33 and will be removed in v3.35.",
          "DescriptionHTML": "<p>Controls which \"cluster routes\" Felix programs, i.e. the routes that\na node needs in order to reach workloads on other nodes. It only applies to IP Pools\nwith vxlanMode: Never; Felix always programs the cluster routes for IP Pools with\nvxlanMode: Always or vxlanMode: CrossSubnet. The routes that Felix does not program here\nare expected to be programmed by Calico's BGP stack instead. Below, an IPIP IP Pool is\none with ipipMode: Always or CrossSubnet, and an unencapsulated one has ipipMode and\nvxlanMode both Never.</p>\n<p>- Disabled: Felix programs no cluster routes.\n- EnabledIPIPOnly: Felix programs them for IPIP IP Pools.\n- EnabledNoEncapOnly: Felix programs them for unencapsulated IP Pools.\n- Enabled: Felix programs them for both.</p>\n<p>This field must be kept consistent with BGPConfiguration.ProgramClusterRoutes, which\nmakes the same choice from BIRD's side. If both Felix and BIRD are enabled for the same\nkind of IP Pool they will fight over the routes; if neither is, there will be no cluster\nroutes at all.</p>\n<p>Note: leaving the IPIP cluster routes to BGP, which the Disabled and EnabledNoEncapOnly\nvalues do, is deprecated as of v3.33 and will be removed in v3.35.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RemoveExternalRoutes",
          "NameEnvVar": "FELIX_RemoveExternalRoutes",
          "NameYAML": "removeExternalRoutes",
          "NameGoAPI": "RemoveExternalRoutes",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix will remove unexpected routes to workload interfaces. Felix will\nalways clean up expected routes that use the configured DeviceRouteProtocol. To add your own routes, you must\nuse a distinct protocol (in addition to setting this field to false).",
          "DescriptionHTML": "<p>Controls whether Felix will remove unexpected routes to workload interfaces. Felix will\nalways clean up expected routes that use the configured DeviceRouteProtocol. To add your own routes, you must\nuse a distinct protocol (in addition to setting this field to false).</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RequireMTUFile",
          "NameEnvVar": "FELIX_RequireMTUFile",
          "NameYAML": "requireMTUFile",
          "NameGoAPI": "RequireMTUFile",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies whether mtu file is required to start the felix.\nOptional as to keep the same as previous behavior.",
          "DescriptionHTML": "<p>Specifies whether mtu file is required to start the felix.\nOptional as to keep the same as previous behavior.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RouteRefreshInterval",
          "NameEnvVar": "FELIX_RouteRefreshInterval",
          "NameYAML": "routeRefreshInterval",
          "NameGoAPI": "RouteRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The period at which Felix re-checks the routes\nin the dataplane to ensure that no other process has accidentally broken Calico's rules.\nSet to 0 to disable route refresh.",
          "DescriptionHTML": "<p>The period at which Felix re-checks the routes\nin the dataplane to ensure that no other process has accidentally broken Calico's rules.\nSet to 0 to disable route refresh.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RouteSource",
          "NameEnvVar": "FELIX_RouteSource",
          "NameYAML": "routeSource",
          "NameGoAPI": "RouteSource",
          "StringSchema": "One of: `CalicoIPAM`, `WorkloadIPs`",
          "StringSchemaHTML": "One of: <code>CalicoIPAM</code>, <code>WorkloadIPs</code>",
          "StringDefault": "CalicoIPAM",
          "ParsedDefault": "CalicoIPAM",
          "ParsedDefaultJSON": "\"CalicoIPAM\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `CalicoIPAM`, `WorkloadIPs`.",
          "YAMLEnumValues": [
            "CalicoIPAM",
            "WorkloadIPs"
          ],
          "YAMLSchemaHTML": "One of: <code>CalicoIPAM</code>, <code>WorkloadIPs</code>.",
          "YAMLDefault": "CalicoIPAM",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures where Felix gets its routing information.\n- WorkloadIPs: use workload endpoints to construct routes.\n- CalicoIPAM: the default - use IPAM data to construct routes.",
          "DescriptionHTML": "<p>Configures where Felix gets its routing information.\n- WorkloadIPs: use workload endpoints to construct routes.\n- CalicoIPAM: the default - use IPAM data to construct routes.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RouteSyncDisabled",
          "NameEnvVar": "FELIX_RouteSyncDisabled",
          "NameYAML": "routeSyncDisabled",
          "NameGoAPI": "RouteSyncDisabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Will disable all operations performed on the route table. Set to true to\nrun in network-policy mode only.",
          "DescriptionHTML": "<p>Will disable all operations performed on the route table. Set to true to\nrun in network-policy mode only.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RouteTableRange",
          "NameEnvVar": "FELIX_RouteTableRange",
          "NameYAML": "routeTableRange",
          "NameGoAPI": "RouteTableRange",
          "StringSchema": "Range of route table indices `n-m`, where `n` and `m` are integers in [0,250].",
          "StringSchemaHTML": "Range of route table indices <code>n-m</code>, where <code>n</code> and <code>m</code> are integers in [0,250].",
          "StringDefault": "",
          "ParsedDefault": "{0 0}",
          "ParsedDefaultJSON": "{\"Min\":0,\"Max\":0}",
          "ParsedType": "idalloc.IndexRange",
          "YAMLType": "object",
          "YAMLSchema": "Route table range: `{min:<n>, max<m>}`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Route table range: <code>{min:&lt;n&gt;, max&lt;m&gt;}</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Deprecated in favor of RouteTableRanges.\nCalico programs additional Linux route tables for various purposes.\nRouteTableRange specifies the indices of the route tables that Calico should use.",
          "DescriptionHTML": "<p>Deprecated in favor of RouteTableRanges.\nCalico programs additional Linux route tables for various purposes.\nRouteTableRange specifies the indices of the route tables that Calico should use.</p>",
          "UserEditable": true,
          "GoType": "*v3.RouteTableRange"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "RouteTableRanges",
          "NameEnvVar": "FELIX_RouteTableRanges",
          "NameYAML": "routeTableRanges",
          "NameGoAPI": "RouteTableRanges",
          "StringSchema": "Comma or space-delimited list of route table ranges of the form `n-m` where `n` and `m` are integers in [0,4294967295]. The sum of the sizes of all ranges may not exceed 65535.",
          "StringSchemaHTML": "Comma or space-delimited list of route table ranges of the form <code>n-m</code> where <code>n</code> and <code>m</code> are integers in [0,4294967295]. The sum of the sizes of all ranges may not exceed 65535.",
          "StringDefault": "",
          "ParsedDefault": "[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "[]idalloc.IndexRange",
          "YAMLType": "array",
          "YAMLSchema": "List of route table ranges: `[{min:<n>, max<m>}, ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of route table ranges: <code>[{min:&lt;n&gt;, max&lt;m&gt;}, ...]</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Calico programs additional Linux route tables for various purposes.\nRouteTableRanges specifies a set of table index ranges that Calico should use.\nDeprecates`RouteTableRange`, overrides `RouteTableRange`. The ranges may cover at most 65535\ntables in total.",
          "DescriptionHTML": "<p>Calico programs additional Linux route tables for various purposes.\nRouteTableRanges specifies a set of table index ranges that Calico should use.\nDeprecates<code>RouteTableRange</code>, overrides <code>RouteTableRange</code>. The ranges may cover at most 65535\ntables in total.</p>",
          "UserEditable": true,
          "GoType": "*v3.RouteTableRanges"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "ServiceLoopPrevention",
          "NameEnvVar": "FELIX_ServiceLoopPrevention",
          "NameYAML": "serviceLoopPrevention",
          "NameGoAPI": "ServiceLoopPrevention",
          "StringSchema": "One of: `Disabled`, `Drop`, `Reject`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Drop</code>, <code>Reject</code>",
          "StringDefault": "Drop",
          "ParsedDefault": "Drop",
          "ParsedDefaultJSON": "\"Drop\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Disabled`, `Drop`, `Reject`.",
          "YAMLEnumValues": [
            "Disabled",
            "Drop",
            "Reject"
          ],
          "YAMLSchemaHTML": "One of: <code>Disabled</code>, <code>Drop</code>, <code>Reject</code>.",
          "YAMLDefault": "Drop",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When service IP advertisement is enabled, prevent routing loops to service IPs that are\nnot in use, by dropping or rejecting packets that do not get DNAT'd by kube-proxy.\nUnless set to \"Disabled\", in which case such routing loops continue to be allowed.",
          "DescriptionHTML": "<p>When service IP advertisement is enabled, prevent routing loops to service IPs that are\nnot in use, by dropping or rejecting packets that do not get DNAT'd by kube-proxy.\nUnless set to \"Disabled\", in which case such routing loops continue to be allowed.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "SidecarAccelerationEnabled",
          "NameEnvVar": "FELIX_SidecarAccelerationEnabled",
          "NameYAML": "sidecarAccelerationEnabled",
          "NameGoAPI": "SidecarAccelerationEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Enables experimental sidecar acceleration.",
          "DescriptionHTML": "<p>Enables experimental sidecar acceleration.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "UseInternalDataplaneDriver",
          "NameEnvVar": "FELIX_UseInternalDataplaneDriver",
          "NameYAML": "useInternalDataplaneDriver",
          "NameGoAPI": "UseInternalDataplaneDriver",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If true, Felix will use its internal dataplane programming logic. If false, it\nwill launch an external dataplane driver and communicate with it over protobuf.",
          "DescriptionHTML": "<p>If true, Felix will use its internal dataplane programming logic. If false, it\nwill launch an external dataplane driver and communicate with it over protobuf.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: Common",
          "GroupWithSortPrefix": "10 Dataplane: Common",
          "NameConfigFile": "WorkloadSourceSpoofing",
          "NameEnvVar": "FELIX_WorkloadSourceSpoofing",
          "NameYAML": "workloadSourceSpoofing",
          "NameGoAPI": "WorkloadSourceSpoofing",
          "StringSchema": "One of: `Any`, `Disabled`",
          "StringSchemaHTML": "One of: <code>Any</code>, <code>Disabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Any`, `Disabled`.",
          "YAMLEnumValues": [
            "Any",
            "Disabled"
          ],
          "YAMLSchemaHTML": "One of: <code>Any</code>, <code>Disabled</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether pods can use the allowedSourcePrefixes annotation to send traffic with a source IP\naddress that is not theirs. This is disabled by default. When set to \"Any\", pods can request any prefix.",
          "DescriptionHTML": "<p>Controls whether pods can use the allowedSourcePrefixes annotation to send traffic with a source IP\naddress that is not theirs. This is disabled by default. When set to \"Any\", pods can request any prefix.</p>",
          "UserEditable": true,
          "GoType": "string"
        }
      ]
    },
    {
      "Name": "Dataplane: iptables",
      "Fields": [
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IpsetsRefreshInterval",
          "NameEnvVar": "FELIX_IpsetsRefreshInterval",
          "NameYAML": "ipsetsRefreshInterval",
          "NameGoAPI": "IpsetsRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the period at which Felix re-checks all IP sets to look for discrepancies.\nSet to 0 to disable the periodic refresh.",
          "DescriptionHTML": "<p>Controls the period at which Felix re-checks all IP sets to look for discrepancies.\nSet to 0 to disable the periodic refresh.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesBackend",
          "NameEnvVar": "FELIX_IptablesBackend",
          "NameYAML": "iptablesBackend",
          "NameGoAPI": "IptablesBackend",
          "StringSchema": "One of: `auto`, `legacy`, `nft`",
          "StringSchemaHTML": "One of: <code>auto</code>, <code>legacy</code>, <code>nft</code>",
          "StringDefault": "auto",
          "ParsedDefault": "auto",
          "ParsedDefaultJSON": "\"auto\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Auto\"`, `\"Legacy\"`, `\"NFT\"`.",
          "YAMLEnumValues": [
            "`\"Auto\"`",
            "`\"Legacy\"`",
            "`\"NFT\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Auto\"</code>, <code>\"Legacy\"</code>, <code>\"NFT\"</code>.",
          "YAMLDefault": "auto",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls which backend of iptables will be used. The default is `Auto`.\n\nWarning: changing this on a running system can leave \"orphaned\" rules in the \"other\" backend. These\nshould be cleaned up to avoid confusing interactions.",
          "DescriptionHTML": "<p>Controls which backend of iptables will be used. The default is <code>Auto</code>.</p>\n<p>Warning: changing this on a running system can leave \"orphaned\" rules in the \"other\" backend. These\nshould be cleaned up to avoid confusing interactions.</p>",
          "UserEditable": true,
          "GoType": "*v3.IptablesBackend"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesFilterAllowAction",
          "NameEnvVar": "FELIX_IptablesFilterAllowAction",
          "NameYAML": "iptablesFilterAllowAction",
          "NameGoAPI": "IptablesFilterAllowAction",
          "StringSchema": "One of: `ACCEPT`, `RETURN`",
          "StringSchemaHTML": "One of: <code>ACCEPT</code>, <code>RETURN</code>",
          "StringDefault": "ACCEPT",
          "ParsedDefault": "ACCEPT",
          "ParsedDefaultJSON": "\"ACCEPT\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Accept`, `Return`.",
          "YAMLEnumValues": [
            "Accept",
            "Return"
          ],
          "YAMLSchemaHTML": "One of: <code>Accept</code>, <code>Return</code>.",
          "YAMLDefault": "Accept",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls what happens to traffic that is accepted by a Felix policy chain in the\niptables filter table (which is used for \"normal\" policy). The default will immediately `Accept` the traffic. Use\n`Return` to send the traffic back up to the system chains for further processing.",
          "DescriptionHTML": "<p>Controls what happens to traffic that is accepted by a Felix policy chain in the\niptables filter table (which is used for \"normal\" policy). The default will immediately <code>Accept</code> the traffic. Use\n<code>Return</code> to send the traffic back up to the system chains for further processing.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesFilterDenyAction",
          "NameEnvVar": "FELIX_IptablesFilterDenyAction",
          "NameYAML": "iptablesFilterDenyAction",
          "NameGoAPI": "IptablesFilterDenyAction",
          "StringSchema": "One of: `DROP`, `REJECT`",
          "StringSchemaHTML": "One of: <code>DROP</code>, <code>REJECT</code>",
          "StringDefault": "DROP",
          "ParsedDefault": "DROP",
          "ParsedDefaultJSON": "\"DROP\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Drop`, `Reject`.",
          "YAMLEnumValues": [
            "Drop",
            "Reject"
          ],
          "YAMLSchemaHTML": "One of: <code>Drop</code>, <code>Reject</code>.",
          "YAMLDefault": "Drop",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls what happens to traffic that is denied by network policy. By default Calico blocks traffic\nwith an iptables \"DROP\" action. If you want to use \"REJECT\" action instead you can configure it in here.",
          "DescriptionHTML": "<p>Controls what happens to traffic that is denied by network policy. By default Calico blocks traffic\nwith an iptables \"DROP\" action. If you want to use \"REJECT\" action instead you can configure it in here.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesLockProbeIntervalMillis",
          "NameEnvVar": "FELIX_IptablesLockProbeIntervalMillis",
          "NameYAML": "iptablesLockProbeInterval",
          "NameGoAPI": "IptablesLockProbeInterval",
          "StringSchema": "Milliseconds (floating point)",
          "StringSchemaHTML": "Milliseconds (floating point)",
          "StringDefault": "50",
          "ParsedDefault": "50ms",
          "ParsedDefaultJSON": "50000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "50ms",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures the interval between attempts to claim\nthe xtables lock. Shorter intervals are more responsive but use more CPU.",
          "DescriptionHTML": "<p>Configures the interval between attempts to claim\nthe xtables lock. Shorter intervals are more responsive but use more CPU.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesMangleAllowAction",
          "NameEnvVar": "FELIX_IptablesMangleAllowAction",
          "NameYAML": "iptablesMangleAllowAction",
          "NameGoAPI": "IptablesMangleAllowAction",
          "StringSchema": "One of: `ACCEPT`, `RETURN`",
          "StringSchemaHTML": "One of: <code>ACCEPT</code>, <code>RETURN</code>",
          "StringDefault": "ACCEPT",
          "ParsedDefault": "ACCEPT",
          "ParsedDefaultJSON": "\"ACCEPT\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Accept`, `Return`.",
          "YAMLEnumValues": [
            "Accept",
            "Return"
          ],
          "YAMLSchemaHTML": "One of: <code>Accept</code>, <code>Return</code>.",
          "YAMLDefault": "Accept",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls what happens to traffic that is accepted by a Felix policy chain in the\niptables mangle table (which is used for \"pre-DNAT\" policy). The default will immediately `Accept` the traffic.\nUse `Return` to send the traffic back up to the system chains for further processing.",
          "DescriptionHTML": "<p>Controls what happens to traffic that is accepted by a Felix policy chain in the\niptables mangle table (which is used for \"pre-DNAT\" policy). The default will immediately <code>Accept</code> the traffic.\nUse <code>Return</code> to send the traffic back up to the system chains for further processing.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesMarkMask",
          "NameEnvVar": "FELIX_IptablesMarkMask",
          "NameYAML": "iptablesMarkMask",
          "NameGoAPI": "IptablesMarkMask",
          "StringSchema": "32-bit bitmask (hex or deccimal allowed) with at least 2 bits set, example: `0xffff0000`",
          "StringSchemaHTML": "32-bit bitmask (hex or deccimal allowed) with at least 2 bits set, example: <code>0xffff0000</code>",
          "StringDefault": "0xffff0000",
          "ParsedDefault": "4294901760",
          "ParsedDefaultJSON": "4294901760",
          "ParsedType": "uint32",
          "YAMLType": "integer",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "0xffff0000",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The mask that Felix selects its IPTables Mark bits from. Should be a 32 bit hexadecimal\nnumber with at least 8 bits set, none of which clash with any other mark bits in use on the system.",
          "DescriptionHTML": "<p>The mask that Felix selects its IPTables Mark bits from. Should be a 32 bit hexadecimal\nnumber with at least 8 bits set, none of which clash with any other mark bits in use on the system.</p>",
          "UserEditable": true,
          "GoType": "*int64"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesNATOutgoingInterfaceFilter",
          "NameEnvVar": "FELIX_IptablesNATOutgoingInterfaceFilter",
          "NameYAML": "iptablesNATOutgoingInterfaceFilter",
          "NameGoAPI": "IptablesNATOutgoingInterfaceFilter",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,15}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,15}$</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "This parameter can be used to limit the host interfaces on which Calico will apply SNAT to traffic leaving a\nCalico IPAM pool with \"NAT outgoing\" enabled. This can be useful if you have a main data interface, where\ntraffic should be SNATted and a secondary device (such as the docker bridge) which is local to the host and\ndoesn't require SNAT. This parameter uses the iptables interface matching syntax, which allows + as a\nwildcard. Most users will not need to set this. Example: if your data interfaces are eth0 and eth1 and you\nwant to exclude the docker bridge, you could set this to eth+.",
          "DescriptionHTML": "<p>This parameter can be used to limit the host interfaces on which Calico will apply SNAT to traffic leaving a\nCalico IPAM pool with \"NAT outgoing\" enabled. This can be useful if you have a main data interface, where\ntraffic should be SNATted and a secondary device (such as the docker bridge) which is local to the host and\ndoesn't require SNAT. This parameter uses the iptables interface matching syntax, which allows + as a\nwildcard. Most users will not need to set this. Example: if your data interfaces are eth0 and eth1 and you\nwant to exclude the docker bridge, you could set this to eth+.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesPostWriteCheckIntervalSecs",
          "NameEnvVar": "FELIX_IptablesPostWriteCheckIntervalSecs",
          "NameYAML": "iptablesPostWriteCheckInterval",
          "NameGoAPI": "IptablesPostWriteCheckInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "5",
          "ParsedDefault": "5s",
          "ParsedDefaultJSON": "5000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "5s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The period after Felix has done a write\nto the dataplane that it schedules an extra read back in order to check the write was not\nclobbered by another process. This should only occur if another application on the system\ndoesn't respect the iptables lock.",
          "DescriptionHTML": "<p>The period after Felix has done a write\nto the dataplane that it schedules an extra read back in order to check the write was not\nclobbered by another process. This should only occur if another application on the system\ndoesn't respect the iptables lock.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "IptablesRefreshInterval",
          "NameEnvVar": "FELIX_IptablesRefreshInterval",
          "NameYAML": "iptablesRefreshInterval",
          "NameGoAPI": "IptablesRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "180",
          "ParsedDefault": "3m0s",
          "ParsedDefaultJSON": "180000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "3m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The period at which Felix re-checks the IP sets\nin the dataplane to ensure that no other process has accidentally broken Calico's rules.\nSet to 0 to disable IP sets refresh. Note: the default for this value is lower than the\nother refresh intervals as a workaround for a Linux kernel bug that was fixed in kernel\nversion 4.11. If you are using v4.11 or greater you may want to set this to, a higher value\nto reduce Felix CPU usage.",
          "DescriptionHTML": "<p>The period at which Felix re-checks the IP sets\nin the dataplane to ensure that no other process has accidentally broken Calico's rules.\nSet to 0 to disable IP sets refresh. Note: the default for this value is lower than the\nother refresh intervals as a workaround for a Linux kernel bug that was fixed in kernel\nversion 4.11. If you are using v4.11 or greater you may want to set this to, a higher value\nto reduce Felix CPU usage.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "KubeNodePortRanges",
          "NameEnvVar": "FELIX_KubeNodePortRanges",
          "NameYAML": "kubeNodePortRanges",
          "NameGoAPI": "KubeNodePortRanges",
          "StringSchema": "List of port ranges: comma-delimited list of either single numbers in range [0,65535] or a ranges of numbers `n:m`",
          "StringSchemaHTML": "List of port ranges: comma-delimited list of either single numbers in range [0,65535] or a ranges of numbers <code>n:m</code>",
          "StringDefault": "30000:32767",
          "ParsedDefault": "[30000:32767]",
          "ParsedDefaultJSON": "[\"30000:32767\"]",
          "ParsedType": "[]numorstring.Port",
          "YAMLType": "array",
          "YAMLSchema": "List of ports: `[<port>, ...]` where `<port>` is a port number (integer) or range (string), for example `80`, `8080:8089`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of ports: <code>[&lt;port&gt;, ...]</code> where <code>&lt;port&gt;</code> is a port number (integer) or range (string), for example <code>80</code>, <code>8080:8089</code>.",
          "YAMLDefault": "[\"30000:32767\"]",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Holds list of port ranges used for service node ports. Only used if felix detects kube-proxy running in ipvs mode.\nFelix uses these ranges to separate host and workload traffic. .",
          "DescriptionHTML": "<p>Holds list of port ranges used for service node ports. Only used if felix detects kube-proxy running in ipvs mode.\nFelix uses these ranges to separate host and workload traffic. .</p>",
          "UserEditable": true,
          "GoType": "*[]numorstring.Port"
        },
        {
          "Group": "Dataplane: iptables",
          "GroupWithSortPrefix": "20 Dataplane: iptables",
          "NameConfigFile": "MaxIpsetSize",
          "NameEnvVar": "FELIX_MaxIpsetSize",
          "NameYAML": "maxIpsetSize",
          "NameGoAPI": "MaxIpsetSize",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "1048576",
          "ParsedDefault": "1048576",
          "ParsedDefaultJSON": "1048576",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "1048576",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The maximum number of IP addresses that can be stored in an IP set. Not applicable\nif using the nftables backend.",
          "DescriptionHTML": "<p>The maximum number of IP addresses that can be stored in an IP set. Not applicable\nif using the nftables backend.</p>",
          "UserEditable": true,
          "GoType": "*int"
        }
      ]
    },
    {
      "Name": "Dataplane: nftables",
      "Fields": [
        {
          "Group": "Dataplane: nftables",
          "GroupWithSortPrefix": "21 Dataplane: nftables",
          "NameConfigFile": "NftablesFilterAllowAction",
          "NameEnvVar": "FELIX_NftablesFilterAllowAction",
          "NameYAML": "nftablesFilterAllowAction",
          "NameGoAPI": "NftablesFilterAllowAction",
          "StringSchema": "One of: `ACCEPT`, `RETURN`",
          "StringSchemaHTML": "One of: <code>ACCEPT</code>, <code>RETURN</code>",
          "StringDefault": "ACCEPT",
          "ParsedDefault": "ACCEPT",
          "ParsedDefaultJSON": "\"ACCEPT\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Accept`, `Return`.",
          "YAMLEnumValues": [
            "Accept",
            "Return"
          ],
          "YAMLSchemaHTML": "One of: <code>Accept</code>, <code>Return</code>.",
          "YAMLDefault": "Accept",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls the nftables action that Felix uses to represent the \"allow\" policy verdict\nin the filter table. The default is to `ACCEPT` the traffic, which is a terminal action. Alternatively,\n`RETURN` can be used to return the traffic back to the top-level chain for further processing by your rules.",
          "DescriptionHTML": "<p>Controls the nftables action that Felix uses to represent the \"allow\" policy verdict\nin the filter table. The default is to <code>ACCEPT</code> the traffic, which is a terminal action. Alternatively,\n<code>RETURN</code> can be used to return the traffic back to the top-level chain for further processing by your rules.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: nftables",
          "GroupWithSortPrefix": "21 Dataplane: nftables",
          "NameConfigFile": "NftablesFilterDenyAction",
          "NameEnvVar": "FELIX_NftablesFilterDenyAction",
          "NameYAML": "nftablesFilterDenyAction",
          "NameGoAPI": "NftablesFilterDenyAction",
          "StringSchema": "One of: `DROP`, `REJECT`",
          "StringSchemaHTML": "One of: <code>DROP</code>, <code>REJECT</code>",
          "StringDefault": "DROP",
          "ParsedDefault": "DROP",
          "ParsedDefaultJSON": "\"DROP\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Drop`, `Reject`.",
          "YAMLEnumValues": [
            "Drop",
            "Reject"
          ],
          "YAMLSchemaHTML": "One of: <code>Drop</code>, <code>Reject</code>.",
          "YAMLDefault": "Drop",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls what happens to traffic that is denied by network policy. By default, Calico\nblocks traffic with a \"drop\" action. If you want to use a \"reject\" action instead you can configure it here.",
          "DescriptionHTML": "<p>Controls what happens to traffic that is denied by network policy. By default, Calico\nblocks traffic with a \"drop\" action. If you want to use a \"reject\" action instead you can configure it here.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: nftables",
          "GroupWithSortPrefix": "21 Dataplane: nftables",
          "NameConfigFile": "NftablesMangleAllowAction",
          "NameEnvVar": "FELIX_NftablesMangleAllowAction",
          "NameYAML": "nftablesMangleAllowAction",
          "NameGoAPI": "NftablesMangleAllowAction",
          "StringSchema": "One of: `ACCEPT`, `RETURN`",
          "StringSchemaHTML": "One of: <code>ACCEPT</code>, <code>RETURN</code>",
          "StringDefault": "ACCEPT",
          "ParsedDefault": "ACCEPT",
          "ParsedDefaultJSON": "\"ACCEPT\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Accept`, `Return`.",
          "YAMLEnumValues": [
            "Accept",
            "Return"
          ],
          "YAMLSchemaHTML": "One of: <code>Accept</code>, <code>Return</code>.",
          "YAMLDefault": "Accept",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "Controls the nftables action that Felix uses to represent the \"allow\" policy verdict\nin the mangle table. The default is to `ACCEPT` the traffic, which is a terminal action. Alternatively,\n`RETURN` can be used to return the traffic back to the top-level chain for further processing by your rules.",
          "DescriptionHTML": "<p>Controls the nftables action that Felix uses to represent the \"allow\" policy verdict\nin the mangle table. The default is to <code>ACCEPT</code> the traffic, which is a terminal action. Alternatively,\n<code>RETURN</code> can be used to return the traffic back to the top-level chain for further processing by your rules.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: nftables",
          "GroupWithSortPrefix": "21 Dataplane: nftables",
          "NameConfigFile": "NftablesMarkMask",
          "NameEnvVar": "FELIX_NftablesMarkMask",
          "NameYAML": "nftablesMarkMask",
          "NameGoAPI": "NftablesMarkMask",
          "StringSchema": "32-bit bitmask (hex or deccimal allowed) with at least 2 bits set, example: `0xffff0000`",
          "StringSchemaHTML": "32-bit bitmask (hex or deccimal allowed) with at least 2 bits set, example: <code>0xffff0000</code>",
          "StringDefault": "0xffff0000",
          "ParsedDefault": "4294901760",
          "ParsedDefaultJSON": "4294901760",
          "ParsedType": "uint32",
          "YAMLType": "integer",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "0xffff0000",
          "Required": true,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The mask that Felix selects its nftables Mark bits from. Should be a 32 bit hexadecimal\nnumber with at least 8 bits set, none of which clash with any other mark bits in use on the system.",
          "DescriptionHTML": "<p>The mask that Felix selects its nftables Mark bits from. Should be a 32 bit hexadecimal\nnumber with at least 8 bits set, none of which clash with any other mark bits in use on the system.</p>",
          "UserEditable": true,
          "GoType": "*int64"
        },
        {
          "Group": "Dataplane: nftables",
          "GroupWithSortPrefix": "21 Dataplane: nftables",
          "NameConfigFile": "NftablesRefreshInterval",
          "NameEnvVar": "FELIX_NftablesRefreshInterval",
          "NameYAML": "nftablesRefreshInterval",
          "NameGoAPI": "NftablesRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "180",
          "ParsedDefault": "3m0s",
          "ParsedDefaultJSON": "180000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "3m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the interval at which Felix periodically refreshes the nftables rules.",
          "DescriptionHTML": "<p>Controls the interval at which Felix periodically refreshes the nftables rules.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        }
      ]
    },
    {
      "Name": "Dataplane: eBPF",
      "Fields": [
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFAttachType",
          "NameEnvVar": "FELIX_BPFAttachType",
          "NameYAML": "bpfAttachType",
          "NameGoAPI": "BPFAttachType",
          "StringSchema": "One of: `Netkit`, `TCX`, `TC`",
          "StringSchemaHTML": "One of: <code>Netkit</code>, <code>TCX</code>, <code>TC</code>",
          "StringDefault": "Netkit",
          "ParsedDefault": "Netkit",
          "ParsedDefaultJSON": "\"Netkit\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Netkit\"`, `\"TC\"`, `\"TCX\"`.",
          "YAMLEnumValues": [
            "`\"Netkit\"`",
            "`\"TC\"`",
            "`\"TCX\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Netkit\"</code>, <code>\"TC\"</code>, <code>\"TCX\"</code>.",
          "YAMLDefault": "Netkit",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls how are the BPF programs at the network interfaces attached.\nBy default `Netkit` is used, which attaches via the netkit API on workload interfaces that are\nnetkit devices and via `TCX` on every other interface. `TCX` is used where available to enable\neasier coexistence with 3rd party programs. `TC` can force the legacy method of attaching via a\nqdisc. `TCX` falls back to `TC` if `TCX` is not available.\nSetting this to `TCX` or `TC` also makes Felix drive existing netkit devices with that mechanism\ninstead of the netkit API, which is required before downgrading to a release without netkit\nsupport.",
          "DescriptionHTML": "<p>Controls how are the BPF programs at the network interfaces attached.\nBy default <code>Netkit</code> is used, which attaches via the netkit API on workload interfaces that are\nnetkit devices and via <code>TCX</code> on every other interface. <code>TCX</code> is used where available to enable\neasier coexistence with 3rd party programs. <code>TC</code> can force the legacy method of attaching via a\nqdisc. <code>TCX</code> falls back to <code>TC</code> if <code>TCX</code> is not available.\nSetting this to <code>TCX</code> or <code>TC</code> also makes Felix drive existing netkit devices with that mechanism\ninstead of the netkit API, which is required before downgrading to a release without netkit\nsupport.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFAttachOption"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFCTLBLogFilter",
          "NameEnvVar": "FELIX_BPFCTLBLogFilter",
          "NameYAML": "bpfCTLBLogFilter",
          "NameGoAPI": "BPFCTLBLogFilter",
          "StringSchema": "One of: `all`",
          "StringSchemaHTML": "One of: <code>all</code>",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies, what is logged by connect time load balancer when BPFLogLevel is\ndebug. Currently has to be specified as 'all' when BPFLogFilters is set\nto see CTLB logs.",
          "DescriptionHTML": "<p>Specifies, what is logged by connect time load balancer when BPFLogLevel is\ndebug. Currently has to be specified as 'all' when BPFLogFilters is set\nto see CTLB logs.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFConnectTimeLoadBalancing",
          "NameEnvVar": "FELIX_BPFConnectTimeLoadBalancing",
          "NameYAML": "bpfConnectTimeLoadBalancing",
          "NameGoAPI": "BPFConnectTimeLoadBalancing",
          "StringSchema": "One of: `Disabled`, `Enabled`, `TCP`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>, <code>TCP</code>",
          "StringDefault": "TCP",
          "ParsedDefault": "TCP",
          "ParsedDefaultJSON": "\"TCP\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`, `\"TCP\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`",
            "`\"TCP\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>, <code>\"TCP\"</code>.",
          "YAMLDefault": "TCP",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When in BPF mode, controls whether Felix installs the connect-time load\nbalancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services\nand it improves the performance of pod-to-service connections.When set to TCP, connect time load balancing\nis available only for services with TCP ports.",
          "DescriptionHTML": "<p>When in BPF mode, controls whether Felix installs the connect-time load\nbalancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services\nand it improves the performance of pod-to-service connections.When set to TCP, connect time load balancing\nis available only for services with TCP ports.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFConnectTimeLBType"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFConnectTimeLoadBalancingEnabled",
          "NameEnvVar": "FELIX_BPFConnectTimeLoadBalancingEnabled",
          "NameYAML": "bpfConnectTimeLoadBalancingEnabled",
          "NameGoAPI": "BPFConnectTimeLoadBalancingEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When in BPF mode, controls whether Felix installs the connection-time load\nbalancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services\nand it improves the performance of pod-to-service connections. The only reason to disable it is for debugging\npurposes.\n\nDeprecated: Use BPFConnectTimeLoadBalancing.",
          "DescriptionHTML": "<p>When in BPF mode, controls whether Felix installs the connection-time load\nbalancer. The connect-time load balancer is required for the host to be able to reach Kubernetes services\nand it improves the performance of pod-to-service connections. The only reason to disable it is for debugging\npurposes.</p>\n<p>Deprecated: Use BPFConnectTimeLoadBalancing.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFConntrackCleanupMode",
          "NameEnvVar": "FELIX_BPFConntrackCleanupMode",
          "NameYAML": "bpfConntrackMode",
          "NameGoAPI": "BPFConntrackCleanupMode",
          "StringSchema": "One of: `Auto`, `BPFProgram`, `Userspace`",
          "StringSchemaHTML": "One of: <code>Auto</code>, <code>BPFProgram</code>, <code>Userspace</code>",
          "StringDefault": "Auto",
          "ParsedDefault": "Auto",
          "ParsedDefaultJSON": "\"Auto\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Auto\"`, `\"BPFProgram\"`, `\"Userspace\"`.",
          "YAMLEnumValues": [
            "`\"Auto\"`",
            "`\"BPFProgram\"`",
            "`\"Userspace\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Auto\"</code>, <code>\"BPFProgram\"</code>, <code>\"Userspace\"</code>.",
          "YAMLDefault": "Auto",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls how BPF conntrack entries are cleaned up. `Auto` will use a BPF program if supported,\nfalling back to userspace if not. `Userspace` will always use the userspace cleanup code. `BPFProgram` will\nalways use the BPF program (failing if not supported).\n\n/To be deprecated in future versions as conntrack map type changed to\nlru_hash and userspace cleanup is the only mode that is supported.",
          "DescriptionHTML": "<p>Controls how BPF conntrack entries are cleaned up. <code>Auto</code> will use a BPF program if supported,\nfalling back to userspace if not. <code>Userspace</code> will always use the userspace cleanup code. <code>BPFProgram</code> will\nalways use the BPF program (failing if not supported).</p>\n<p>/To be deprecated in future versions as conntrack map type changed to\nlru_hash and userspace cleanup is the only mode that is supported.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFConntrackMode"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFConntrackLogLevel",
          "NameEnvVar": "FELIX_BPFConntrackLogLevel",
          "NameYAML": "bpfConntrackLogLevel",
          "NameGoAPI": "BPFConntrackLogLevel",
          "StringSchema": "One of: `debug`, `off`",
          "StringSchemaHTML": "One of: <code>debug</code>, <code>off</code>",
          "StringDefault": "off",
          "ParsedDefault": "off",
          "ParsedDefaultJSON": "\"off\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Debug\"`, `\"Off\"`.",
          "YAMLEnumValues": [
            "`\"Debug\"`",
            "`\"Off\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Debug\"</code>, <code>\"Off\"</code>.",
          "YAMLDefault": "off",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the log level of the BPF conntrack cleanup program, which runs periodically\nto clean up expired BPF conntrack entries.\n.",
          "DescriptionHTML": "<p>Controls the log level of the BPF conntrack cleanup program, which runs periodically\nto clean up expired BPF conntrack entries.\n.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFConntrackTimeouts",
          "NameEnvVar": "FELIX_BPFConntrackTimeouts",
          "NameYAML": "bpfConntrackTimeouts",
          "NameGoAPI": "BPFConntrackTimeouts",
          "StringSchema": "Comma-delimited list of key=value pairs",
          "StringSchemaHTML": "Comma-delimited list of key=value pairs",
          "StringDefault": "CreationGracePeriod=10s,TCPSynSent=20s,TCPEstablished=1h,TCPFinsSeen=Auto,TCPResetSeen=40s,UDPTimeout=60s,GenericTimeout=10m,ICMPTimeout=5s",
          "ParsedDefault": "map[CreationGracePeriod:10s GenericTimeout:10m ICMPTimeout:5s TCPEstablished:1h TCPFinsSeen:Auto TCPResetSeen:40s TCPSynSent:20s UDPTimeout:60s]",
          "ParsedDefaultJSON": "{\"CreationGracePeriod\":\"10s\",\"GenericTimeout\":\"10m\",\"ICMPTimeout\":\"5s\",\"TCPEstablished\":\"1h\",\"TCPFinsSeen\":\"Auto\",\"TCPResetSeen\":\"40s\",\"TCPSynSent\":\"20s\",\"UDPTimeout\":\"60s\"}",
          "ParsedType": "map[string]string",
          "YAMLType": "object",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "BPFConntrackTimers overrides the default values for the specified conntrack timer if\nset. Each value can be either a duration or `Auto` to pick the value from\na Linux conntrack timeout.\n\nConfigurable timers are: CreationGracePeriod, TCPSynSent,\nTCPEstablished, TCPFinsSeen, TCPResetSeen, UDPTimeout, GenericTimeout,\nICMPTimeout.\n\nUnset values are replaced by the default values with a warning log for\nincorrect values.",
          "DescriptionHTML": "<p>BPFConntrackTimers overrides the default values for the specified conntrack timer if\nset. Each value can be either a duration or <code>Auto</code> to pick the value from\na Linux conntrack timeout.</p>\n<p>Configurable timers are: CreationGracePeriod, TCPSynSent,\nTCPEstablished, TCPFinsSeen, TCPResetSeen, UDPTimeout, GenericTimeout,\nICMPTimeout.</p>\n<p>Unset values are replaced by the default values with a warning log for\nincorrect values.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFConntrackTimeouts"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFDSROptoutCIDRs",
          "NameEnvVar": "FELIX_BPFDSROptoutCIDRs",
          "NameYAML": "bpfDSROptoutCIDRs",
          "NameGoAPI": "BPFDSROptoutCIDRs",
          "StringSchema": "Comma-delimited list of CIDRs",
          "StringSchemaHTML": "Comma-delimited list of CIDRs",
          "StringDefault": "",
          "ParsedDefault": "[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "[]string",
          "YAMLType": "array",
          "YAMLSchema": "List of CIDRs: `[\"<cidr>\", ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of CIDRs: <code>[\"&lt;cidr&gt;\", ...]</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A list of CIDRs which are excluded from DSR. That is, clients\nin those CIDRs will access service node ports as if BPFExternalServiceMode was set to\nTunnel.",
          "DescriptionHTML": "<p>A list of CIDRs which are excluded from DSR. That is, clients\nin those CIDRs will access service node ports as if BPFExternalServiceMode was set to\nTunnel.</p>",
          "UserEditable": true,
          "GoType": "*[]string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFDataIfacePattern",
          "NameEnvVar": "FELIX_BPFDataIfacePattern",
          "NameYAML": "bpfDataIfacePattern",
          "NameGoAPI": "BPFDataIfacePattern",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "^((en|wl|ww|sl|ib)[Popsx].*|(eth|wlan|wwan|bond).*)",
          "ParsedDefault": "^((en|wl|ww|sl|ib)[Popsx].*|(eth|wlan|wwan|bond).*)",
          "ParsedDefaultJSON": "\"^((en|wl|ww|sl|ib)[Popsx].*|(eth|wlan|wwan|bond).*)\"",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "^((en|wl|ww|sl|ib)[Popsx].*|(eth|wlan|wwan|bond).*)",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A regular expression that controls which interfaces Felix should attach BPF programs to\nin order to catch traffic to/from the network. This needs to match the interfaces that Calico workload traffic\nflows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the\ncluster. It should not match the workload interfaces (usually named cali...) or any other special device managed\nby Calico itself (e.g., tunnels).",
          "DescriptionHTML": "<p>A regular expression that controls which interfaces Felix should attach BPF programs to\nin order to catch traffic to/from the network. This needs to match the interfaces that Calico workload traffic\nflows over as well as any interfaces that handle incoming traffic to nodeports and services from outside the\ncluster. It should not match the workload interfaces (usually named cali...) or any other special device managed\nby Calico itself (e.g., tunnels).</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFDisableGROForIfaces",
          "NameEnvVar": "FELIX_BPFDisableGROForIfaces",
          "NameYAML": "bpfDisableGROForIfaces",
          "NameGoAPI": "BPFDisableGROForIfaces",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A regular expression that controls which interfaces Felix should disable the\nGeneric Receive Offload [GRO] option. It should not match the workload interfaces (usually named cali...).",
          "DescriptionHTML": "<p>A regular expression that controls which interfaces Felix should disable the\nGeneric Receive Offload [GRO] option. It should not match the workload interfaces (usually named cali...).</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFDisableUnprivileged",
          "NameEnvVar": "FELIX_BPFDisableUnprivileged",
          "NameYAML": "bpfDisableUnprivileged",
          "NameGoAPI": "BPFDisableUnprivileged",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable\nunprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and\ncannot insert their own BPF programs to interfere with Calico's.",
          "DescriptionHTML": "<p>If enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable\nunprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and\ncannot insert their own BPF programs to interfere with Calico's.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFEnabled",
          "NameEnvVar": "FELIX_BPFEnabled",
          "NameYAML": "bpfEnabled",
          "NameGoAPI": "BPFEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If enabled Felix will use the BPF dataplane.",
          "DescriptionHTML": "<p>If enabled Felix will use the BPF dataplane.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFEnforceRPF",
          "NameEnvVar": "FELIX_BPFEnforceRPF",
          "NameYAML": "bpfEnforceRPF",
          "NameGoAPI": "BPFEnforceRPF",
          "StringSchema": "One of: `Disabled`, `Loose`, `Strict`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Loose</code>, <code>Strict</code>",
          "StringDefault": "Loose",
          "ParsedDefault": "Loose",
          "ParsedDefaultJSON": "\"Loose\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Disabled`, `Loose`, `Strict`.",
          "YAMLEnumValues": [
            "Disabled",
            "Loose",
            "Strict"
          ],
          "YAMLSchemaHTML": "One of: <code>Disabled</code>, <code>Loose</code>, <code>Strict</code>.",
          "YAMLDefault": "Loose",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Enforce strict RPF on all host interfaces with BPF programs regardless of\nwhat is the per-interfaces or global setting. Possible values are Disabled, Strict\nor Loose.",
          "DescriptionHTML": "<p>Enforce strict RPF on all host interfaces with BPF programs regardless of\nwhat is the per-interfaces or global setting. Possible values are Disabled, Strict\nor Loose.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFExcludeCIDRsFromNAT",
          "NameEnvVar": "FELIX_BPFExcludeCIDRsFromNAT",
          "NameYAML": "bpfExcludeCIDRsFromNAT",
          "NameGoAPI": "BPFExcludeCIDRsFromNAT",
          "StringSchema": "Comma-delimited list of CIDRs",
          "StringSchemaHTML": "Comma-delimited list of CIDRs",
          "StringDefault": "",
          "ParsedDefault": "[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "[]string",
          "YAMLType": "array",
          "YAMLSchema": "List of CIDRs: `[\"<cidr>\", ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of CIDRs: <code>[\"&lt;cidr&gt;\", ...]</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A list of CIDRs that are to be excluded from NAT\nresolution so that host can handle them. A typical usecase is node local\nDNS cache.",
          "DescriptionHTML": "<p>A list of CIDRs that are to be excluded from NAT\nresolution so that host can handle them. A typical usecase is node local\nDNS cache.</p>",
          "UserEditable": true,
          "GoType": "*[]string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFExportBufferSizeMB",
          "NameEnvVar": "FELIX_BPFExportBufferSizeMB",
          "NameYAML": "bpfExportBufferSizeMB",
          "NameGoAPI": "BPFExportBufferSizeMB",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "1",
          "ParsedDefault": "1",
          "ParsedDefaultJSON": "1",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "1",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls the buffer size used for sending BPF events to felix.",
          "DescriptionHTML": "<p>In BPF mode, controls the buffer size used for sending BPF events to felix.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFExtToServiceConnmark",
          "NameEnvVar": "FELIX_BPFExtToServiceConnmark",
          "NameYAML": "bpfExtToServiceConnmark",
          "NameGoAPI": "BPFExtToServiceConnmark",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls a 32bit mark that is set on connections from an\nexternal client to a local service. This mark allows us to control how packets of that\nconnection are routed within the host and how is routing interpreted by RPF check.",
          "DescriptionHTML": "<p>In BPF mode, controls a 32bit mark that is set on connections from an\nexternal client to a local service. This mark allows us to control how packets of that\nconnection are routed within the host and how is routing interpreted by RPF check.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFExternalServiceMode",
          "NameEnvVar": "FELIX_BPFExternalServiceMode",
          "NameYAML": "bpfExternalServiceMode",
          "NameGoAPI": "BPFExternalServiceMode",
          "StringSchema": "One of: `dsr`, `tunnel`",
          "StringSchemaHTML": "One of: <code>dsr</code>, <code>tunnel</code>",
          "StringDefault": "tunnel",
          "ParsedDefault": "tunnel",
          "ParsedDefaultJSON": "\"tunnel\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `DSR`, `Tunnel`.",
          "YAMLEnumValues": [
            "DSR",
            "Tunnel"
          ],
          "YAMLSchemaHTML": "One of: <code>DSR</code>, <code>Tunnel</code>.",
          "YAMLDefault": "Tunnel",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls how connections from outside the cluster to services (node ports\nand cluster IPs) are forwarded to remote workloads. If set to \"Tunnel\" then both request and response traffic\nis tunneled to the remote node. If set to \"DSR\", the request traffic is tunneled but the response traffic\nis sent directly from the remote node. In \"DSR\" mode, the remote node appears to use the IP of the ingress\nnode; this requires a permissive L2 network.",
          "DescriptionHTML": "<p>In BPF mode, controls how connections from outside the cluster to services (node ports\nand cluster IPs) are forwarded to remote workloads. If set to \"Tunnel\" then both request and response traffic\nis tunneled to the remote node. If set to \"DSR\", the request traffic is tunneled but the response traffic\nis sent directly from the remote node. In \"DSR\" mode, the remote node appears to use the IP of the ingress\nnode; this requires a permissive L2 network.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFForceTrackPacketsFromIfaces",
          "NameEnvVar": "FELIX_BPFForceTrackPacketsFromIfaces",
          "NameYAML": "bpfForceTrackPacketsFromIfaces",
          "NameGoAPI": "BPFForceTrackPacketsFromIfaces",
          "StringSchema": "Comma-delimited list of strings, each matching the regex `^[a-zA-Z0-9:._+-]{1,15}$`",
          "StringSchemaHTML": "Comma-delimited list of strings, each matching the regex <code>^[a-zA-Z0-9:._+-]{1,15}$</code>",
          "StringDefault": "docker+",
          "ParsedDefault": "[docker+]",
          "ParsedDefaultJSON": "[\"docker+\"]",
          "ParsedType": "[]string",
          "YAMLType": "array",
          "YAMLSchema": "List of interface names (may use `+` as a wildcard: `[\"<name>\", ...]`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "List of interface names (may use <code>+</code> as a wildcard: <code>[\"&lt;name&gt;\", ...]</code>.",
          "YAMLDefault": "[\"docker+\"]",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, forces traffic from these interfaces\nto skip Calico's iptables NOTRACK rule, allowing traffic from those interfaces to be\ntracked by Linux conntrack. Should only be used for interfaces that are not used for\nthe Calico fabric. For example, a docker bridge device for non-Calico-networked\ncontainers.",
          "DescriptionHTML": "<p>In BPF mode, forces traffic from these interfaces\nto skip Calico's iptables NOTRACK rule, allowing traffic from those interfaces to be\ntracked by Linux conntrack. Should only be used for interfaces that are not used for\nthe Calico fabric. For example, a docker bridge device for non-Calico-networked\ncontainers.</p>",
          "UserEditable": true,
          "GoType": "*[]string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFHostConntrackBypass",
          "NameEnvVar": "FELIX_BPFHostConntrackBypass",
          "NameYAML": "bpfHostConntrackBypass",
          "NameGoAPI": "BPFHostConntrackBypass",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether to bypass Linux conntrack in BPF mode for\nworkloads and services.",
          "DescriptionHTML": "<p>Controls whether to bypass Linux conntrack in BPF mode for\nworkloads and services.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFHostNetworkedNATWithoutCTLB",
          "NameEnvVar": "FELIX_BPFHostNetworkedNATWithoutCTLB",
          "NameYAML": "bpfHostNetworkedNATWithoutCTLB",
          "NameGoAPI": "BPFHostNetworkedNATWithoutCTLB",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Enabled",
          "ParsedDefault": "Enabled",
          "ParsedDefaultJSON": "\"Enabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Enabled",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When in BPF mode, controls whether Felix does a NAT without CTLB. This along with BPFConnectTimeLoadBalancing\ndetermines the CTLB behavior.",
          "DescriptionHTML": "<p>When in BPF mode, controls whether Felix does a NAT without CTLB. This along with BPFConnectTimeLoadBalancing\ndetermines the CTLB behavior.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFHostNetworkedNATType"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFIPFragTimeout",
          "NameEnvVar": "FELIX_BPFIPFragTimeout",
          "NameYAML": "bpfIPFragTimeout",
          "NameGoAPI": "BPFIPFragTimeout",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls the timeout for IP fragment reassembly.\nThis is the maximum time that the BPF dataplane will wait for all fragments of a\nfragmented IP packet to arrive before discarding them. If left unset, the value\nis read from the Linux kernel sysctl net.ipv4.ipfrag_time (which defaults to 30\nseconds).",
          "DescriptionHTML": "<p>In BPF mode, controls the timeout for IP fragment reassembly.\nThis is the maximum time that the BPF dataplane will wait for all fragments of a\nfragmented IP packet to arrive before discarding them. If left unset, the value\nis read from the Linux kernel sysctl net.ipv4.ipfrag_time (which defaults to 30\nseconds).</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFIPFragmentReassemblyEnabled",
          "NameEnvVar": "FELIX_BPFIPFragmentReassemblyEnabled",
          "NameYAML": "bpfIPFragmentReassemblyEnabled",
          "NameGoAPI": "BPFIPFragmentReassemblyEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix loads the BPF program that\nreassembles out-of-order IP fragments from external networks. This program requires\na kernel newer than 5.10. When enabled (the default) and the program fails to load,\nFelix reports not-ready until the user sets this to false. When false, fragmented\npackets from external sources are dropped.",
          "DescriptionHTML": "<p>Controls whether Felix loads the BPF program that\nreassembles out-of-order IP fragments from external networks. This program requires\na kernel newer than 5.10. When enabled (the default) and the program fails to load,\nFelix reports not-ready until the user sets this to false. When false, fragmented\npackets from external sources are dropped.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFJITHardening",
          "NameEnvVar": "FELIX_BPFJITHardening",
          "NameYAML": "bpfJITHardening",
          "NameGoAPI": "BPFJITHardening",
          "StringSchema": "One of: `Auto`, `Strict`",
          "StringSchemaHTML": "One of: <code>Auto</code>, <code>Strict</code>",
          "StringDefault": "Auto",
          "ParsedDefault": "Auto",
          "ParsedDefaultJSON": "\"Auto\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Auto\"`, `\"Strict\"`.",
          "YAMLEnumValues": [
            "`\"Auto\"`",
            "`\"Strict\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Auto\"</code>, <code>\"Strict\"</code>.",
          "YAMLDefault": "Auto",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls BPF JIT hardening. When set to \"Auto\", Felix will set JIT hardening to 1\nif it detects the current value is 2 (strict mode that hurts performance). When set to \"Strict\",\nFelix will not modify the JIT hardening setting.",
          "DescriptionHTML": "<p>Controls BPF JIT hardening. When set to \"Auto\", Felix will set JIT hardening to 1\nif it detects the current value is 2 (strict mode that hurts performance). When set to \"Strict\",\nFelix will not modify the JIT hardening setting.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFJITHardeningType"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFKubeProxyHealthzPort",
          "NameEnvVar": "FELIX_BPFKubeProxyHealthzPort",
          "NameYAML": "bpfKubeProxyHealthzPort",
          "NameGoAPI": "BPFKubeProxyHealthzPort",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "10256",
          "ParsedDefault": "10256",
          "ParsedDefaultJSON": "10256",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "10256",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls the port that Felix's embedded kube-proxy health check server binds to.\nThe health check server is used by external load balancers to determine if this node should receive traffic.\nSet to 0 to disable the health check server.",
          "DescriptionHTML": "<p>In BPF mode, controls the port that Felix's embedded kube-proxy health check server binds to.\nThe health check server is used by external load balancers to determine if this node should receive traffic.\nSet to 0 to disable the health check server.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFKubeProxyIptablesCleanupEnabled",
          "NameEnvVar": "FELIX_BPFKubeProxyIptablesCleanupEnabled",
          "NameYAML": "bpfKubeProxyIptablesCleanupEnabled",
          "NameGoAPI": "BPFKubeProxyIptablesCleanupEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If enabled in BPF mode, Felix will proactively clean up the upstream\nKubernetes kube-proxy's iptables chains. Should only be enabled if kube-proxy is not running.",
          "DescriptionHTML": "<p>If enabled in BPF mode, Felix will proactively clean up the upstream\nKubernetes kube-proxy's iptables chains. Should only be enabled if kube-proxy is not running.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFKubeProxyMinSyncPeriod",
          "NameEnvVar": "FELIX_BPFKubeProxyMinSyncPeriod",
          "NameYAML": "bpfKubeProxyMinSyncPeriod",
          "NameGoAPI": "BPFKubeProxyMinSyncPeriod",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "1",
          "ParsedDefault": "1s",
          "ParsedDefaultJSON": "1000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "In BPF mode, controls the minimum time between updates to the dataplane for Felix's\nembedded kube-proxy. Lower values give reduced set-up latency. Higher values reduce Felix CPU usage by\nbatching up more work.",
          "DescriptionHTML": "<p>In BPF mode, controls the minimum time between updates to the dataplane for Felix's\nembedded kube-proxy. Lower values give reduced set-up latency. Higher values reduce Felix CPU usage by\nbatching up more work.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFL3IfacePattern",
          "NameEnvVar": "FELIX_BPFL3IfacePattern",
          "NameYAML": "bpfL3IfacePattern",
          "NameGoAPI": "BPFL3IfacePattern",
          "StringSchema": "Regular expression",
          "StringSchemaHTML": "Regular expression",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*regexp.Regexp",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A regular expression that allows to list tunnel devices like wireguard or vxlan (i.e., L3 devices)\nin addition to BPFDataIfacePattern. That is, tunnel interfaces not created by Calico, that Calico workload traffic flows\nover as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster.",
          "DescriptionHTML": "<p>A regular expression that allows to list tunnel devices like wireguard or vxlan (i.e., L3 devices)\nin addition to BPFDataIfacePattern. That is, tunnel interfaces not created by Calico, that Calico workload traffic flows\nover as well as any interfaces that handle incoming traffic to nodeports and services from outside the cluster.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFLogFilters",
          "NameEnvVar": "FELIX_BPFLogFilters",
          "NameYAML": "bpfLogFilters",
          "NameGoAPI": "BPFLogFilters",
          "StringSchema": "Comma-delimited list of key=value pairs",
          "StringSchemaHTML": "Comma-delimited list of key=value pairs",
          "StringDefault": "",
          "ParsedDefault": "map[]",
          "ParsedDefaultJSON": "null",
          "ParsedType": "map[string]string",
          "YAMLType": "object",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "A map of key=values where the value is\na pcap filter expression and the key is an interface name with 'all'\ndenoting all interfaces, 'weps' all workload endpoints and 'heps' all host\nendpoints.\n\nWhen specified as an env var, it accepts a comma-separated list of\nkey=values.",
          "DescriptionHTML": "<p>A map of key=values where the value is\na pcap filter expression and the key is an interface name with 'all'\ndenoting all interfaces, 'weps' all workload endpoints and 'heps' all host\nendpoints.</p>\n<p>When specified as an env var, it accepts a comma-separated list of\nkey=values.</p>",
          "UserEditable": true,
          "GoType": "*map[string]string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFLogLevel",
          "NameEnvVar": "FELIX_BPFLogLevel",
          "NameYAML": "bpfLogLevel",
          "NameGoAPI": "BPFLogLevel",
          "StringSchema": "One of: `debug`, `info`, `off`",
          "StringSchemaHTML": "One of: <code>debug</code>, <code>info</code>, <code>off</code>",
          "StringDefault": "off",
          "ParsedDefault": "off",
          "ParsedDefaultJSON": "\"off\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Debug`, `Info`, `Off`.",
          "YAMLEnumValues": [
            "Debug",
            "Info",
            "Off"
          ],
          "YAMLSchemaHTML": "One of: <code>Debug</code>, <code>Info</code>, <code>Off</code>.",
          "YAMLDefault": "Off",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the log level of the BPF programs when in BPF dataplane mode. One of \"Off\", \"Info\", or\n\"Debug\". The logs are emitted to the BPF trace pipe, accessible with the command `tc exec bpf debug`.\n.",
          "DescriptionHTML": "<p>Controls the log level of the BPF programs when in BPF dataplane mode. One of \"Off\", \"Info\", or\n\"Debug\". The logs are emitted to the BPF trace pipe, accessible with the command <code>tc exec bpf debug</code>.\n.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMaglevMaxEndpointsPerService",
          "NameEnvVar": "FELIX_BPFMaglevMaxEndpointsPerService",
          "NameYAML": "bpfMaglevMaxEndpointsPerService",
          "NameGoAPI": "BPFMaglevMaxEndpointsPerService",
          "StringSchema": "Integer: [1,3000]",
          "StringSchemaHTML": "Integer: [1,3000]",
          "StringDefault": "100",
          "ParsedDefault": "100",
          "ParsedDefaultJSON": "100",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,3000]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,3000]",
          "YAMLDefault": "100",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The maximum number of endpoints\nexpected to be part of a single Maglev-enabled service.\n\nInfluences the size of the per-service Maglev lookup-tables generated by Felix\nand thus the amount of memory reserved.",
          "DescriptionHTML": "<p>The maximum number of endpoints\nexpected to be part of a single Maglev-enabled service.</p>\n<p>Influences the size of the per-service Maglev lookup-tables generated by Felix\nand thus the amount of memory reserved.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMaglevMaxServices",
          "NameEnvVar": "FELIX_BPFMaglevMaxServices",
          "NameYAML": "bpfMaglevMaxServices",
          "NameGoAPI": "BPFMaglevMaxServices",
          "StringSchema": "Integer: [1,3000]",
          "StringSchemaHTML": "Integer: [1,3000]",
          "StringDefault": "100",
          "ParsedDefault": "100",
          "ParsedDefaultJSON": "100",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [1,3000]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [1,3000]",
          "YAMLDefault": "100",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The maximum number of expected Maglev-enabled\nservices that Felix will allocate lookup-tables for.",
          "DescriptionHTML": "<p>The maximum number of expected Maglev-enabled\nservices that Felix will allocate lookup-tables for.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeConntrack",
          "NameEnvVar": "FELIX_BPFMapSizeConntrack",
          "NameYAML": "bpfMapSizeConntrack",
          "NameGoAPI": "BPFMapSizeConntrack",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "512000",
          "ParsedDefault": "512000",
          "ParsedDefaultJSON": "512000",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "512000",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for the conntrack map. This map must be large enough to hold\nan entry for each active connection. Warning: changing the size of the conntrack map can cause disruption.",
          "DescriptionHTML": "<p>Sets the size for the conntrack map. This map must be large enough to hold\nan entry for each active connection. Warning: changing the size of the conntrack map can cause disruption.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeConntrackCleanupQueue",
          "NameEnvVar": "FELIX_BPFMapSizeConntrackCleanupQueue",
          "NameYAML": "bpfMapSizeConntrackCleanupQueue",
          "NameGoAPI": "BPFMapSizeConntrackCleanupQueue",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "100000",
          "ParsedDefault": "100000",
          "ParsedDefaultJSON": "100000",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "100000",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for the map used to hold NAT conntrack entries that are queued\nfor cleanup. This should be big enough to hold all the NAT entries that expire within one cleanup interval.",
          "DescriptionHTML": "<p>Sets the size for the map used to hold NAT conntrack entries that are queued\nfor cleanup. This should be big enough to hold all the NAT entries that expire within one cleanup interval.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeConntrackScaling",
          "NameEnvVar": "FELIX_BPFMapSizeConntrackScaling",
          "NameYAML": "bpfMapSizeConntrackScaling",
          "NameGoAPI": "BPFMapSizeConntrackScaling",
          "StringSchema": "One of: `Disabled`, `DoubleIfFull`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>DoubleIfFull</code>",
          "StringDefault": "DoubleIfFull",
          "ParsedDefault": "DoubleIfFull",
          "ParsedDefaultJSON": "\"DoubleIfFull\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `Disabled`, `DoubleIfFull`.",
          "YAMLEnumValues": [
            "Disabled",
            "DoubleIfFull"
          ],
          "YAMLSchemaHTML": "One of: <code>Disabled</code>, <code>DoubleIfFull</code>.",
          "YAMLDefault": "DoubleIfFull",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether and how we scale the conntrack map size depending\non its usage. 'Disabled' stops the map from growing; a map that already grew keeps its size.\n'DoubleIfFull' doubles the size of an IP family's map when it is more than 80% full\nafter cleanups.",
          "DescriptionHTML": "<p>Controls whether and how we scale the conntrack map size depending\non its usage. 'Disabled' stops the map from growing; a map that already grew keeps its size.\n'DoubleIfFull' doubles the size of an IP family's map when it is more than 80% full\nafter cleanups.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeIPSets",
          "NameEnvVar": "FELIX_BPFMapSizeIPSets",
          "NameYAML": "bpfMapSizeIPSets",
          "NameGoAPI": "BPFMapSizeIPSets",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "1048576",
          "ParsedDefault": "1048576",
          "ParsedDefaultJSON": "1048576",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "1048576",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for ipsets map. The IP sets map must be large enough to hold an entry\nfor each endpoint matched by every selector in the source/destination matches in network policy. Selectors\nsuch as \"all()\" can result in large numbers of entries (one entry per endpoint in that case).",
          "DescriptionHTML": "<p>Sets the size for ipsets map. The IP sets map must be large enough to hold an entry\nfor each endpoint matched by every selector in the source/destination matches in network policy. Selectors\nsuch as \"all()\" can result in large numbers of entries (one entry per endpoint in that case).</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeIfState",
          "NameEnvVar": "FELIX_BPFMapSizeIfState",
          "NameYAML": "bpfMapSizeIfState",
          "NameGoAPI": "BPFMapSizeIfState",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "1000",
          "ParsedDefault": "1000",
          "ParsedDefaultJSON": "1000",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "1000",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for ifstate map. The ifstate map must be large enough to hold an entry\nfor each device (host + workloads) on a host.",
          "DescriptionHTML": "<p>Sets the size for ifstate map. The ifstate map must be large enough to hold an entry\nfor each device (host + workloads) on a host.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeNATAffinity",
          "NameEnvVar": "FELIX_BPFMapSizeNATAffinity",
          "NameYAML": "bpfMapSizeNATAffinity",
          "NameGoAPI": "BPFMapSizeNATAffinity",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "65536",
          "ParsedDefault": "65536",
          "ParsedDefaultJSON": "65536",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "65536",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size of the BPF map that stores the affinity of a connection (for services that\nenable that feature.",
          "DescriptionHTML": "<p>Sets the size of the BPF map that stores the affinity of a connection (for services that\nenable that feature.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeNATBackend",
          "NameEnvVar": "FELIX_BPFMapSizeNATBackend",
          "NameYAML": "bpfMapSizeNATBackend",
          "NameGoAPI": "BPFMapSizeNATBackend",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "262144",
          "ParsedDefault": "262144",
          "ParsedDefaultJSON": "262144",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "262144",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for NAT back end map.\nThis is the total number of endpoints. This is mostly\nmore than the size of the number of services.",
          "DescriptionHTML": "<p>Sets the size for NAT back end map.\nThis is the total number of endpoints. This is mostly\nmore than the size of the number of services.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeNATFrontend",
          "NameEnvVar": "FELIX_BPFMapSizeNATFrontend",
          "NameYAML": "bpfMapSizeNATFrontend",
          "NameGoAPI": "BPFMapSizeNATFrontend",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "65536",
          "ParsedDefault": "65536",
          "ParsedDefaultJSON": "65536",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "65536",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for NAT front end map.\nFrontendMap should be large enough to hold an entry for each nodeport,\nexternal IP and each port in each service.",
          "DescriptionHTML": "<p>Sets the size for NAT front end map.\nFrontendMap should be large enough to hold an entry for each nodeport,\nexternal IP and each port in each service.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizePerCPUConntrack",
          "NameEnvVar": "FELIX_BPFMapSizePerCPUConntrack",
          "NameYAML": "bpfMapSizePerCpuConntrack",
          "NameGoAPI": "BPFMapSizePerCPUConntrack",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Determines the size of conntrack map based on the number of CPUs. If set to a\nnon-zero value, overrides BPFMapSizeConntrack with `BPFMapSizePerCPUConntrack * (Number of CPUs)`.\nThis map must be large enough to hold an entry for each active connection. Warning: changing the size of the\nconntrack map can cause disruption.",
          "DescriptionHTML": "<p>Determines the size of conntrack map based on the number of CPUs. If set to a\nnon-zero value, overrides BPFMapSizeConntrack with <code>BPFMapSizePerCPUConntrack * (Number of CPUs)</code>.\nThis map must be large enough to hold an entry for each active connection. Warning: changing the size of the\nconntrack map can cause disruption.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFMapSizeRoute",
          "NameEnvVar": "FELIX_BPFMapSizeRoute",
          "NameYAML": "bpfMapSizeRoute",
          "NameGoAPI": "BPFMapSizeRoute",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "262144",
          "ParsedDefault": "262144",
          "ParsedDefaultJSON": "262144",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "262144",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the size for the routes map. The routes map should be large enough\nto hold one entry per workload and a handful of entries per host (enough to cover its own IPs and\ntunnel IPs).",
          "DescriptionHTML": "<p>Sets the size for the routes map. The routes map should be large enough\nto hold one entry per workload and a handful of entries per host (enough to cover its own IPs and\ntunnel IPs).</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFOverlayHostSourceIP",
          "NameEnvVar": "FELIX_BPFOverlayHostSourceIP",
          "NameYAML": "bpfOverlayHostSourceIP",
          "NameGoAPI": "BPFOverlayHostSourceIP",
          "StringSchema": "One of: `HostAddress`, `TunnelAddress`",
          "StringSchemaHTML": "One of: <code>HostAddress</code>, <code>TunnelAddress</code>",
          "StringDefault": "TunnelAddress",
          "ParsedDefault": "TunnelAddress",
          "ParsedDefaultJSON": "\"TunnelAddress\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"HostAddress\"`, `\"TunnelAddress\"`.",
          "YAMLEnumValues": [
            "`\"HostAddress\"`",
            "`\"TunnelAddress\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"HostAddress\"</code>, <code>\"TunnelAddress\"</code>.",
          "YAMLDefault": "TunnelAddress",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the source IP that Felix uses in BPF mode for host-networked\n(node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. \"TunnelAddress\" (the default)\nassigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour\nof clusters upgraded from earlier releases. \"HostAddress\" uses the node's own IP directly and does not\nassign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel\ndevice IP.",
          "DescriptionHTML": "<p>Controls the source IP that Felix uses in BPF mode for host-networked\n(node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. \"TunnelAddress\" (the default)\nassigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour\nof clusters upgraded from earlier releases. \"HostAddress\" uses the node's own IP directly and does not\nassign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel\ndevice IP.</p>",
          "UserEditable": true,
          "GoType": "*v3.BPFOverlayHostSourceIPType"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFPSNATPorts",
          "NameEnvVar": "FELIX_BPFPSNATPorts",
          "NameYAML": "bpfPSNATPorts",
          "NameGoAPI": "BPFPSNATPorts",
          "StringSchema": "Port range: either a single number in [0,65535] or a range of numbers `n:m`",
          "StringSchemaHTML": "Port range: either a single number in [0,65535] or a range of numbers <code>n:m</code>",
          "StringDefault": "20000:29999",
          "ParsedDefault": "20000:29999",
          "ParsedDefaultJSON": "\"20000:29999\"",
          "ParsedType": "numorstring.Port",
          "YAMLType": "integer or string",
          "YAMLSchema": "Port range: either an integer in [0,65535] or a string, representing a range, in format `n:m`",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Port range: either an integer in [0,65535] or a string, representing a range, in format <code>n:m</code>",
          "YAMLDefault": "20000:29999",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Sets the range from which we randomly pick a port if there is a source port\ncollision. This should be within the ephemeral range as defined by RFC 6056 (1024–65535) and\npreferably outside the ephemeral ranges used by common operating systems. Linux uses\n32768–60999, while others mostly use the IANA defined range 49152–65535. It is not necessarily\na problem if this range overlaps with the operating systems. Both ends of the range are\ninclusive.",
          "DescriptionHTML": "<p>Sets the range from which we randomly pick a port if there is a source port\ncollision. This should be within the ephemeral range as defined by RFC 6056 (1024–65535) and\npreferably outside the ephemeral ranges used by common operating systems. Linux uses\n32768–60999, while others mostly use the IANA defined range 49152–65535. It is not necessarily\na problem if this range overlaps with the operating systems. Both ends of the range are\ninclusive.</p>",
          "UserEditable": true,
          "GoType": "*numorstring.Port"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFPolicyDebugEnabled",
          "NameEnvVar": "FELIX_BPFPolicyDebugEnabled",
          "NameYAML": "bpfPolicyDebugEnabled",
          "NameGoAPI": "BPFPolicyDebugEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When true, Felix records detailed information\nabout the BPF policy programs, which can be examined with the calico-bpf command-line tool.",
          "DescriptionHTML": "<p>When true, Felix records detailed information\nabout the BPF policy programs, which can be examined with the calico-bpf command-line tool.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFProfiling",
          "NameEnvVar": "FELIX_BPFProfiling",
          "NameYAML": "bpfProfiling",
          "NameGoAPI": "BPFProfiling",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls profiling of BPF programs. At the monent, it can be\nDisabled or Enabled.",
          "DescriptionHTML": "<p>Controls profiling of BPF programs. At the monent, it can be\nDisabled or Enabled.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: eBPF",
          "GroupWithSortPrefix": "22 Dataplane: eBPF",
          "NameConfigFile": "BPFRedirectToPeer",
          "NameEnvVar": "FELIX_BPFRedirectToPeer",
          "NameYAML": "bpfRedirectToPeer",
          "NameGoAPI": "BPFRedirectToPeer",
          "StringSchema": "One of: `Disabled`, `Enabled`, `L2Only`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>, <code>L2Only</code>",
          "StringDefault": "Enabled",
          "ParsedDefault": "Enabled",
          "ParsedDefaultJSON": "\"Enabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Enabled",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether traffic may be forwarded directly to the peer side of a workload’s device.\nNote that the legacy \"L2Only\" option is now deprecated and if set it is treated like \"Enabled\".\nSetting this option to \"Enabled\" allows direct redirection (including from L3 host devices such as IPIP tunnels or WireGuard),\nwhich can improve redirection performance but causes the redirected packets to bypass the host‑side ingress path.\nAs a result, packet‑capture tools on the host side of the workload device (for example, tcpdump) will not see that traffic.",
          "DescriptionHTML": "<p>Controls whether traffic may be forwarded directly to the peer side of a workload’s device.\nNote that the legacy \"L2Only\" option is now deprecated and if set it is treated like \"Enabled\".\nSetting this option to \"Enabled\" allows direct redirection (including from L3 host devices such as IPIP tunnels or WireGuard),\nwhich can improve redirection performance but causes the redirected packets to bypass the host‑side ingress path.\nAs a result, packet‑capture tools on the host side of the workload device (for example, tcpdump) will not see that traffic.</p>",
          "UserEditable": true,
          "GoType": "string"
        }
      ]
    },
    {
      "Name": "Dataplane: Windows",
      "Fields": [
        {
          "Group": "Dataplane: Windows",
          "GroupWithSortPrefix": "23 Dataplane: Windows",
          "NameConfigFile": "WindowsManageFirewallRules",
          "NameEnvVar": "FELIX_WindowsManageFirewallRules",
          "NameYAML": "windowsManageFirewallRules",
          "NameGoAPI": "WindowsManageFirewallRules",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures whether or not Felix will program Windows Firewall rules (to allow inbound access to its own metrics ports).",
          "DescriptionHTML": "<p>Configures whether or not Felix will program Windows Firewall rules (to allow inbound access to its own metrics ports).</p>",
          "UserEditable": true,
          "GoType": "*v3.WindowsManageFirewallRulesMode"
        }
      ]
    },
    {
      "Name": "Dataplane: OpenStack support",
      "Fields": [
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "EndpointReportingDelaySecs",
          "NameEnvVar": "FELIX_EndpointReportingDelaySecs",
          "NameYAML": "endpointReportingDelay",
          "NameGoAPI": "EndpointReportingDelay",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "1",
          "ParsedDefault": "1s",
          "ParsedDefaultJSON": "1000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The delay before Felix reports endpoint status to the datastore. This is only used\nby the OpenStack integration.",
          "DescriptionHTML": "<p>The delay before Felix reports endpoint status to the datastore. This is only used\nby the OpenStack integration.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "EndpointReportingEnabled",
          "NameEnvVar": "FELIX_EndpointReportingEnabled",
          "NameYAML": "endpointReportingEnabled",
          "NameGoAPI": "EndpointReportingEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix reports endpoint status to the datastore. This is only used\nby the OpenStack integration.",
          "DescriptionHTML": "<p>Controls whether Felix reports endpoint status to the datastore. This is only used\nby the OpenStack integration.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "MetadataAddr",
          "NameEnvVar": "FELIX_MetadataAddr",
          "NameYAML": "metadataAddr",
          "NameGoAPI": "MetadataAddr",
          "StringSchema": "String matching regex `^[a-zA-Z0-9_.-]+$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9_.-]+$</code>",
          "StringDefault": "127.0.0.1",
          "ParsedDefault": "127.0.0.1",
          "ParsedDefaultJSON": "\"127.0.0.1\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "127.0.0.1",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The IP address or domain name of the server that can answer VM queries for\ncloud-init metadata. In OpenStack, this corresponds to the machine running nova-api (or in\nUbuntu, nova-api-metadata). A value of none (case-insensitive) means that Felix should not\nset up any NAT rule for the metadata path.",
          "DescriptionHTML": "<p>The IP address or domain name of the server that can answer VM queries for\ncloud-init metadata. In OpenStack, this corresponds to the machine running nova-api (or in\nUbuntu, nova-api-metadata). A value of none (case-insensitive) means that Felix should not\nset up any NAT rule for the metadata path.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "MetadataPort",
          "NameEnvVar": "FELIX_MetadataPort",
          "NameYAML": "metadataPort",
          "NameGoAPI": "MetadataPort",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "8775",
          "ParsedDefault": "8775",
          "ParsedDefaultJSON": "8775",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "8775",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The port of the metadata server. This, combined with global.MetadataAddr (if\nnot 'None'), is used to set up a NAT rule, from 169.254.169.254:80 to MetadataAddr:MetadataPort.\nIn most cases this should not need to be changed .",
          "DescriptionHTML": "<p>The port of the metadata server. This, combined with global.MetadataAddr (if\nnot 'None'), is used to set up a NAT rule, from 169.254.169.254:80 to MetadataAddr:MetadataPort.\nIn most cases this should not need to be changed .</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "OpenstackRegion",
          "NameEnvVar": "FELIX_OpenstackRegion",
          "NameYAML": "openstackRegion",
          "NameGoAPI": "OpenstackRegion",
          "StringSchema": "OpenStack region name (must be a valid DNS label)",
          "StringSchemaHTML": "OpenStack region name (must be a valid DNS label)",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String matching the regular expression `^([a-z0-9]([-a-z0-9]*[a-z0-9])?)?$`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String matching the regular expression <code>^([a-z0-9]([-a-z0-9]*[a-z0-9])?)?$</code>.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "Exit",
          "AllowedConfigSources": "All",
          "Description": "The name of the region that a particular Felix belongs to. In a multi-region\nCalico/OpenStack deployment, this must be configured somehow for each Felix (here in the datamodel,\nor in felix.cfg or the environment on each compute node), and must match the [calico]\nopenstack_region value configured in neutron.conf on each node. The region is used in a\nnamespace name, so it must be a DNS label of at most 46 characters.",
          "DescriptionHTML": "<p>The name of the region that a particular Felix belongs to. In a multi-region\nCalico/OpenStack deployment, this must be configured somehow for each Felix (here in the datamodel,\nor in felix.cfg or the environment on each compute node), and must match the [calico]\nopenstack_region value configured in neutron.conf on each node. The region is used in a\nnamespace name, so it must be a DNS label of at most 46 characters.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "ReportingIntervalSecs",
          "NameEnvVar": "FELIX_ReportingIntervalSecs",
          "NameYAML": "reportingInterval",
          "NameGoAPI": "ReportingInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "30",
          "ParsedDefault": "30s",
          "ParsedDefaultJSON": "30000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The interval at which Felix reports its status into the datastore or 0 to disable.\nMust be non-zero in OpenStack deployments.",
          "DescriptionHTML": "<p>The interval at which Felix reports its status into the datastore or 0 to disable.\nMust be non-zero in OpenStack deployments.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Dataplane: OpenStack support",
          "GroupWithSortPrefix": "25 Dataplane: OpenStack support",
          "NameConfigFile": "ReportingTTLSecs",
          "NameEnvVar": "FELIX_ReportingTTLSecs",
          "NameYAML": "reportingTTL",
          "NameGoAPI": "ReportingTTL",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The time-to-live setting for process-wide status reports.",
          "DescriptionHTML": "<p>The time-to-live setting for process-wide status reports.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        }
      ]
    },
    {
      "Name": "Dataplane: XDP acceleration for iptables dataplane",
      "Fields": [
        {
          "Group": "Dataplane: XDP acceleration for iptables dataplane",
          "GroupWithSortPrefix": "25 Dataplane: XDP acceleration for iptables dataplane",
          "NameConfigFile": "GenericXDPEnabled",
          "NameEnvVar": "FELIX_GenericXDPEnabled",
          "NameYAML": "genericXDPEnabled",
          "NameGoAPI": "GenericXDPEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Enables Generic XDP so network cards that don't support XDP offload or driver\nmodes can use XDP. This is not recommended since it doesn't provide better performance than\niptables.",
          "DescriptionHTML": "<p>Enables Generic XDP so network cards that don't support XDP offload or driver\nmodes can use XDP. This is not recommended since it doesn't provide better performance than\niptables.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: XDP acceleration for iptables dataplane",
          "GroupWithSortPrefix": "25 Dataplane: XDP acceleration for iptables dataplane",
          "NameConfigFile": "XDPEnabled",
          "NameEnvVar": "FELIX_XDPEnabled",
          "NameYAML": "xdpEnabled",
          "NameGoAPI": "XDPEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Enables XDP acceleration for suitable untracked incoming deny rules.",
          "DescriptionHTML": "<p>Enables XDP acceleration for suitable untracked incoming deny rules.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Dataplane: XDP acceleration for iptables dataplane",
          "GroupWithSortPrefix": "25 Dataplane: XDP acceleration for iptables dataplane",
          "NameConfigFile": "XDPRefreshInterval",
          "NameEnvVar": "FELIX_XDPRefreshInterval",
          "NameYAML": "xdpRefreshInterval",
          "NameGoAPI": "XDPRefreshInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "90",
          "ParsedDefault": "1m30s",
          "ParsedDefaultJSON": "90000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "1m30s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The period at which Felix re-checks all XDP state to ensure that no\nother process has accidentally broken Calico's BPF maps or attached programs. Set to 0 to\ndisable XDP refresh.",
          "DescriptionHTML": "<p>The period at which Felix re-checks all XDP state to ensure that no\nother process has accidentally broken Calico's BPF maps or attached programs. Set to 0 to\ndisable XDP refresh.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        }
      ]
    },
    {
      "Name": "Overlay: VXLAN overlay",
      "Fields": [
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANEnabled",
          "NameEnvVar": "FELIX_VXLANEnabled",
          "NameYAML": "vxlanEnabled",
          "NameGoAPI": "VXLANEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Overrides whether Felix should create the VXLAN tunnel device for IPv4 VXLAN networking.\nOptional as Felix determines this based on the existing IP pools.",
          "DescriptionHTML": "<p>Overrides whether Felix should create the VXLAN tunnel device for IPv4 VXLAN networking.\nOptional as Felix determines this based on the existing IP pools.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANMTU",
          "NameEnvVar": "FELIX_VXLANMTU",
          "NameYAML": "vxlanMTU",
          "NameGoAPI": "VXLANMTU",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The MTU to set on the IPv4 VXLAN tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.",
          "DescriptionHTML": "<p>The MTU to set on the IPv4 VXLAN tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANMTUV6",
          "NameEnvVar": "FELIX_VXLANMTUV6",
          "NameYAML": "vxlanMTUV6",
          "NameGoAPI": "VXLANMTUV6",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The MTU to set on the IPv6 VXLAN tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.",
          "DescriptionHTML": "<p>The MTU to set on the IPv6 VXLAN tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANPort",
          "NameEnvVar": "FELIX_VXLANPort",
          "NameYAML": "vxlanPort",
          "NameGoAPI": "VXLANPort",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "4789",
          "ParsedDefault": "4789",
          "ParsedDefaultJSON": "4789",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "4789",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The UDP port number to use for VXLAN traffic.",
          "DescriptionHTML": "<p>The UDP port number to use for VXLAN traffic.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANSrcPortMax",
          "NameEnvVar": "FELIX_VXLANSrcPortMax",
          "NameYAML": "vxlanSrcPortMax",
          "NameGoAPI": "VXLANSrcPortMax",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The upper bound (inclusive) of the UDP source port range used by Felix for outgoing\nVXLAN-encapsulated traffic. See VXLANSrcPortMin.",
          "DescriptionHTML": "<p>The upper bound (inclusive) of the UDP source port range used by Felix for outgoing\nVXLAN-encapsulated traffic. See VXLANSrcPortMin.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANSrcPortMin",
          "NameEnvVar": "FELIX_VXLANSrcPortMin",
          "NameYAML": "vxlanSrcPortMin",
          "NameGoAPI": "VXLANSrcPortMin",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The lower bound (inclusive) of the UDP source port range used by Felix for outgoing\nVXLAN-encapsulated traffic. If both VXLANSrcPortMin and VXLANSrcPortMax are set, the kernel VXLAN tunnel\ndevice and the eBPF dataplane's VXLAN encap will pick source ports within [VXLANSrcPortMin, VXLANSrcPortMax].\nVXLANSrcPortMin must be strictly less than VXLANSrcPortMax.\nIf unset (or zero), the kernel/dataplane default is used.",
          "DescriptionHTML": "<p>The lower bound (inclusive) of the UDP source port range used by Felix for outgoing\nVXLAN-encapsulated traffic. If both VXLANSrcPortMin and VXLANSrcPortMax are set, the kernel VXLAN tunnel\ndevice and the eBPF dataplane's VXLAN encap will pick source ports within [VXLANSrcPortMin, VXLANSrcPortMax].\nVXLANSrcPortMin must be strictly less than VXLANSrcPortMax.\nIf unset (or zero), the kernel/dataplane default is used.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: VXLAN overlay",
          "GroupWithSortPrefix": "31 Overlay: VXLAN overlay",
          "NameConfigFile": "VXLANVNI",
          "NameEnvVar": "FELIX_VXLANVNI",
          "NameYAML": "vxlanVNI",
          "NameGoAPI": "VXLANVNI",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "4096",
          "ParsedDefault": "4096",
          "ParsedDefaultJSON": "4096",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "4096",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The VXLAN VNI to use for VXLAN traffic. You may need to change this if the default value is\nin use on your system.",
          "DescriptionHTML": "<p>The VXLAN VNI to use for VXLAN traffic. You may need to change this if the default value is\nin use on your system.</p>",
          "UserEditable": true,
          "GoType": "*int"
        }
      ]
    },
    {
      "Name": "Overlay: IP-in-IP",
      "Fields": [
        {
          "Group": "Overlay: IP-in-IP",
          "GroupWithSortPrefix": "32 Overlay: IP-in-IP",
          "NameConfigFile": "IpInIpEnabled",
          "NameEnvVar": "FELIX_IpInIpEnabled",
          "NameYAML": "ipipEnabled",
          "NameGoAPI": "IPIPEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "null",
          "ParsedType": "*bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Overrides whether Felix should configure an IPIP interface on the host. Optional as Felix\ndetermines this based on the existing IP pools.",
          "DescriptionHTML": "<p>Overrides whether Felix should configure an IPIP interface on the host. Optional as Felix\ndetermines this based on the existing IP pools.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Overlay: IP-in-IP",
          "GroupWithSortPrefix": "32 Overlay: IP-in-IP",
          "NameConfigFile": "IpInIpMtu",
          "NameEnvVar": "FELIX_IpInIpMtu",
          "NameYAML": "ipipMTU",
          "NameGoAPI": "IPIPMTU",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the MTU to set on the IPIP tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.",
          "DescriptionHTML": "<p>Controls the MTU to set on the IPIP tunnel device. Optional as Felix auto-detects the MTU based on the\nMTU of the host's interfaces.</p>",
          "UserEditable": true,
          "GoType": "*int"
        }
      ]
    },
    {
      "Name": "Overlay: Wireguard",
      "Fields": [
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardEnabled",
          "NameEnvVar": "FELIX_WireguardEnabled",
          "NameYAML": "wireguardEnabled",
          "NameGoAPI": "WireguardEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Wireguard is enabled for IPv4 (encapsulating IPv4 traffic over an IPv4 underlay network).",
          "DescriptionHTML": "<p>Controls whether Wireguard is enabled for IPv4 (encapsulating IPv4 traffic over an IPv4 underlay network).</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardEnabledV6",
          "NameEnvVar": "FELIX_WireguardEnabledV6",
          "NameYAML": "wireguardEnabledV6",
          "NameGoAPI": "WireguardEnabledV6",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Wireguard is enabled for IPv6 (encapsulating IPv6 traffic over an IPv6 underlay network).",
          "DescriptionHTML": "<p>Controls whether Wireguard is enabled for IPv6 (encapsulating IPv6 traffic over an IPv6 underlay network).</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardHostEncryptionEnabled",
          "NameEnvVar": "FELIX_WireguardHostEncryptionEnabled",
          "NameYAML": "wireguardHostEncryptionEnabled",
          "NameGoAPI": "WireguardHostEncryptionEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Wireguard host-to-host encryption is enabled.",
          "DescriptionHTML": "<p>Controls whether Wireguard host-to-host encryption is enabled.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardInterfaceName",
          "NameEnvVar": "FELIX_WireguardInterfaceName",
          "NameYAML": "wireguardInterfaceName",
          "NameGoAPI": "WireguardInterfaceName",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,15}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,15}$</code>",
          "StringDefault": "wireguard.cali",
          "ParsedDefault": "wireguard.cali",
          "ParsedDefaultJSON": "\"wireguard.cali\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "wireguard.cali",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies the name to use for the IPv4 Wireguard interface.",
          "DescriptionHTML": "<p>Specifies the name to use for the IPv4 Wireguard interface.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardInterfaceNameV6",
          "NameEnvVar": "FELIX_WireguardInterfaceNameV6",
          "NameYAML": "wireguardInterfaceNameV6",
          "NameGoAPI": "WireguardInterfaceNameV6",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,15}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,15}$</code>",
          "StringDefault": "wg-v6.cali",
          "ParsedDefault": "wg-v6.cali",
          "ParsedDefaultJSON": "\"wg-v6.cali\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "wg-v6.cali",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Specifies the name to use for the IPv6 Wireguard interface.",
          "DescriptionHTML": "<p>Specifies the name to use for the IPv6 Wireguard interface.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardListeningPort",
          "NameEnvVar": "FELIX_WireguardListeningPort",
          "NameYAML": "wireguardListeningPort",
          "NameGoAPI": "WireguardListeningPort",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "51820",
          "ParsedDefault": "51820",
          "ParsedDefaultJSON": "51820",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "51820",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the listening port used by IPv4 Wireguard.",
          "DescriptionHTML": "<p>Controls the listening port used by IPv4 Wireguard.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardListeningPortV6",
          "NameEnvVar": "FELIX_WireguardListeningPortV6",
          "NameYAML": "wireguardListeningPortV6",
          "NameGoAPI": "WireguardListeningPortV6",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "51821",
          "ParsedDefault": "51821",
          "ParsedDefaultJSON": "51821",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "51821",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the listening port used by IPv6 Wireguard.",
          "DescriptionHTML": "<p>Controls the listening port used by IPv6 Wireguard.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardMTU",
          "NameEnvVar": "FELIX_WireguardMTU",
          "NameYAML": "wireguardMTU",
          "NameGoAPI": "WireguardMTU",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the MTU on the IPv4 Wireguard interface. See Configuring MTU.",
          "DescriptionHTML": "<p>Controls the MTU on the IPv4 Wireguard interface. See Configuring MTU.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardMTUV6",
          "NameEnvVar": "FELIX_WireguardMTUV6",
          "NameYAML": "wireguardMTUV6",
          "NameGoAPI": "WireguardMTUV6",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "0",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "0",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the MTU on the IPv6 Wireguard interface. See Configuring MTU.",
          "DescriptionHTML": "<p>Controls the MTU on the IPv6 Wireguard interface. See Configuring MTU.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardPersistentKeepAlive",
          "NameEnvVar": "FELIX_WireguardPersistentKeepAlive",
          "NameYAML": "wireguardKeepAlive",
          "NameGoAPI": "WireguardPersistentKeepAlive",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls Wireguard PersistentKeepalive option. Set 0 to disable.",
          "DescriptionHTML": "<p>Controls Wireguard PersistentKeepalive option. Set 0 to disable.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardRoutingRulePriority",
          "NameEnvVar": "FELIX_WireguardRoutingRulePriority",
          "NameYAML": "wireguardRoutingRulePriority",
          "NameGoAPI": "WireguardRoutingRulePriority",
          "StringSchema": "Integer",
          "StringSchemaHTML": "Integer",
          "StringDefault": "99",
          "ParsedDefault": "99",
          "ParsedDefaultJSON": "99",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer",
          "YAMLDefault": "99",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the priority value to use for the Wireguard routing rule.",
          "DescriptionHTML": "<p>Controls the priority value to use for the Wireguard routing rule.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Overlay: Wireguard",
          "GroupWithSortPrefix": "33 Overlay: Wireguard",
          "NameConfigFile": "WireguardThreadingEnabled",
          "NameEnvVar": "FELIX_WireguardThreadingEnabled",
          "NameYAML": "wireguardThreadingEnabled",
          "NameGoAPI": "WireguardThreadingEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Wireguard has Threaded NAPI enabled. \nThis increases the maximum number of packets a Wireguard interface can process.\nConsider threaded NAPI only if you have high packets per second workloads that are causing dropping packets due to a saturated `softirq` CPU core.\nThere is a [known issue](https://lore.kernel.org/netdev/CALrw=nEoT2emQ0OAYCjM1d_6Xe_kNLSZ6dhjb5FxrLFYh4kozA@mail.gmail.com/T/) with this setting\nthat may cause NAPI to get stuck holding the global `rtnl_mutex` when a peer is removed.\nWorkaround: Make sure your Linux kernel [includes this patch](https://github.com/torvalds/linux/commit/56364c910691f6d10ba88c964c9041b9ab777bd6) to unwedge NAPI.",
          "DescriptionHTML": "<p>Controls whether Wireguard has Threaded NAPI enabled. \nThis increases the maximum number of packets a Wireguard interface can process.\nConsider threaded NAPI only if you have high packets per second workloads that are causing dropping packets due to a saturated <code>softirq</code> CPU core.\nThere is a [known issue](https://lore.kernel.org/netdev/CALrw=nEoT2emQ0OAYCjM1d_6Xe_kNLSZ6dhjb5FxrLFYh4kozA@mail.gmail.com/T/) with this setting\nthat may cause NAPI to get stuck holding the global <code>rtnl_mutex</code> when a peer is removed.\nWorkaround: Make sure your Linux kernel [includes this patch](https://github.com/torvalds/linux/commit/56364c910691f6d10ba88c964c9041b9ab777bd6) to unwedge NAPI.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        }
      ]
    },
    {
      "Name": "Flow logs: file reports",
      "Fields": [
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsCollectorDebugTrace",
          "NameEnvVar": "FELIX_FlowLogsCollectorDebugTrace",
          "NameYAML": "flowLogsCollectorDebugTrace",
          "NameGoAPI": "FlowLogsCollectorDebugTrace",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "When FlowLogsCollectorDebugTrace is set to true, enables the logs in the collector to be\nprinted in their entirety.",
          "DescriptionHTML": "<p>When FlowLogsCollectorDebugTrace is set to true, enables the logs in the collector to be\nprinted in their entirety.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsFlushInterval",
          "NameEnvVar": "FELIX_FlowLogsFlushInterval",
          "NameYAML": "flowLogsFlushInterval",
          "NameGoAPI": "FlowLogsFlushInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "300",
          "ParsedDefault": "5m0s",
          "ParsedDefaultJSON": "300000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "5m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures the interval at which Felix exports flow logs.",
          "DescriptionHTML": "<p>Configures the interval at which Felix exports flow logs.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsGoldmaneIncludeIPs",
          "NameEnvVar": "FELIX_FlowLogsGoldmaneIncludeIPs",
          "NameYAML": "flowLogsGoldmaneIncludeIPs",
          "NameGoAPI": "FlowLogsGoldmaneIncludeIPs",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Enabled",
          "ParsedDefault": "Enabled",
          "ParsedDefaultJSON": "\"Enabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Enabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether flow data sent to Goldmane (and the local flow\nreporter) includes the source and destination IP addresses of the aggregated connections.",
          "DescriptionHTML": "<p>Controls whether flow data sent to Goldmane (and the local flow\nreporter) includes the source and destination IP addresses of the aggregated connections.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsGoldmaneServer",
          "NameEnvVar": "FELIX_FlowLogsGoldmaneServer",
          "NameYAML": "flowLogsGoldmaneServer",
          "NameGoAPI": "FlowLogsGoldmaneServer",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "FlowLogGoldmaneServer is the flow server endpoint to which flow data should be published.",
          "DescriptionHTML": "<p>FlowLogGoldmaneServer is the flow server endpoint to which flow data should be published.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsLocalReporter",
          "NameEnvVar": "FELIX_FlowLogsLocalReporter",
          "NameYAML": "flowLogsLocalReporter",
          "NameGoAPI": "FlowLogsLocalReporter",
          "StringSchema": "One of: `Disabled`, `Enabled`",
          "StringSchemaHTML": "One of: <code>Disabled</code>, <code>Enabled</code>",
          "StringDefault": "Disabled",
          "ParsedDefault": "Disabled",
          "ParsedDefaultJSON": "\"Disabled\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disabled\"`, `\"Enabled\"`.",
          "YAMLEnumValues": [
            "`\"Disabled\"`",
            "`\"Enabled\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disabled\"</code>, <code>\"Enabled\"</code>.",
          "YAMLDefault": "Disabled",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Configures local unix socket for reporting flow data from each node.",
          "DescriptionHTML": "<p>Configures local unix socket for reporting flow data from each node.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Flow logs: file reports",
          "GroupWithSortPrefix": "40 Flow logs: file reports",
          "NameConfigFile": "FlowLogsPolicyEvaluationMode",
          "NameEnvVar": "FELIX_FlowLogsPolicyEvaluationMode",
          "NameYAML": "flowLogsPolicyEvaluationMode",
          "NameGoAPI": "FlowLogsPolicyEvaluationMode",
          "StringSchema": "One of: `Continuous`, `None`",
          "StringSchemaHTML": "One of: <code>Continuous</code>, <code>None</code>",
          "StringDefault": "Continuous",
          "ParsedDefault": "Continuous",
          "ParsedDefaultJSON": "\"Continuous\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Continuous\"`, `\"None\"`.",
          "YAMLEnumValues": [
            "`\"Continuous\"`",
            "`\"None\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Continuous\"</code>, <code>\"None\"</code>.",
          "YAMLDefault": "Continuous",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Continuous - Felix evaluates active flows on a regular basis to determine the rule\ntraces in the flow logs. Any policy updates that impact a flow will be reflected in the\npending_policies field, offering a near-real-time view of policy changes across flows.\nNone - Felix stops evaluating pending traces.",
          "DescriptionHTML": "<p>Continuous - Felix evaluates active flows on a regular basis to determine the rule\ntraces in the flow logs. Any policy updates that impact a flow will be reflected in the\npending_policies field, offering a near-real-time view of policy changes across flows.\nNone - Felix stops evaluating pending traces.</p>",
          "UserEditable": true,
          "GoType": "*v3.FlowLogsPolicyEvaluationModeType"
        }
      ]
    },
    {
      "Name": "AWS integration",
      "Fields": [
        {
          "Group": "AWS integration",
          "GroupWithSortPrefix": "60 AWS integration",
          "NameConfigFile": "AWSSrcDstCheck",
          "NameEnvVar": "FELIX_AWSSrcDstCheck",
          "NameYAML": "awsSrcDstCheck",
          "NameGoAPI": "AWSSrcDstCheck",
          "StringSchema": "One of: `Disable`, `DoNothing`, `Enable`",
          "StringSchemaHTML": "One of: <code>Disable</code>, <code>DoNothing</code>, <code>Enable</code>",
          "StringDefault": "DoNothing",
          "ParsedDefault": "DoNothing",
          "ParsedDefaultJSON": "\"DoNothing\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "One of: `\"Disable\"`, `\"DoNothing\"`, `\"Enable\"`.",
          "YAMLEnumValues": [
            "`\"Disable\"`",
            "`\"DoNothing\"`",
            "`\"Enable\"`"
          ],
          "YAMLSchemaHTML": "One of: <code>\"Disable\"</code>, <code>\"DoNothing\"</code>, <code>\"Enable\"</code>.",
          "YAMLDefault": "DoNothing",
          "Required": true,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls whether Felix will try to change the \"source/dest check\" setting on the EC2 instance\non which it is running. A value of \"Disable\" will try to disable the source/dest check. Disabling the check\nallows for sending workload traffic without encapsulation within the same AWS subnet.",
          "DescriptionHTML": "<p>Controls whether Felix will try to change the \"source/dest check\" setting on the EC2 instance\non which it is running. A value of \"Disable\" will try to disable the source/dest check. Disabling the check\nallows for sending workload traffic without encapsulation within the same AWS subnet.</p>",
          "UserEditable": true,
          "GoType": "*v3.AWSSrcDstCheckOption"
        }
      ]
    },
    {
      "Name": "Debug/test-only (generally unsupported)",
      "Fields": [
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugBPFCgroupV2",
          "NameEnvVar": "FELIX_DebugBPFCgroupV2",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "String",
          "StringSchemaHTML": "String",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "LocalOnly",
          "Description": "Controls the cgroup v2 path that we apply the connect-time load balancer to. Most distros\nare configured for cgroup v1, which prevents all but the root cgroup v2 from working so this is only useful\nfor development right now.",
          "DescriptionHTML": "<p>Controls the cgroup v2 path that we apply the connect-time load balancer to. Most distros\nare configured for cgroup v1, which prevents all but the root cgroup v2 from working so this is only useful\nfor development right now.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugCPUProfilePath",
          "NameEnvVar": "FELIX_DebugCPUProfilePath",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Path to file",
          "StringSchemaHTML": "Path to file",
          "StringDefault": "/tmp/felix-cpu-<timestamp>.pprof",
          "ParsedDefault": "/tmp/felix-cpu-<timestamp>.pprof",
          "ParsedDefaultJSON": "\"/tmp/felix-cpu-\\u003ctimestamp\\u003e.pprof\"",
          "ParsedType": "string",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Unsupported diagnostic setting, used when testing Felix.  Not exposed in `FelixConfiguration`.",
          "DescriptionHTML": "<p>Unsupported diagnostic setting, used when testing Felix.  Not exposed in <code>FelixConfiguration</code>.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugDisableLogDropping",
          "NameEnvVar": "FELIX_DebugDisableLogDropping",
          "NameYAML": "debugDisableLogDropping",
          "NameGoAPI": "DebugDisableLogDropping",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "false",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Disables the dropping of log messages when the log buffer is full. This can\nsignificantly impact performance if log write-out is a bottleneck.",
          "DescriptionHTML": "<p>Disables the dropping of log messages when the log buffer is full. This can\nsignificantly impact performance if log write-out is a bottleneck.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugHost",
          "NameEnvVar": "FELIX_DebugHost",
          "NameYAML": "debugHost",
          "NameGoAPI": "DebugHost",
          "StringSchema": "String matching regex `^[a-zA-Z0-9:._+-]{1,64}$`",
          "StringSchemaHTML": "String matching regex <code>^[a-zA-Z0-9:._+-]{1,64}$</code>",
          "StringDefault": "localhost",
          "ParsedDefault": "localhost",
          "ParsedDefaultJSON": "\"localhost\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "localhost",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The host IP or hostname to bind the debug port to. Only used\nif DebugPort is set.",
          "DescriptionHTML": "<p>The host IP or hostname to bind the debug port to. Only used\nif DebugPort is set.</p>",
          "UserEditable": true,
          "GoType": "*string"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugMemoryProfilePath",
          "NameEnvVar": "FELIX_DebugMemoryProfilePath",
          "NameYAML": "debugMemoryProfilePath",
          "NameGoAPI": "DebugMemoryProfilePath",
          "StringSchema": "Path to file",
          "StringSchemaHTML": "Path to file",
          "StringDefault": "",
          "ParsedDefault": "",
          "ParsedDefaultJSON": "\"\"",
          "ParsedType": "string",
          "YAMLType": "string",
          "YAMLSchema": "String.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "String.",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "The path to write the memory profile to when triggered by signal.",
          "DescriptionHTML": "<p>The path to write the memory profile to when triggered by signal.</p>",
          "UserEditable": true,
          "GoType": "string"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugPanicAfter",
          "NameEnvVar": "FELIX_DebugPanicAfter",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Unsupported diagnostic setting, used when testing Felix.  Not exposed in `FelixConfiguration`.",
          "DescriptionHTML": "<p>Unsupported diagnostic setting, used when testing Felix.  Not exposed in <code>FelixConfiguration</code>.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugPort",
          "NameEnvVar": "FELIX_DebugPort",
          "NameYAML": "debugPort",
          "NameGoAPI": "DebugPort",
          "StringSchema": "Integer: [0,65535]",
          "StringSchemaHTML": "Integer: [0,65535]",
          "StringDefault": "",
          "ParsedDefault": "0",
          "ParsedDefaultJSON": "0",
          "ParsedType": "int",
          "YAMLType": "integer",
          "YAMLSchema": "Integer: [0,65535]",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Integer: [0,65535]",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "If set, enables Felix's debug HTTP port, which allows memory and CPU profiles\nto be retrieved. The debug port is not secure, it should not be exposed to the internet.",
          "DescriptionHTML": "<p>If set, enables Felix's debug HTTP port, which allows memory and CPU profiles\nto be retrieved. The debug port is not secure, it should not be exposed to the internet.</p>",
          "UserEditable": true,
          "GoType": "*int"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugSimulateCalcGraphHangAfter",
          "NameEnvVar": "FELIX_DebugSimulateCalcGraphHangAfter",
          "NameYAML": "debugSimulateCalcGraphHangAfter",
          "NameGoAPI": "DebugSimulateCalcGraphHangAfter",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Used to simulate a hang in the calculation graph after the specified duration.\nThis is useful in tests of the watchdog system only!",
          "DescriptionHTML": "<p>Used to simulate a hang in the calculation graph after the specified duration.\nThis is useful in tests of the watchdog system only!</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugSimulateDataRace",
          "NameEnvVar": "FELIX_DebugSimulateDataRace",
          "NameYAML": "",
          "NameGoAPI": "",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "false",
          "ParsedDefault": "false",
          "ParsedDefaultJSON": "false",
          "ParsedType": "bool",
          "YAMLType": "",
          "YAMLSchema": "",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "",
          "YAMLDefault": "",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Unsupported diagnostic setting, used when testing Felix.  Not exposed in `FelixConfiguration`.",
          "DescriptionHTML": "<p>Unsupported diagnostic setting, used when testing Felix.  Not exposed in <code>FelixConfiguration</code>.</p>",
          "UserEditable": true,
          "GoType": ""
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugSimulateDataplaneApplyDelay",
          "NameEnvVar": "FELIX_DebugSimulateDataplaneApplyDelay",
          "NameYAML": "debugSimulateDataplaneApplyDelay",
          "NameGoAPI": "DebugSimulateDataplaneApplyDelay",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Adds an artificial delay to every dataplane operation. This is useful for\nsimulating a heavily loaded system for test purposes only.",
          "DescriptionHTML": "<p>Adds an artificial delay to every dataplane operation. This is useful for\nsimulating a heavily loaded system for test purposes only.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Debug/test-only (generally unsupported)",
          "GroupWithSortPrefix": "97 Debug/test-only (generally unsupported)",
          "NameConfigFile": "DebugSimulateDataplaneHangAfter",
          "NameEnvVar": "FELIX_DebugSimulateDataplaneHangAfter",
          "NameYAML": "debugSimulateDataplaneHangAfter",
          "NameGoAPI": "DebugSimulateDataplaneHangAfter",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "0",
          "ParsedDefault": "0s",
          "ParsedDefaultJSON": "0",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Used to simulate a hang in the dataplane after the specified duration.\nThis is useful in tests of the watchdog system only!",
          "DescriptionHTML": "<p>Used to simulate a hang in the dataplane after the specified duration.\nThis is useful in tests of the watchdog system only!</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        }
      ]
    },
    {
      "Name": "Usage reporting",
      "Fields": [
        {
          "Group": "Usage reporting",
          "GroupWithSortPrefix": "99 Usage reporting",
          "NameConfigFile": "UsageReportingEnabled",
          "NameEnvVar": "FELIX_UsageReportingEnabled",
          "NameYAML": "usageReportingEnabled",
          "NameGoAPI": "UsageReportingEnabled",
          "StringSchema": "Boolean: `true`, `1`, `yes`, `y`, `t` accepted as True; `false`, `0`, `no`, `n`, `f` accepted (case insensitively) as False.",
          "StringSchemaHTML": "Boolean: <code>true</code>, <code>1</code>, <code>yes</code>, <code>y</code>, <code>t</code> accepted as True; <code>false</code>, <code>0</code>, <code>no</code>, <code>n</code>, <code>f</code> accepted (case insensitively) as False.",
          "StringDefault": "true",
          "ParsedDefault": "true",
          "ParsedDefaultJSON": "true",
          "ParsedType": "bool",
          "YAMLType": "boolean",
          "YAMLSchema": "Boolean.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Boolean.",
          "YAMLDefault": "true",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Reports anonymous Calico version number and cluster size to projectcalico.org. Logs warnings returned by the usage\nserver. For example, if a significant security vulnerability has been discovered in the version of Calico being used.",
          "DescriptionHTML": "<p>Reports anonymous Calico version number and cluster size to projectcalico.org. Logs warnings returned by the usage\nserver. For example, if a significant security vulnerability has been discovered in the version of Calico being used.</p>",
          "UserEditable": true,
          "GoType": "*bool"
        },
        {
          "Group": "Usage reporting",
          "GroupWithSortPrefix": "99 Usage reporting",
          "NameConfigFile": "UsageReportingInitialDelaySecs",
          "NameEnvVar": "FELIX_UsageReportingInitialDelaySecs",
          "NameYAML": "usageReportingInitialDelay",
          "NameGoAPI": "UsageReportingInitialDelay",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "300",
          "ParsedDefault": "5m0s",
          "ParsedDefaultJSON": "300000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "5m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the minimum delay before Felix makes a report.",
          "DescriptionHTML": "<p>Controls the minimum delay before Felix makes a report.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        },
        {
          "Group": "Usage reporting",
          "GroupWithSortPrefix": "99 Usage reporting",
          "NameConfigFile": "UsageReportingIntervalSecs",
          "NameEnvVar": "FELIX_UsageReportingIntervalSecs",
          "NameYAML": "usageReportingInterval",
          "NameGoAPI": "UsageReportingInterval",
          "StringSchema": "Seconds (floating point)",
          "StringSchemaHTML": "Seconds (floating point)",
          "StringDefault": "86400",
          "ParsedDefault": "24h0m0s",
          "ParsedDefaultJSON": "86400000000000",
          "ParsedType": "time.Duration",
          "YAMLType": "string",
          "YAMLSchema": "Duration string, for example `1m30s123ms` or `1h5m`.",
          "YAMLEnumValues": null,
          "YAMLSchemaHTML": "Duration string, for example <code>1m30s123ms</code> or <code>1h5m</code>.",
          "YAMLDefault": "24h0m0s",
          "Required": false,
          "OnParseFailure": "ReplaceWithDefault",
          "AllowedConfigSources": "All",
          "Description": "Controls the interval at which Felix makes reports.",
          "DescriptionHTML": "<p>Controls the interval at which Felix makes reports.</p>",
          "UserEditable": true,
          "GoType": "*v1.Duration"
        }
      ]
    }
  ]
}

---

--- METRICS ---
- Files Extracted: 64
- Estimated Token Budget: ~128688 tokens
- Canonical Reference: https://codewiki.google/github.com/projectcalico/calico
