<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=gb2312">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:SimSun;}
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:SimSun;}
tt
        {mso-style-priority:99;
        font-family:SimSun;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {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;}
/* List Definitions */
@list l0
        {mso-list-id:1423993758;
        mso-list-template-ids:-1777927524;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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">I am OK with server_type as well.<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""> Kai Qiang Wu [mailto:wkqwu@cn.ibm.com]
<br>
<b>Sent:</b> July-16-15 3:22 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">+ 1 about server_type.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I also think it is OK.</span><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Best Wishes,</span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">--------------------------------------------------------------------------------</span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size:10.0pt">吴开强</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">  Kennan</span><span lang="ZH-CN" style="font-size:10.0pt">)</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: <a href="mailto:wkqwu@cn.ibm.com">wkqwu@cn.ibm.com</a><br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>
        No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193</span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">--------------------------------------------------------------------------------</span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Follow your heart. You are miracle!
</span><br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D0BFA9.9BFBE7E0" alt="Inactive hide details for Adrian Otto ---07/16/2015 03:18:04 PM---I’d be comfortable with server_type. Adrian"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#424282">Adrian
 Otto ---07/16/2015 03:18:04 PM---I’d be comfortable with server_type. Adrian</span><br>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">From:
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Adrian Otto <<a href="mailto:adrian.otto@rackspace.com">adrian.otto@rackspace.com</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">To: </span>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Date:
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">07/16/2015 03:18 PM</span><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Subject:
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-family:"Times New Roman","serif"">I’d be comfortable with server_type.
</span><br>
<br>
<span style="font-family:"Times New Roman","serif"">Adrian</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman","serif"">On Jul 15, 2015, at 11:51 PM, Jay Lau <</span><a href="mailto:jay.lau.513@gmail.com"><span style="font-family:"Times New Roman","serif"">jay.lau.513@gmail.com</span></a><span style="font-family:"Times New Roman","serif"">>
 wrote:</span><br>
<br>
<span style="font-family:"Times New Roman","serif"">After more thinking, I agree with Hongbin that instance_type might make customer confused with flavor, what about using server_type?<br>
</span><br>
<span style="font-family:"Times New Roman","serif"">Actually, nova has concept of server group, the "servers" in this group can be vm. pm or container.<br>
</span><br>
<span style="font-family:"Times New Roman","serif"">Thanks!</span><br>
<br>
<span style="font-family:"Times New Roman","serif"">2015-07-16 11:58 GMT+08:00 Kai Qiang Wu <</span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-family:"Times New Roman","serif"">wkqwu@cn.ibm.com</span></a><span style="font-family:"Times New Roman","serif"">>:</span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi Hong Bin,</span><span style="font-family:"Times New Roman","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Thanks for your reply.</span><span style="font-family:"Times New Roman","serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
I think it is better to discuss the 'platform' Vs instance_type Vs others case first.<br>
Attach:  initial patch (about the discussion): </span><a href="https://review.openstack.org/#/c/200401/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">https://review.openstack.org/#/c/200401/</span></a><span style="font-family:"Times New Roman","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
My other patches all depend on above patch, if above patch can not reach a meaningful agreement.</span><span style="font-family:"Times New Roman","serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
My following patches would be blocked by that.</span><span style="font-family:"Times New Roman","serif""><br>
<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Thanks</span><span style="font-family:"Times New Roman","serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Best Wishes,<br>
--------------------------------------------------------------------------------<br>
Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size:10.0pt">吴开强</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">  Kennan</span><span lang="ZH-CN" style="font-size:10.0pt">)</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: </span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">wkqwu@cn.ibm.com</span></a><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>
       No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
