aade7b93ee
build: some small improvements; bump to go1.10
...
- bump to go 1.10
- Add a linker tag with the build version
- Remove fastbuild, go builds are cached now
- Use better ginkgo suite names
2018-04-12 16:59:51 +02:00
bb1e8d10a7
Merge pull request #143 from containernetworking/v0.7
...
Merge v0.7.1 fix into master
2018-04-12 09:21:42 -05:00
0dba9daee0
Merge pull request #136 from s1061123/add_static
...
plugins: add static CNI plugin
2018-04-12 06:34:52 -05:00
72b62babee
Merge pull request #141 from squeed/missing-mac
...
pkg/ip: re-fetch the created link to return creation-time parameters
v0.7.2
v0.7.1
2018-04-12 11:09:35 +02:00
e4f13535ab
Merge pull request #131 from squeed/no-delete-ns
...
pkg/ns: remove namespace creation (and move to testutils)
2018-04-11 13:32:32 -05:00
26dafaa097
plugins/ptp: test for valid data in Interfaces field
2018-04-11 15:19:20 +02:00
13e6a4b2ba
plugins/bridge: Make stricter assertions about the return data
2018-04-11 15:10:39 +02:00
00b072dd0b
pkg/ip: re-fetch the created link to return creation-time parameters
...
Fixes: #140
2018-04-11 15:04:38 +02:00
a0eac8d7d9
pkg/ns: remove namespace creation (and move to testutils)
...
Namespace creation had an unergonomic interface and isn't used, except
for testing code. Remove it; downstream users should really be creating
their own namespaces
2018-04-03 18:56:25 +02:00
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
9c36007eea
Merge pull request #132 from lsm5/custom-go
...
allow building with custom Go binary
2018-03-28 10:10:44 -05:00
9bdf37ff9a
allow building with custom Go binary
...
I need to build deb packages using golang-1.10 on Ubuntu Xenial which is
present in a non-default location while /usr/bin/go is at golang-1.6.
With this commit I can simply run:
`GO=/usr/lib/go-1.10/bin/go ./build.sh`
to use golang-1.10.
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org >
2018-03-23 13:55:30 +00:00
e590fca5ae
Merge pull request #130 from jingax10/fix_typo_branch
...
Fix a typo in PTP plugin comment, i.e., s/IFF_POINTOPONT/IFF_POINTTOPOINT.
2018-03-21 08:28:55 -05:00
00fbba085e
Fix a typo s/IFF_POINTOPONT/IFF_POINTTOPOINT.
2018-03-15 22:47:54 -07:00
1fb94a4222
Merge pull request #96 from DennisDenuto/denuto/master
...
plugins/meta/bandwidth: traffic shaping plugin
2018-03-14 08:11:28 -07:00
fe0cf201f8
Safely print error
...
Format plugin code
Signed-off-by: Aidan Obley <aobley@pivotal.io >
2018-03-12 15:53:23 -07:00
d2f6472474
Ensure the bandwith plugin chooses the host veth device
...
When chained with a plugin that returns multiple devices, the bandwidth
plugin chooses the host veth device.
Signed-off-by: Tyler Schultz <tschultz@pivotal.io >
2018-03-12 15:08:53 -07:00
56989e2380
Merge pull request #124 from squeed/masq-del
...
pkg/ip: Tearing down ipmasq should be idempotent
2018-03-07 17:40:21 +01:00
d5bdfe4cbd
top-level integration test for bridge + bandwidth
2018-02-28 13:28:06 -08:00
2793dd11cb
top-level integration test coverage for ptp + bandwidth
2018-02-28 12:56:10 -08:00
90252c30fb
meta/bandwidth: package main so we can build a binary
2018-02-27 22:24:26 -08:00
59fa37252f
meta/bandwidth: group and sort imports
...
ref: https://github.com/golang/go/wiki/CodeReviewComments#imports
2018-02-27 20:47:42 -08:00
dce91d11d6
meta/bandwidth: remove boilerplate comments
2018-02-27 20:47:41 -08:00
b78e535055
plugins/meta/bandwith: traffic shaping plugin
...
Add chained plugin to add a tbf qdisc to shape ingress/egress traffic
2018-02-27 20:47:41 -08:00
372bb5e826
Merge pull request #119 from jzwlqx/master
...
dhcp: clean duplicated error message
2018-02-21 11:09:15 -06:00
961b53bf2f
Merge pull request #122 from rosenhouse/bump-golang-1.10
...
travis: bump golang versions
2018-02-21 11:08:29 -06:00
c82fb1bbe2
Merge pull request #120 from rosenhouse/get-peer
...
Adds GetVethPeerIfindex library function
2018-02-21 08:13:15 -08:00
c850d4514d
pkg/ip: Tearing down ipmasq should be idempotent
2018-02-21 15:38:16 +01:00
fa2bf4c210
vendor: bump go-iptables
2018-02-21 15:35:43 +01:00
6cb23dc489
travis: bump golang versions
...
- test against Go 1.10
- stop testing against Go 1.8
since Go language maintainers no longer support 1.8
see: https://golang.org/doc/devel/release.html#policy
2018-02-17 19:25:19 -08:00
8e0f961576
Merge pull request #121 from rosenhouse/fix-go-vet-err
...
bridge test: fix go vet error
2018-02-17 19:23:28 -08:00
69cc860821
bridge test: fix go vet error
2018-02-17 18:51:41 -08:00
0536605966
pkg/ip: GetVethPeerIfindex: add basic test coverage
2018-02-17 16:10:19 -08:00
b16633bbe9
pkg/ip: add GetVethPeerIfindex()
2018-02-17 15:42:10 -08:00
8da8088d43
vendor: add safchain/ethtool
2018-02-17 15:42:05 -08:00
dd8ff8a5cf
Merge pull request #113 from nyren/master
...
Explicitly enable IPv6 sysctl
v0.7.0
2018-02-14 16:11:11 +00:00
08ec2995ba
Explicitly enable IPv6 sysctl
...
If CNI is about to configure an IPv6 address, make sure IPv6 is not
disabled through the "disable_ipv6" sysctl setting.
This is a workaround for Docker 17.06 and later which sets
disable_ipv6=1 for all interfaces even if ipv6 is enabled in Docker.
2018-02-13 20:11:06 +01:00
fdc602c0f0
clean duplicated error message
2018-02-12 16:47:53 +08:00
136399f078
Merge pull request #117 from dcbw/dhcp-cleanup
...
dhcp plugin testcases and bug fixes
v0.7.0-rc2
2018-02-09 19:23:51 +01:00
596480eadc
dhcp: remove leases when they are released
...
Don't lock around the Stop() operation though, as that may take
a while and block other operations. That may mean we call Stop()
multiple times, but the Lease object should handle that correctly
itself.
2018-02-08 11:17:38 -06:00
61c3c42107
dhcp: don't try to close the lease stop channel multiple times
...
Fixes: https://github.com/containernetworking/plugins/issues/105
2018-02-08 11:17:38 -06:00
b522ed6aae
plugins/dhcp: add testcase
2018-02-08 11:17:38 -06:00
26ef6e312d
vendor: add d2g/dhcp4server
2018-02-07 12:48:08 -06:00
461d433911
Merge pull request #116 from squeed/release-bump-go
...
release: bump golang version
v0.7.0-rc1
2018-02-07 14:44:43 +01:00
84a01001be
release: bump golang version
2018-02-07 13:16:30 +01:00
e2f063b534
Merge pull request #88 from lyft/ipvlan-master-intf-ipam
...
ipvlan: support enslaving an interface returned by ipam
2018-01-31 17:17:13 +01:00
9e5836047c
Merge pull request #104 from mzahorik/master
...
Append default route and process route options in compliance with RFC 3442
2018-01-31 15:08:57 +01:00
808d4e20ae
Append a default route to the CNI reply if there's a gateway advertised.
...
Classless static routes (DHCP option 121) are now processed first.
If CSRs exist, static routes (DHCP option 33) and the gateway default
route are ignored as per RFC 3442.
2018-01-26 10:06:26 -05:00
3468364f7e
Merge branch 'master' into ipvlan-master-intf-ipam
2018-01-25 15:06:06 -08:00
412b6d3128
Merge pull request #111 from s1061123/add_procfsprefx
...
Add -hostprefix in DHCP daemon to run the daemon as container
2018-01-25 12:00:51 +01:00