Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

projectcalico/libcalico

Repository files navigation

Circle CI Coverage Status

libcalico

NOTE: Python libcalico is no longer being actively developed, and as such is likely to become out-of-date and potentially incompatible with newer Calico versions and features. Instead, it is strongly recommended to use the Golang library, libcalico-go. Feel free to contribute patches to this repo as the maintainers will continue to review and merge community PRs.

Libcalico is a library for interacting with the Calico data model. It also contains code for working with veths.

  • It's written in Python (though ports into other languages would be welcomed as PRs)
  • It currently just talks to etcd as the backend datastore.

It's currently focused on the the container side of Calico, though again PRs are welcomed to make it more general.

Running tests

To run tests for libcalico:

  1. Install Docker.

  2. At the root of the libcalico directory, run:

     make test
    

Analytics