--------------------------------------------------------------------------------<br>
Follow your heart. You are miracle! </span><span style="font-family:"Times New Roman","serif""><br>
<br>
<graycol.gif></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#424282">Hongbin Lu ---07/16/2015 11:47:30 AM---Kai, Sorry for the confusion. To clarify, I was thinking how to name the field you proposed in baymo</span><span style="font-family:"Times New Roman","serif""><br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
From: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Hongbin Lu <</span><a href="mailto:hongbin.lu@huawei.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">hongbin.lu@huawei.com</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><span style="color:#5F5F5F"><br>
To: </span>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">openstack-dev@lists.openstack.org</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><span style="color:#5F5F5F"><br>
Date: </span>07/16/2015 11:47 AM</span> <o:p></o:p></p>
<p style="margin-left:72.0pt"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
Subject: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><o:p></o:p></p>
<div class="MsoNormal" style="margin-left:72.0pt">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-family:"Times New Roman","serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
Kai,<br>
<br>
Sorry for the confusion. To clarify, I was thinking how to name the field you proposed in baymodel [1]. I prefer to drop it and use the existing field ‘flavor’ to map the Heat template.<br>
<br>
[1] </span><a href="https://review.openstack.org/#/c/198984/6" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">https://review.openstack.org/#/c/198984/6</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
</span><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kai Qiang Wu [</span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:wkqwu@cn.ibm.com</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]
<b><br>
Sent:</b> July-15-15 10:36 PM<b><br>
To:</b> OpenStack Development Mailing List (not for usage questions)<b><br>
Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-family:"Times New Roman","serif""> </span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi HongBin,<br>
<br>
I think flavors introduces more confusion than nova_instance_type or instance_type.</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
As flavors not have binding with 'vm' or 'baremetal',<br>
<br>
Let me summary the initial question: <br>
We have two kinds of templates for kubernetes now, <br>
(as templates in heat not flexible like programming language, if else etc. And separate templates are easy to maintain)<br>
The two kinds of kubernets templates,  One for boot VM, another boot Baremetal. 'VM' or Baremetal here is just used for heat template selection.</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
1> If used flavor, it is nova specific concept: take two as example, <br>
  m1.small, or m1.middle. <br>
         m1.small < 'VM' m1.middle < 'VM'  <br>
         Both m1.small and m1.middle can be used in 'VM' environment.<br>
So we should not use m1.small as a template identification. That's why I think flavor not good to be used.</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
2> @Adrian, we have --flavor-id field for baymodel now, it would picked up by heat-templates, and boot instances with such flavor.</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
3> Finally, I think instance_type is better.  instance_type can be used as heat templates identification parameter.<br>
<br>
instance_type = 'vm', it means such templates fit for normal 'VM' heat stack deploy<br>
<br>
instance_type = 'baremetal', it means such templates fit for ironic baremetal heat stack deploy.</span><span style="font-family:"Arial","sans-serif""><br>
<br>
<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
Thanks!<br>
<br>
  <br>
Best Wishes,<br>
--------------------------------------------------------------------------------<br>
Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size:10.0pt">吴开强</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">  Kennan</span><span lang="ZH-CN" style="font-size:10.0pt">)</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: </span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">wkqwu@cn.ibm.com</span></a><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>
      No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
--------------------------------------------------------------------------------<br>
Follow your heart. You are miracle! </span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-family:"Times New Roman","serif""><br>
<graycol.gif></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#424282">Hongbin Lu ---07/16/2015 04:44:14 AM---+1 for the idea of using Nova flavor directly. Why we introduced the “platform” field to indicate “v</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
<br>
From: </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Hongbin Lu <</span><a href="mailto:hongbin.lu@huawei.com" target="_blank"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">hongbin.lu@huawei.com</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><span style="color:#5F5F5F"><br>
To: </span>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">openstack-dev@lists.openstack.org</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><span style="color:#5F5F5F"><br>
Date: </span>07/16/2015 04:44 AM<span style="color:#5F5F5F"><br>
Subject: </span>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><o:p></o:p></p>
<div class="MsoNormal" style="margin-left:72.0pt">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="left">
</div>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-family:"Arial","sans-serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
<br>
+1 for the idea of using Nova flavor directly.<br>
<br>
Why we introduced the “platform” field to indicate “vm” or “baremetel” is that magnum need to map a bay to a Heat template (which will be used to provision the bay). Currently, Magnum has three layers of mapping:</span><span style="font-family:"Arial","sans-serif""> </span><span style="font-family:"Times New Roman","serif""> </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D">·
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">platform:
 vm or baremetal</span><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D"><br>
