Bruce Ma
869d5ec873
pkg/ipam : use delegateArgs instead of env set/unset in ipam.ExecDel
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-06-18 21:02:01 +08:00
Bruce Ma
93919752fb
bump containernetworking/cni up to v0.7.1
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-06-18 20:49:51 +08:00
Dan Williams
fe60fcddb8
Merge pull request #326 from squeed/bump-release-go
...
Release: bump go to v1.12
v0.8.1
2019-05-29 11:30:15 -05:00
Dan Williams
e308211d34
Merge pull request #300 from zshi-redhat/host-device-pci-parameter
...
host-device: add pciBusID property
2019-05-29 11:06:00 -05:00
Casey Callendrello
29a431f1fc
Release: bump go to v1.12
2019-05-29 17:58:47 +02:00
Casey Callendrello
7d75ab66a4
Merge pull request #321 from mars1024/modify/bandwidth
...
bandwidth: get bandwidth interface in host ns through container interface
2019-05-29 17:57:36 +02:00
Bryan Boreham
d5c8b4b206
Merge pull request #325 from nickethier/b-bridge-ipmasq
...
bridge: fix ipMasq setup to use correct source address
2019-05-29 16:44:18 +01:00
Dan Williams
5a4085f1fa
Merge pull request #324 from moshe010/fix_386
...
fix compilation error on 386
2019-05-29 10:43:18 -05:00
Nick Ethier
37d2ee1d5d
bridge: don't use canonical CIDR address when setting up IP masquerade
2019-05-25 20:55:47 -04:00
Nick Ethier
7f9b1844b8
bridge: add test for ipMasq rules
2019-05-24 23:14:31 -04:00
Moshe Levi
2753b9af8f
fix compilation error on 386
...
Update github.com/safchain/ethtool to fix the compilation
error on 386. Also added 386 to the tarvis yaml.
Fixes #322
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-05-24 23:43:37 +03:00
Bruce Ma
d35c96dda6
bandwidth: add testcases for func getHostInterface
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-05-21 00:28:04 +08:00
Bruce Ma
344d343431
bandwidth: get bandwidth interface in host ns through container interface
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-05-18 14:06:45 +08:00
Casey Callendrello
0950a3607b
Merge pull request #279 from mars1024/bugfix/ipmasq_source
...
change source of ipmasq rule from ipn to ip
v0.8.0
2019-05-10 13:40:17 +02:00
Dan Williams
a6a8a818e4
Merge pull request #314 from mccv1r0/ipam303
...
Have ipam.ExecDel set CNI_COMMAND to DEL
2019-05-08 11:09:39 -05:00
Michael Cambria
02ccf1ef9b
Have ipam.ExecDel set CNI_COMMAND to DEL
2019-05-08 11:50:28 -04:00
Casey Callendrello
a03e6b505e
Merge pull request #307 from SchSeba/l2-macvlan
...
Allow to configure empty ipam for macvlan
2019-05-08 17:27:52 +02:00
Dan Williams
6bceb68143
Merge pull request #309 from nagiesek/flannel
...
Flannel: Pass through runtimeConfig to delegate
2019-05-08 10:25:50 -05:00
Dan Williams
e2187efec1
Merge pull request #312 from nagiesek/caseInsensitiveCompare
...
Windows: case insensitive compare for ids
2019-05-08 10:25:28 -05:00
Nathan Gieseker
5a78120e24
Windows: case insensitive compare for ids
2019-05-02 19:54:39 -07:00
Nathan Gieseker
071907f867
Flannel: pass runtimeConfig into delegate
2019-05-01 15:58:24 -07:00
Dan Williams
2d6d46d308
Merge pull request #311 from dcbw/get-to-check-cleanups
...
windows,flannel: cmdGet -> cmdCheck and fix flannel Check return
2019-05-01 14:17:48 -05:00
Sebastian Sch
af692de1b8
Allow to configure empty ipam for macvlan
...
This PR add the option to configure an empty ipam for the macvlan cni plugin.
When using the macvlan cni plugin with an empty ipam the requeted pod will get the macvlan interface but without any ip address.
One of the use cases for this feature is for projects that runs a dhcp server inside the pod like KubeVirt.
In KubeVirt we need to let the vm running inside the pod to make the dhcp request so it will be able to make a release an renew request when needed.
2019-05-01 20:29:22 +03:00
Dan Williams
ae0b03787f
windows,flannel: cmdGet -> cmdCheck and fix flannel Check return
2019-05-01 10:48:14 -05:00
Dan Williams
b199dc3ffe
Merge pull request #310 from squeed/cni-07
...
vendor: bump cni to v0.7.0
2019-04-30 09:38:20 -05:00
Casey Callendrello
dbc86e4db2
Merge pull request #298 from s1061123/dev/macvlan-default-master
...
macvlan: make master config as optional
2019-04-30 15:47:51 +02:00
Casey Callendrello
29801c45a7
vendor: bump cni to v0.7.0
2019-04-30 15:46:12 +02:00
Bruce Ma
12b426a921
update go-iptables to v0.4.1 to fix CI broken
2019-04-26 20:34:46 +08:00
Bruce Ma
7efec9ea46
change source of ipmasq rule from ipn to ip
2019-04-25 15:59:02 +08:00
Zenghui Shi
79b1c402c4
host-device: add deviceID property
...
Fixes #253
2019-04-25 12:17:40 +08:00
Dan Williams
44297f6ba3
Merge pull request #304 from mccv1r0/sbrnoop
...
Don't return error for cmdCheck() when support is not implemented
2019-04-24 15:30:59 -05:00
Michael Cambria
cc4976a43c
return nil instead of error for cmdCheck until support is added
2019-04-24 13:47:58 -04:00
Dan Williams
827a4bd843
Merge pull request #301 from mars1024/bugfix/ipam_revert
...
fix bug on ip revert if cmdAdd fails on macvlan and host-device
2019-04-24 10:36:40 -05:00
Dan Williams
697550083d
Merge pull request #286 from nagiesek/noErrorEndpointNotFound
...
Windows: No error for no endpoint on DEL. Ipam clean-up on ADD failure
2019-04-24 10:36:25 -05:00
Bruce Ma
214bcb8c8b
fix bug on ipam revert if cmdAdd fails on macvlan and host-device
2019-04-18 21:16:29 +08:00
nagiesek
635968aaff
Merge branch 'master' into noErrorEndpointNotFound
2019-04-17 23:04:04 -07:00
Dan Williams
7df5acee0f
Merge pull request #288 from dcbw/coveralls
...
test: add coveralls support
2019-04-17 13:54:51 -05:00
Tomofumi Hayashi
7924ef76da
Incorporate with reviewer's comments
2019-04-18 00:54:31 +09:00
Casey Callendrello
5e25b0e40c
Merge pull request #295 from squeed/buildversion
...
plugins: correctly output build version, cosmetic cleanups
2019-04-17 17:54:05 +02:00
Nathan Gieseker
688a87a055
Windows: No error for no endpoint found On Del. Ipam clean-up on ADD failure.
...
We used to return error if no endpoint was found during delete. We now treat this as a success. If we fail during an add call, we now make a delete delegate call to the ipam to clean-up.
2019-04-17 08:33:10 -07:00
Dan Williams
229ec3602d
test: add coveralls support
2019-04-17 10:30:11 -05:00
Tomofumi Hayashi
8c52f50849
macvlan: make master config as optional
...
To ease of config, make master config as optional parameter.
In default case, default route interface will be used for master.
2019-04-17 16:28:27 +09:00
Casey Callendrello
6ea047fe09
build_linux: don't build the sample plugin
...
It shouldn't be included in releases.
2019-04-15 16:52:11 +02: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
Dan Williams
6733d30762
Merge pull request #290 from mccv1r0/pr75
...
PR75 updated with Check Support
2019-04-12 14:15:10 -05:00
Michael Cambria
d47387c6fe
Add Check support to firewall meta plugin, test cases
2019-04-12 14:37:21 -04:00
Dan Williams
95be5da5e2
firewall: add a couple more testcases
2019-04-12 14:37:21 -04:00
Dan Williams
b46e1a0138
firewall: consolidate firewalld code into firewall plugin
2019-04-12 14:37:21 -04:00
Michal Rostecki
9d6f1e9975
firewall: add firewalld functionality to firewall plugin
...
Example of usage, which uses flannel for allocating IP
addresses for containers and then registers them in `trusted`
zone in firewalld:
{
"cniVersion": "0.3.1",
"name": "flannel-firewalld",
"plugins": [
{
"name": "cbr0",
"type": "flannel",
"delegate": {
"isDefaultGateway": true
}
},
{
"type": "firewall",
"backend": "firewalld",
"zone": "trusted"
}
]
}
Fixes #114
Signed-off-by: Alban Crequy <alban@kinvolk.io>
Signed-off-by: Michal Rostecki <mrostecki@suse.com>
2019-04-12 14:37:21 -04:00
Michal Rostecki
eb66fc201c
vendor: Add github.com/godbus/dbus
...
Signed-off-by: Michal Rostecki <mrostecki@suse.com>
2019-04-12 14:37:21 -04:00