<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Bharath,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I agree the “container” part. We can implement “magnum container-create ..” for mesos bay in the way you mentioned. Personally, I don’t like to introduce “apps”
 and “appgroups” resources to Magnum, because they are already provided by native tool [1]. I couldn’t see the benefits to implement a wrapper API to offer what native tool already offers. However, if you can point out a valid use case to wrap the API, I will
 give it more thoughts.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hongbin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[1] https://docs.mesosphere.com/using/cli/marathonsyntax/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> bharath thiruveedula [mailto:bharath_ves@hotmail.com]
<br>
<b>Sent:</b> November-18-15 1:20 PM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> [openstack-dev] [magnum] Mesos Conductor<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444;background:white">Hi all,</span><span style="font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">I am working on the blueprint <a href="https://blueprints.launchpad.net/magnum/+spec/mesos-conductor" target="_blank"><span style="font-size:12.0pt;color:#0068CF">[</span></a>1].
 As per my understanding, we have two resources/objects in mesos+marathon:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">1)<b>Apps</b>: combination of instances/containers running on multiple hosts representing a service.[2]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">2)<b>Application Groups</b>: Group of apps, for example we can have database application group which consists mongoDB
 app and MySQL App.[3]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">So I think we need to have two resources 'apps' and 'appgroups' in mesos conductor like we have pod and rc for k8s.
 And regarding 'magnum container' command, we can create, delete and retrieve container details as part of mesos app itself(container =  app with 1 instance). Though I think in mesos case 'magnum app-create ..."  and 'magnum container-create ...' will use the
 same REST API for both cases. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:#444444">Let me know your opinion/comments on this and correct me if I am wrong</span><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">[1]<a href="https://blueprints.launchpad.net/magnum/+spec/mesos-conductor." target="_blank"><span style="font-size:12.0pt;color:#0068CF">https://blueprints.launchpad.net/magnum/+spec/mesos-conductor.</span></a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444">[2]<a href="https://mesosphere.github.io/marathon/docs/application-basics.html" target="_blank"><span style="font-size:12.0pt;color:#0068CF">https://mesosphere.github.io/marathon/docs/application-basics.html</span></a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:#444444">[3]</span><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><a href="https://mesosphere.github.io/marathon/docs/application-groups.html" target="_blank"><span style="font-size:12.0pt;color:#0068CF">https://mesosphere.github.io/marathon/docs/application-groups.html</span></a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:#444444">Regards</span><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:16.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:#444444">Bharath T </span><span style="font-size:11.5pt;font-family:"Calibri","sans-serif";color:#444444"><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>