summaryrefslogtreecommitdiff
path: root/docker/models
diff options
context:
space:
mode:
Diffstat (limited to 'docker/models')
-rw-r--r--docker/models/networks.py2
1 files changed, 2 insertions, 0 deletions
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.