/calico-cni

Calico CNI plugin

Primary LanguagePythonApache License 2.0Apache-2.0

CircleCI branch Coverage Status Slack Status IRC Channel

Calico Networking for CNI

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.

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

For details of configuration, see the configuration.md file.

The calico-containers repository contains getting started guides for a number of scenarios, as well as more detailed documentation regarding our CNI integration.

To learn more about CNI, visit the appc/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 unit and fv tests.

  • To just build the binaries, with no tests, run make binary. This will produce dist/calico and dist/calico-ipam.
  • To only run the unit tests, simply run make ut.
  • To only run the fv tests, simply run make fv.

Analytics