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.
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 binary. This will produce dist/calico and dist/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.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.