Kaydet (Commit) 9fdc8d47 authored tarafından minzhang's avatar minzhang Kaydeden (comit) Joffrey F

Added support for docker swarm api version 1.24.

3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: 's avatarMin Zhang <virgilerin@gmail.com>
Signed-off-by: 's avatarMin Zhang <virgilerin@gmail.com>
üst 44868fa0
......@@ -25,7 +25,7 @@ class SwarmApiMixin(object):
@utils.minimum_version('1.24')
def swarm_join(self, remote_address, listen_address=None,
secret=None, ca_cert_hash=None, manager=False):
data ={
data = {
"RemoteAddr": remote_address,
"ListenAddr": listen_address,
"Secret": secret,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment