Stefan Junker
22a0ddc906
pkg/utils/hwaddr tests: cover v4 in v6 addr
2016-08-01 16:50:40 -07:00
Stefan Junker
b6137de993
plugins: set MAC addresses based on IP
...
This will give deterministic MAC addresses for all interfaces CNI
creates and manages the IP for:
* bridge: container veth and host bridge
* macvlan: container veth
* ptp: container veth and host veth
2016-07-22 15:34:53 -07:00
Stefan Junker
c3e8563e77
pkg/utils/hwaddr: migrate code from IPAM pkg
2016-07-22 15:18:38 -07:00
Piotr Skamruk
5cbd217cbe
pkg/utils: add functions to work with sysctl
2016-05-19 12:06:16 +02:00
Jonathan Boulle
11c0bfada8
*: add missing license headers + check
2016-04-01 15:35:21 +02:00
Stefan Junker
2c1633f8e9
pkg/utils: correct the test's expected chain names
2016-03-31 18:01:32 +02:00
Stefan Junker
6c9b5a361a
*: add comment to iptables rules for ipmasq
2016-03-31 18:01:32 +02:00
Stefan Junker
42b74b9eb5
pkg/utils: remove unneeded condition in tests
2016-03-31 18:01:32 +02:00
Stefan Junker
9612d36615
pkg/utils: fix docstring
2016-03-31 18:01:32 +02:00
Stefan Junker
d4e088aad4
pkg/utils: split and unexport constants
2016-03-31 18:01:32 +02:00
Stefan Junker
f429750105
pkg/utils: fix docstring
2016-03-31 18:01:32 +02:00
Stefan Junker
f96a716154
pkg/utils: use constant for chain prefix
2016-03-31 18:01:32 +02:00
Stefan Junker
b4a2a1fa51
pkg/utils: use name+id for hash and extend tests
2016-03-31 18:01:32 +02:00
Abhishek Chanda
b87cf1ba9c
pkg: add a function to generate chain names
...
Adds a function to generate chain names for use in iptables and
ports all drivers to use that function. Also adds tests for the
said function.
2016-03-31 18:01:32 +02:00