· </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">os:
 atomic, coreos, …</span><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D"><br>
· </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">coe:
 kubernetes, swarm or mesos</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <br>
I think we could just replace “platform” with “flavor”, if we can populate a list of flovars for VM and another list of flavors for baremetal (We may need an additional list of flavors for container in the future for the nested container use case). Then, the
 new three layers would be:</span><span style="font-family:"Arial","sans-serif""> </span><span style="font-family:"Times New Roman","serif""> </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D">·
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">flavor:
 baremetal, m1.small, m1.medium,  …</span><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D"><br>
· </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">os:
 atomic, coreos, ...</span><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D"><br>
· </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">coe:
 kubernetes, swarm or mesos</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> <br>
This approach can avoid introducing a new field in baymodel to indicate what Nova flavor already indicates.<br>
<br>
Best regards,<br>
Hongbin</span><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<br>
From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Fox, Kevin M [</span><a href="mailto:Kevin.Fox@pnnl.gov" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:Kevin.Fox@pnnl.gov</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]
<b><br>
Sent:</b> July-15-15 12:37 PM<b><br>
To:</b> OpenStack Development Mailing List (not for usage questions)<b><br>
Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?<br>
<br>
Maybe somehow I missed the point, but why not just use raw Nova flavors? They already abstract away irconic vs kvm vs hyperv/etc.<br>
<br>
Thanks,<br>
Kevin</span><span style="font-family:"Times New Roman","serif""> </span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="margin-left:72.0pt;text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal" style="margin-left:72.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Daneyon Hansen (danehans) [</span><a href="mailto:danehans@cisco.com" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">danehans@cisco.com</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]<b><br>
Sent:</b> Wednesday, July 15, 2015 9:20 AM<b><br>
To:</b> OpenStack Development Mailing List (not for usage questions)<b><br>
Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><span style="font-size:10.0pt;font-family:Courier"><br>
All,<br>
<br>
IMO virt_type does not properly describe bare metal deployments.  What about using the compute_driver parameter?</span><span style="font-family:"Arial","sans-serif""><br>
<br>
compute_driver</span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""> =
</span><span style="font-family:"Arial","sans-serif"">None<br>
<br>
<br>
(StrOpt) Driver to use for controlling virtualization. Options include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, fake.FakeDriver, baremetal.BareMetalDriver, vmwareapi.VMwareVCDriver, hyperv.HyperVDriver<br>
<u><span style="color:blue"><br>
</span></u></span><u><span style="font-family:"Times New Roman","serif";color:blue"><br>
</span></u><a href="http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html" target="_blank"><span style="font-family:"Arial","sans-serif"">http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html</span></a><u><span style="font-family:"Times New Roman","serif";color:blue"><br>
</span></u><a href="http://docs.openstack.org/developer/ironic/deploy/install-guide.html" target="_blank"><span style="font-family:"Times New Roman","serif"">http://docs.openstack.org/developer/ironic/deploy/install-guide.html</span></a><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif""><br>
<br>
From: </span></b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Adrian Otto <</span><a href="mailto:adrian.otto@rackspace.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">adrian.otto@rackspace.com</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">><b><br>
Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">openstack-dev@lists.openstack.org</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">><b><br>
Date: </b>Tuesday, July 14, 2015 at 7:44 PM<b><br>
To: </b>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">openstack-dev@lists.openstack.org</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">><b><br>
Subject: </b>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><span style="font-family:"Arial","sans-serif""><br>
</span><span style="font-family:"Times New Roman","serif""> </span> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">One drawback to virt_type if not seen in the context of the acceptable values, is that it should be set to values like libvirt, xen, ironic, etc.
 That might actually be good. Instead of using the values 'vm' or 'baremetal', we use the name of the nova virt driver, and interpret those to be vm or baremetal types. So if I set the value to 'xen', I know the nova instance type is a vm, and 'ironic' means
 a baremetal nova instance. <br>
