plugins: set MAC addresses based on IP
authorStefan Junker <mail@stefanjunker.de>
Wed, 29 Jun 2016 00:46:17 +0000 (17:46 -0700)
committerStefan Junker <mail@stefanjunker.de>
Fri, 22 Jul 2016 22:34:53 +0000 (15:34 -0700)
commitb6137de9930a6519dae4c5100afabdc6d4374676
tree8f52c105f89178b00f44a8f5d6578f1b15155dd6
parentc3e8563e776e3323729d4aae1d4d68bc39fd4a93
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
ip/link.go
ipam/ipam.go
utils/hwaddr/hwaddr.go
utils/hwaddr/hwaddr_test.go