Use single IP on the host for ptp veths
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Thu, 17 Sep 2015 18:49:21 +0000 (11:49 -0700)
committerStefan Junker <mail@stefanjunker.de>
Wed, 23 Sep 2015 09:04:38 +0000 (11:04 +0200)
commit7d8d6b2a7e3cf13b2137a6a771d1a4d6a1fcdfbd
tree2ae034cb3489e78559d9b095e03522502bfc54f9
parent94be1cfaabec001d2f5c61a1832436e7fb49f9ef
Use single IP on the host for ptp veths

Instead of allocating a /31 for each container,
use the same IP on the host side for all veths.
This is very similar how real point-to-point
devices work (using donor IPs).
plugins/main/ptp/ptp.go