From 5de15979c6c870fbe2aa46f860760495f2425e6f Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Tue, 5 Apr 2016 10:50:28 -0700 Subject: [PATCH] plugins/bridge: add support to set hairpin mode --- bridge.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridge.md b/bridge.md index bda5ac5c..f9c7f2c4 100644 --- a/bridge.md +++ b/bridge.md @@ -19,6 +19,7 @@ If the bridge is missing, the plugin will create one on first use and, if gatewa "bridge": "mynet0", "isGateway": true, "ipMasq": true, + "hairpinMode": true, "ipam": { "type": "host-local", "subnet": "10.10.0.0/16" @@ -34,4 +35,5 @@ If the bridge is missing, the plugin will create one on first use and, if gatewa * `isGateway` (boolean, optional): assign an IP address to the bridge. Defaults to false. * `ipMasq` (boolean, optional): set up IP Masquerade on the host for traffic originating from this network and destined outside of it. Defaults to false. * `mtu` (integer, optional): explicitly set MTU to the specified value. Defaults to the value chosen by the kernel. +* `hairpinMode` (boolean, optional): set hairpin mode for interfaces on the bridge. Defaults to false. * `ipam` (dictionary, required): IPAM configuration to be used for this network.