diff options
author | Joffrey F <joffrey@docker.com> | 2017-05-17 15:23:36 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-05-17 15:25:10 -0700 |
commit | ff718f5dac2ba00ffbb52c0f3b1af5b687f07930 (patch) | |
tree | c06c1657c4935af6905f1ae7c22c1d5a88a7e228 /docker/models | |
parent | 7af7e1b73adbbe9385ee052ebd3755a1a62652f2 (diff) | |
download | docker-py-create-ingress-network.tar.gz |
Add support for ingress in create_networkcreate-ingress-network
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/models')
-rw-r--r-- | docker/models/networks.py | 2 |
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. |