<br>
Adrian<br>
<br>
<br>
-------- Original message --------<br>
From: Hongbin Lu <</span><a href="mailto:hongbin.lu@huawei.com" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">hongbin.lu@huawei.com</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">>
<br>
Date: 07/14/2015 7:20 PM (GMT-08:00) <br>
To: "OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">openstack-dev@lists.openstack.org</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">>
<br>
Subject: Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?
<span style="color:#1F497D"><br>
I am going to propose a third option:<br>
<br>
3. virt_type<br>
<br>
I have concerns about option 1 and 2, because “instance_type” and flavor was used interchangeably before [1]. If we use “instance_type” to indicate “vm” or “baremetal”, it may cause confusions.<br>
<br>
[1] </span></span><a href="https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup" target="_blank"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup</span></a><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
<br>
Best regards,<br>
Hongbin</span><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<br>
From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kai Qiang Wu [</span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:wkqwu@cn.ibm.com</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]
<b><br>
Sent:</b> July-14-15 9:35 PM<b><br>
To:</b> </span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">openstack-dev@lists.openstack.org</span></a><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
Subject:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
Hi Magnum Guys,<br>
<br>
<br>
I want to raise this question through ML.<br>
<br>
<br>
In this patch </span><a href="https://review.openstack.org/#/c/200401/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">https://review.openstack.org/#/c/200401/</span></a><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
<br>
For some old history reason, we use <b>platform </b>to indicate 'vm' or 'baremetal'.<br>
This seems not proper for that, @Adrian proposed nova_instance_type, and someone prefer other names, let me summarize as below:<br>
<br>
<br>
1. nova_instance_type  2 votes<br>
<br>
2. instance_type 2 votes<br>
<br>
3. others (1 vote, but not proposed any name)<br>
<br>
<br>
Let's try to reach the agreement ASAP. I think count the final votes winner as the proper name is the best solution(considering community diversity).<br>
<br>
<br>
BTW, If you not proposed any better name, just vote to disagree all, I think that vote is not valid and not helpful to solve the issue.<br>
<br>
<br>
Please help to vote for that name. <br>
<br>
<br>
Thanks</span><span style="font-family:"Arial","sans-serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
<br>
Best Wishes,<br>
--------------------------------------------------------------------------------<br>
Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size:10.0pt">吴开强</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">  Kennan</span><span lang="ZH-CN" style="font-size:10.0pt">)</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: </span><a href="mailto:wkqwu@cn.ibm.com" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">wkqwu@cn.ibm.com</span></a><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>
     No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
--------------------------------------------------------------------------------<br>
Follow your heart. You are miracle! __________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </span><a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</span></a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a><tt><span style="font-size:10.0pt">__________________________________________________________________________</span></tt><span style="font-size:10.0pt"><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: </tt></span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" target="_blank"><tt><span style="font-size:10.0pt">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</span></tt></a><u><span style="font-size:10.0pt;color:blue"><br>
</span></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><tt><span style="font-size:10.0pt">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></tt></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><br>
<br>
<span style="font-family:"Times New Roman","serif""><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" target="_blank"><span style="font-family:"Times New Roman","serif"">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</span></a><u><span style="font-family:"Times New Roman","serif";color:blue"><br>
</span></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><span style="font-family:"Times New Roman","serif"">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Times New Roman","serif""><br>
<br>
<br>
-- </span><br>
<span style="font-family:"Times New Roman","serif"">Thanks,<br>
</span><br>
<span style="font-family:"Times New Roman","serif"">Jay Lau (Guangya Liu)</span><br>
<span style="font-family:"Times New Roman","serif"">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </span><a href="mailto:OpenStack-dev-request@lists.openstack.org"><span style="font-family:"Times New Roman","serif"">OpenStack-dev-request@lists.openstack.org</span></a><span style="font-family:"Times New Roman","serif"">?subject:unsubscribe<u><span style="color:blue"><br>
</span></u></span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style="font-family:"Times New Roman","serif"">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><tt><span style="font-size:10.0pt">__________________________________________________________________________</span></tt><span style="font-size:10.0pt"><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a></tt><br>
<tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt></span><o:p></o:p></p>
</div>
</body>
</html>