57650a1e5b
host-device: revert name setting to make retries idempotent
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-07-19 21:26:07 +08:00
7ba2bcfeab
Merge pull request #353 from cf-container-networking/fix-hash-func
...
Increase IfbDeviceName size and refactor hashing functions, fix
2019-07-18 17:12:53 -04:00
3fb8dcfd4c
pkg/meta/bandwidth: increase IfbDeviceName size
...
* Increase entroy from 2 bytes to 7 bytes to prevent collisions
* Extract common library function for hash with prefix
* Refactor portmap plugin to use library function
fixes #347
Co-authored-by: Cameron Moreau <cmoreau@pivotal.io >
Co-authored-by: Mikael Manukyan <mmanukyan@pivotal.io >
2019-07-18 11:45:38 -07:00
966bbcb8a5
Merge pull request #348 from cf-container-networking/update-vagrantfile
...
update Go version in Vagrantfile
2019-07-10 10:04:52 -05:00
7d76537d4a
Merge pull request #349 from cf-container-networking/fix-ip-test
...
pkg/ip unit test: be agnostic of Linux version
2019-07-10 10:04:32 -05:00
f3b1ffc960
pkg/ip unit test: be agnostic of Linux version
...
on Linux 4.4 the syscall error message is "invalid argument" not "file
exists"
Co-authored-by: Gabe Rosenhouse <grosenhouse@pivotal.io >
2019-07-09 16:58:57 -07:00
ce9560712e
update Go version in Vagrantfile
...
update go to the lastest version v1.12.7
Co-authored-by: Gabe Rosenhouse <grosenhouse@pivotal.io >
2019-07-09 16:51:00 -07:00
e2984e7840
host-local: return error if duplicate allocation is requested for a given ID
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-07-06 10:05:18 +08:00
eb1ff18c4c
host-local: add some testcases for allocation idempotency
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-07-06 09:39:56 +08:00
e8771b36a2
host-local: make allocation idempotent to multiple requests with same id
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-07-06 09:39:56 +08:00
7f8ea631e5
host-local: make Store interface support to get ip list by id
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-07-06 09:39:56 +08:00
0eddc554c0
Merge pull request #343 from s1061123/dev/runtime-ips-mac
...
Support ips capability in static and mac capability in tuning
2019-07-03 17:48:55 +02:00
e8a25e33cd
Merge pull request #344 from cadmuxe/veth_name
...
Make host-side veth name configurable.
2019-07-03 17:46:02 +02:00
96bd10f679
Add pkg/ip/link_linux.go:SetupVethWithName to support the host-side veth
...
name configuration.
2019-06-26 10:24:40 -07:00
303299b7b2
Merge pull request #337 from nagiesek/goModUpdate
...
Go mod update
2019-06-26 11:03:40 -05:00
d42007865a
update iptables
2019-06-26 02:14:56 -07:00
ce60e8eb3d
dhcp module update
2019-06-26 02:07:24 -07:00
addbcd34b4
update ethtool
2019-06-26 02:07:24 -07:00
e8c953999e
vendor update
2019-06-26 02:07:24 -07:00
13fbc4afdf
Move over to go mod from dep
2019-06-26 02:07:23 -07:00
545a77f4bb
skip makeVeth retry if a vethPeerName is set.
2019-06-25 14:17:42 -07:00
c204dbd47c
update pkg/ip/link_linux.go:SetupVeth to support host-side veth name config.
2019-06-21 11:39:30 -07:00
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
2b6808807f
Merge pull request #341 from mars1024/bump_cni_to_0.7.1
...
bump containernetworking/cni to v0.7.1
2019-06-19 17:51:14 +02:00
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
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
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
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
29a431f1fc
Release: bump go to v1.12
2019-05-29 17:58:47 +02:00
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
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
5a4085f1fa
Merge pull request #324 from moshe010/fix_386
...
fix compilation error on 386
2019-05-29 10:43:18 -05:00
37d2ee1d5d
bridge: don't use canonical CIDR address when setting up IP masquerade
2019-05-25 20:55:47 -04:00
7f9b1844b8
bridge: add test for ipMasq rules
2019-05-24 23:14:31 -04:00
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
d35c96dda6
bandwidth: add testcases for func getHostInterface
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com >
2019-05-21 00:28:04 +08:00
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
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
a6a8a818e4
Merge pull request #314 from mccv1r0/ipam303
...
Have ipam.ExecDel set CNI_COMMAND to DEL
2019-05-08 11:09:39 -05:00
02ccf1ef9b
Have ipam.ExecDel set CNI_COMMAND to DEL
2019-05-08 11:50:28 -04:00
a03e6b505e
Merge pull request #307 from SchSeba/l2-macvlan
...
Allow to configure empty ipam for macvlan
2019-05-08 17:27:52 +02:00
6bceb68143
Merge pull request #309 from nagiesek/flannel
...
Flannel: Pass through runtimeConfig to delegate
2019-05-08 10:25:50 -05:00
e2187efec1
Merge pull request #312 from nagiesek/caseInsensitiveCompare
...
Windows: case insensitive compare for ids
2019-05-08 10:25:28 -05:00
5a78120e24
Windows: case insensitive compare for ids
2019-05-02 19:54:39 -07:00
071907f867
Flannel: pass runtimeConfig into delegate
2019-05-01 15:58:24 -07:00
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
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
ae0b03787f
windows,flannel: cmdGet -> cmdCheck and fix flannel Check return
2019-05-01 10:48:14 -05:00
b199dc3ffe
Merge pull request #310 from squeed/cni-07
...
vendor: bump cni to v0.7.0
2019-04-30 09:38:20 -05:00
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