Miguel Duarte Barroso
a786b12b68
static ipam: decide wrong cidr error msg
...
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
2021-06-25 11:24:56 +01:00
Miguel Duarte Barroso
0db5882a12
static ipam: stop wrapping net.ParseCIDR errors
...
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
2021-06-25 11:24:56 +01:00
Miguel Duarte Barroso
5a408187d4
static ipam: show confusing error msg
...
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
2021-06-25 11:24:54 +01:00
Nico Schieder
8f32968f73
Fix nil-pointer check
...
Signed-off-by: Nico Schieder <nschieder@redhat.com>
2021-04-13 13:42:23 +02:00
Kavya
5b02c2ab70
Fix broken links to online docs in plugin READMEs
...
Signed-off-by: Kavya <kavya.g@ibm.com>
2021-03-25 13:07:33 +05:30
Dan Williams
f534133ec7
static: increase test coverage to 1.0.0 and older spec versions
...
Signed-off-by: Dan Williams <dcbw@redhat.com>
2021-02-12 14:41:38 -06:00
Dan Williams
7d8c767622
plugins: update to spec version 1.0.0
...
Signed-off-by: Dan Williams <dcbw@redhat.com>
2021-02-11 23:27:08 -06:00
Nate W
cccf5395e8
Updating plugin README.md files ( #549 )
...
Removing content and pointing at the new website as a part of the CNI Documentation migration.
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
2020-11-18 17:38:45 +01:00
Tomofumi Hayashi
2290fc8d8a
static: prioritize the input sources for IPs
...
This change introduce priorities for IPs input among CNI_ARGS,
'args' and runtimeConfig. Fix #399 .
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2019-10-17 13:36:49 +09:00
Tomofumi Hayashi
a069a5f1a3
Support "args" in static and tuning
...
Support "args" field in JSON config to additional configuration
in static and tuning plugins.
2019-08-09 11:52:06 +09:00
Tomofumi Hayashi
660685a8af
Support ips capability in static and mac capability in tuning
...
This change introduces new capability flag to change MAC address
and to specify IP addresses by tuning and static.
2019-06-20 17:11:47 +09:00
Casey Callendrello
72f2a1ffd4
plugins: correctly output build version, cosmetic cleanups
...
Now that libcni has the ability to print a version message, plumb it
through correctly.
While we're at it,
- fix import paths
- run gofmt
- add some more comments to sample
- add container runtime swappability for release
2019-04-15 16:52:07 +02:00
Michael Cambria
74a2596573
Add check support for: bridge, ipvlan, macvlan, p2p, vlan and host-device main plugins
...
host-local and static ipam plugins
tuning, bandwidth and portmap meta plugins
Utility functions created for common PrevResult checking
Fix windows build
2019-04-03 13:08:07 -04:00
Nguyen Quang Huy
4bca3e76bf
Fix redundant import alias
...
Because these package names are short and they are unique, it can not conflict. So the import aliases that can be omitted and we should remove them.
2019-02-20 16:58:45 +07:00
Tomofumi Hayashi
094c903932
Incorporate Dan's comments.
2018-09-13 01:46:11 +09:00
Tomofumi Hayashi
61a412ea77
Align test suite name with others
2018-09-06 15:56:40 +09:00
Tomofumi Hayashi
61c136126f
Support multiple IP addresses in CNI_ARGS
2018-09-06 15:50:18 +09:00
Tomofumi Hayashi
321467bf1b
Merge remote-tracking branch 'upstream/master' into dev/static-args
2018-09-05 14:39:16 +09:00
Tomofumi Hayashi
60a99ca331
Incorporate Dan's comments.
2018-09-05 14:37:31 +09:00
Bryan Boreham
75d3585862
Merge pull request #174 from jellonek/updatecomment
...
plugins/ipam/static: Update docstring
2018-08-01 16:28:45 +01:00
Tomofumi Hayashi
cc3ad26691
Incorporate Casey's comments
2018-07-27 12:47:28 +09:00
Piotr Skamruk
6dc16b9132
plugins/ipam/static: Update docstring
2018-07-19 14:35:10 +02:00
Tomofumi Hayashi
3b3622db67
Incorporate jellonek's comments.
2018-07-06 13:17:22 +09:00
CuiHaozhi
dc899ac0e0
remove duplicated assginment.
...
Signed-off-by: CuiHaozhi <61755280@qq.com>
2018-07-05 09:21:09 +08:00
Tomofumi Hayashi
6da1cb7876
Support CNI_ARGS in static IPAM plugin
...
This change is to add CNI_ARGS support in static IPAM plugin.
When IP/SUBNET/GATEWAY are given in CNI_ARGS, static IPAM adds
these info in addition to config files.
To configure ip address only from CNI_ARGS, 'address' field in config
is changed to optional from required.
2018-06-18 16:18:47 +09:00
Casey Callendrello
68b4efb405
plugins/* stub-out GET functions so plugins build with v0.7
2018-06-15 15:28:53 +02:00
Dan Williams
731298003c
plugins/testutils: pass CNI_CONTAINERID to plugins in testcases
...
Recent CNI specification changes require the container ID on ADD/DEL,
which the testcases were not providing. Fix that up so things work
when this repo gets CNI revendored.
2018-04-26 11:24:30 -05:00
Tomofumi Hayashi
263ff063a6
Add static CNI plugin
...
This changes to add 'static' CNI plugin, which provides to assign
IPv4/v6 address statically from given config file. See README.md
for the details.
2018-03-29 14:10:04 +09:00