api,libcni: add network config list-based plugin chaining
authorDan Williams <dcbw@redhat.com>
Sat, 17 Dec 2016 00:56:39 +0000 (18:56 -0600)
committerDan Williams <dcbw@redhat.com>
Fri, 20 Jan 2017 04:28:21 +0000 (22:28 -0600)
commit0c2a034f015f1775bb10e231ea8245ec05d85dbe
tree30437aae019a01a9341e97393762b15b4eb1ffd3
parent7e16c86a5215d539d90597798881228d3f674879
api,libcni: add network config list-based plugin chaining

Using a new ".configlist" file format that allows specifying
a list of CNI network configurations to run, add new libcni
helper functions to call each plugin in the list, injecting
the overall name, CNI version, and previous plugin's Result
structure into the configuration of the next plugin.
libcni/api.go
libcni/api_test.go
libcni/conf.go
libcni/conf_test.go
pkg/types/types.go
plugins/test/noop/main.go
plugins/test/noop/noop_test.go