From ff718f5dac2ba00ffbb52c0f3b1af5b687f07930 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Wed, 17 May 2017 15:23:36 -0700 Subject: Add support for ingress in create_network Signed-off-by: Joffrey F --- docker/models/networks.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/models/networks.py') diff --git a/docker/models/networks.py b/docker/models/networks.py index 5868097..afb0ebe 100644 --- a/docker/models/networks.py +++ b/docker/models/networks.py @@ -111,6 +111,8 @@ class NetworkCollection(Collection): labels (dict): Map of labels to set on the network. Default ``None``. enable_ipv6 (bool): Enable IPv6 on the network. Default ``False``. + ingress (bool): If set, create an ingress network which provides + the routing-mesh in swarm mode. Returns: (:py:class:`Network`): The network that was created. -- cgit v1.2.1