<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:微软雅黑
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Maybe we can add a object mapping to docker-compose.<br><br><div><hr id="stopSpelling">Date: Wed, 15 Apr 2015 23:32:01 +0800<br>From: jay.lau.513@gmail.com<br>To: openstack-dev@lists.openstack.org<br>Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum<br><br><div dir="ltr">Thanks Andrew and Fenghua. I see. The current docker-swarm template only using heat to create a swarm cluster, I see you have many bps related to this. ;-)<br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2015-04-15 23:13 GMT+08:00 FangFenghua <span dir="ltr"><<a href="mailto:fang_fenghua@hotmail.com" target="_blank">fang_fenghua@hotmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">For docker-swam bay,I think the bay looks like a big machine have a docker-daemon.<div>We can create container in it.<br><div><div><div><hr>From: <a href="mailto:andrew.melton@RACKSPACE.COM" target="_blank">andrew.melton@RACKSPACE.COM</a><br>To: <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>Date: Wed, 15 Apr 2015 14:53:39 +0000<br>Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum<div><div class="h5"><br><br>





​​​Hi Jay,<br>
<br>
<br>
<br>
Magnum Bays do not currently use the docker-swarm template. I'm working on a patch to add support for the docker-swarm template. That is going to require a new TemplateDefinition, and potentially some new config options and/or Bay/BayModel parameters. After
 that, the Docker container conductor will need to be updated to pull it's connection string from the Bay instead of the <br>
<br>
<br>
<br>
To answer your main question though, the idea is that once users can build a docker-swarm bay, they will use the container endpoints of our API to interact with the bay.<br>
<br>
<br>
<br>
--Andrew<br>
<br>
<div style="color:rgb(33,33,33);">
<hr style="display:inline-block;width:98%;">
<div dir="ltr"><font style="font-size:11pt;" face="Calibri, sans-serif" color="#000000"><b>From:</b> Jay Lau <<a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a>><br>
<b>Sent:</b> Tuesday, April 14, 2015 5:33 AM<br>
<b>To:</b> OpenStack Development Mailing List<br>
<b>Subject:</b> [openstack-dev] [magnum] How to use docker-swarm bay in magnum</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Greetings,<br>
<br>
</div>
Currently, there is a docker-swarm bay in magnum, but the problem is after this swarm bay was created, how to let user use this bay? Still using swarm CLI? The magnum do not have API/CLI to interact with swarm bay now.<br clear="all">
<div>
<div>
<div>
<div><br>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Thanks,<br>
<br>
</div>
Jay Lau (Guangya Liu)<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>


<br></div></div>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="http://lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></div></div></div>                                         </div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="ecxgmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br><br></div>Jay Lau (Guangya Liu)<br></div></div></div></div>
</div>
<br>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</div>                                     </div></body>
</html>