bridge: add isDefaultGateway field
authorStefan Junker <mail@stefanjunker.de>
Fri, 4 Sep 2015 20:23:43 +0000 (22:23 +0200)
committerStefan Junker <mail@stefanjunker.de>
Fri, 20 May 2016 22:38:42 +0000 (00:38 +0200)
commit534768fcd4c887599d045d09305ebcbf3f576bab
tree068668c0c0e2b87527770896828c9d8ef234ed76
parentd30040f9f752765c9f9b02d9ac1f9c087f30762a
bridge: add isDefaultGateway field

When isDefaultGateway is true it automatically sets isGateway to true.
The default route will be added via the (bridge's) gateway IP.
If a default gateway has been configured via IPAM in the same
configuration file, the plugin will error out.
Documentation/bridge.md
plugins/main/bridge/bridge.go