17 lines
703 B
Markdown
17 lines
703 B
Markdown
|
## `contrib/cni` ##
|
||
|
|
||
|
There are a wide variety of different [CNI][cni] network configurations. This
|
||
|
directory just contains some example configurations that can be used as the
|
||
|
basis for your own configurations (distibutions should package these files in
|
||
|
example directories).
|
||
|
|
||
|
To use these configurations, place them in `/etc/cni/net.d` (or the directory
|
||
|
specified by `ocid.network.network_dir` in your `ocid.conf`).
|
||
|
|
||
|
In addition, you need to install the [CNI plugins][cni] necessary into
|
||
|
`/opt/cni/bin` (or the directory specified by `ocid.network.plugin_dir`). The
|
||
|
two plugins necessary for the example CNI configurations are `loopback` and
|
||
|
`bridge`.
|
||
|
|
||
|
[cni]: https://github.com/containernetworking/cni
|