<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
To be clear we have two pursuits on this thread:
<div class=""><br class="">
</div>
<div class="">1) What to rename bay.blatform to.</div>
<div class="">2) How we might eliminate the attribute, or replace it with something more intuitive</div>
<div class=""><br class="">
</div>
<div class="">We have a consensus now on how to address #1. My direction to Kannan is to proceed using server_type as the new attribute name. If anyone disagrees, you can let us know now, or submit a subsequent patch to address that concern, and we can vote
 on it in Gerrit.</div>
<div class=""><br class="">
</div>
<div class="">On this subject of potentially eliminating, or replacing this attribute with something else, let’s continue to discuss that.</div>
<div class=""><br class="">
</div>
<div class="">One key issue is that our current HOT file format does not have any facility for conditional logic evaluation, so if the Bay orchestration differs between various server_type values, we need to select the appropriate value based on the way the
 bay is created. I’m open to hearing suggestions for implementing any needed conditional logic, if we can put it into a better place.</div>
<div class=""><br class="">
</div>
<div class="">Adrian</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 16, 2015, at 8:54 AM, Fox, Kevin M <<a href="mailto:Kevin.Fox@pnnl.gov" class="">Kevin.Fox@pnnl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma; font-size: 10pt;" class="">
Wait... so the issue is if you were to just use nova flavor, you don't have enough information to choose a set of templates that may be more optimal for that flavor type (like vm's or bare metal)? Is this a NaaS vs flatdhcp kind of thing? I just took a quick
 skim of the heat templates and it wasn't really clear why the template needs to know.<br class="">
<br class="">
If that sort of thing is needed, maybe allow a heat environment or the template set to be tagged onto nova flavors in Magnum by the admin, and then the user can be concerned only with nova flavors? They are use to dealing with them. Sahara and Trove do some
 similar things I think.<br class="">
<br class="">
Thanks,<br class="">
Kevin<br class="">
<br class="">
<div style="font-family: 'Times New Roman'; font-size: 16px;" class="">
<hr tabindex="-1" class="">
<div id="divRpF608861" style="direction: ltr;" class=""><font face="Tahoma" size="2" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Hongbin Lu [<a href="mailto:hongbin.lu@huawei.com" class="">hongbin.lu@huawei.com</a>]<br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, July 15, 2015 8:42 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>OpenStack Development Mailing List (not for usage questions)<br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?<br class="">
</font><br class="">
</div>
<div class=""></div>
<div class="">
<div class="WordSection1">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Kai,</span></div>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">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.</span></div>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">[1]<span class="Apple-converted-space"> </span><a href="https://review.openstack.org/#/c/198984/6" target="_blank" style="color: purple; text-decoration: underline;" class="">https://review.openstack.org/#/c/198984/6</a></span></div>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></p>
<div class="">
<div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<b class=""><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>Kai Qiang Wu
 [<a href="mailto:wkqwu@cn.ibm.com" class="">mailto:wkqwu@cn.ibm.com</a>]<span class="Apple-converted-space"> </span><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>July-15-15 10:36 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>OpenStack Development Mailing List (not for usage questions)<br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span></div>
</div>
</div>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;">
 </p>
<div style="margin: 0px 0cm; font-size: 12pt; font-family: SimSun;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Hi HongBin,</span><br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">I think flavors introduces more confusion than nova_instance_type or instance_type.</span><br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">As flavors not have binding with 'vm' or 'baremetal',</span><br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Let me summary the initial question:<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">  We have two kinds of templates for kubernetes now,<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">(as templates in heat not flexible like programming language, if else etc. And separate templates are easy to maintain)</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">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><br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">1> If used flavor, it is nova specific concept: take two as example,<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">    m1.small, or m1.middle.<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">           m1.small < 'VM' m1.middle < 'VM'  </span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">           Both m1.small and m1.middle can be used in 'VM' environment.</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">So we should not use m1.small as a template identification. That's why I think flavor not good to be used.</span><br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">2> @Adrian, we have --flavor-id field for baymodel now, it would picked up by heat-templates, and boot instances with such flavor.</span><br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">3> Finally, I think instance_type is better.  instance_type can be used as heat templates identification parameter.</span><br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">instance_type = 'vm', it means such templates fit for normal 'VM' heat stack deploy</span><br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">instance_type = 'baremetal', it means such templates fit for ironic baremetal heat stack deploy.</span><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Thanks!</span><br class="">
<br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">   <span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Best Wishes,</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">--------------------------------------------------------------------------------</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size: 10pt;" class="">吴开强</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><span class="Apple-converted-space"> </span> Kennan</span><span lang="ZH-CN" style="font-size: 10pt;" class="">)</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
IBM China System and Technology Lab, Beijing<br class="">
<br class="">
E-mail:<span class="Apple-converted-space"> </span><a href="mailto:wkqwu@cn.ibm.com" target="_blank" style="color: purple; text-decoration: underline;" class="">wkqwu@cn.ibm.com</a><br class="">
Tel: 86-10-82451647<br class="">
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br class="">
        No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">--------------------------------------------------------------------------------</span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Follow your heart. You are miracle!<span class="Apple-converted-space"> </span></span><br class="">
<br class="">
<span id="cid:image001.gif@01D0BF57.74EDB5E0"><image001.gif></span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(66, 66, 130);" class="">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><br class="">
<br class="">
<span style="font-size: 7.5pt; font-family: Arial, sans-serif; color: rgb(95, 95, 95);" class="">From:<span class="Apple-converted-space"> </span></span><span style="font-size: 7.5pt; font-family: Arial, sans-serif;" class="">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com" target="_blank" style="color: purple; text-decoration: underline;" class="">hongbin.lu@huawei.com</a>></span><br class="">
<span style="font-size: 7.5pt; font-family: Arial, sans-serif; color: rgb(95, 95, 95);" class="">To:<span class="Apple-converted-space"> </span></span><span style="font-size: 7.5pt; font-family: Arial, sans-serif;" class="">"OpenStack Development Mailing List
 (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class="">openstack-dev@lists.openstack.org</a>></span><br class="">
<span style="font-size: 7.5pt; font-family: Arial, sans-serif; color: rgb(95, 95, 95);" class="">Date:<span class="Apple-converted-space"> </span></span><span style="font-size: 7.5pt; font-family: Arial, sans-serif;" class="">07/16/2015 04:44 AM</span><br class="">
<span style="font-size: 7.5pt; font-family: Arial, sans-serif; color: rgb(95, 95, 95);" class="">Subject:<span class="Apple-converted-space"> </span></span><span style="font-size: 7.5pt; font-family: Arial, sans-serif;" class="">Re: [openstack-dev] [magnum]
 Magnum template manage use platform VS others as a type?</span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;">
<hr noshade="" size="2" width="100%" align="left" style="color: rgb(128, 145, 165);" class="">
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<br class="">
<br class="">
<br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">+1 for the idea of using Nova flavor directly.</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">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></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">platform:
 vm or baremetal</span><br class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">os:
 atomic, coreos, …</span><br class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">coe:
 kubernetes, swarm or mesos</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">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></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">flavor:
 baremetal, m1.small, m1.medium,  …</span><br class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">os:
 atomic, coreos, ...</span><br class="">
<span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class="">・<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Symbol; color: rgb(31, 73, 125);" class=""> </span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">coe:
 kubernetes, swarm or mesos</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">This approach can avoid introducing a new field in baymodel to indicate what Nova flavor already indicates.</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Best regards,</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hongbin</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""> Fox, Kevin M [<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank" style="color: purple; text-decoration: underline;" class="">mailto:Kevin.Fox@pnnl.gov</a>]<span class="Apple-converted-space"> </span><b class=""><br class="">
Sent:</b> July-15-15 12:37 PM<b class=""><br class="">
To:</b> OpenStack Development Mailing List (not for usage questions)<b class=""><br class="">
Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><br class="">
<span style="font-family: Arial, sans-serif;" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">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 class="">
<br class="">
Thanks,<br class="">
Kevin</span></div>
<div class="MsoNormal" align="center" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun; text-align: center;">
<hr size="2" width="100%" align="center" class="">
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;" class="">
<b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""> Daneyon Hansen (danehans) [<a href="mailto:danehans@cisco.com" class="">danehans@cisco.com</a>]<b class=""><br class="">
Sent:</b> Wednesday, July 15, 2015 9:20 AM<b class=""><br class="">
To:</b> OpenStack Development Mailing List (not for usage questions)<b class=""><br class="">
Subject:</b> Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><br class="">
<span style="font-size: 10pt; font-family: Courier;" class="">All,</span><br class="">
<span style="font-size: 10pt; font-family: 'Times New Roman', serif;" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Courier;" class="">IMO virt_type does not properly describe bare metal deployments.  What about using the compute_driver parameter?</span><br class="">
<span style="font-family: 'Times New Roman', serif;" class=""> </span><br class="">
<span style="font-family: Arial, sans-serif;" class="">compute_driver</span><span style="font-size: 10pt; font-family: 'Times New Roman', serif;" class=""> =<span class="Apple-converted-space"> </span></span><span style="font-family: Arial, sans-serif;" class="">None</span><br class="">
<span style="font-family: Arial, sans-serif;" class=""><br class="">
</span><br class="">
<span style="font-family: Arial, sans-serif;" class="">(StrOpt) Driver to use for controlling virtualization. Options include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, fake.FakeDriver, baremetal.BareMetalDriver, vmwareapi.VMwareVCDriver, hyperv.HyperVDriver</span><br class="">
<span style="font-family: Arial, sans-serif;" class=""><br class="">
</span><br class="">
<a href="http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-family: Arial, sans-serif;" class="">http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html</span></a><br class="">
<a href="http://docs.openstack.org/developer/ironic/deploy/install-guide.html" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-family: 'Times New Roman', serif;" class="">http://docs.openstack.org/developer/ironic/deploy/install-guide.html</span></a><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class=""> </span><br class="">
<b class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">Adrian Otto <</span><a href="mailto:adrian.otto@rackspace.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">adrian.otto@rackspace.com</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">><b class=""><br class="">
Reply-To:<span class="Apple-converted-space"> </span></b>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">openstack-dev@lists.openstack.org</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">><b class=""><br class="">
Date:<span class="Apple-converted-space"> </span></b>Tuesday, July 14, 2015 at 7:44 PM<b class=""><br class="">
To:<span class="Apple-converted-space"> </span></b>"OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">openstack-dev@lists.openstack.org</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">><b class=""><br class="">
Subject:<span class="Apple-converted-space"> </span></b>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class=""> </span></div>
<p class="MsoNormal" style="margin: 0cm 0cm 12pt 36pt; font-size: 12pt; font-family: SimSun;">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">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.<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">Adrian</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif;" class=""><br class="">
<br class="">
-------- Original message --------<br class="">
From: Hongbin Lu <</span><a href="mailto:hongbin.lu@huawei.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">hongbin.lu@huawei.com</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">><span class="Apple-converted-space"> </span><br class="">
Date: 07/14/2015 7:20 PM (GMT-08:00)<span class="Apple-converted-space"> </span><br class="">
To: "OpenStack Development Mailing List (not for usage questions)" <</span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">openstack-dev@lists.openstack.org</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">><span class="Apple-converted-space"> </span><br class="">
Subject: Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?<span class="Apple-converted-space"> </span></span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I am going to propose a third option:</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">3. virt_type</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">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.</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">[1]<span class="Apple-converted-space"> </span></span><a href="https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Calibri, sans-serif;" class="">https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup</span></a><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Best regards,</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hongbin</span><br class="">
<span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><br class="">
<b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""> Kai Qiang Wu [</span><a href="mailto:wkqwu@cn.ibm.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">mailto:wkqwu@cn.ibm.com</span></a><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">]<span class="Apple-converted-space"> </span><b class=""><br class="">
Sent:</b> July-14-15 9:35 PM<b class=""><br class="">
To:</b> </span><a href="mailto:openstack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">openstack-dev@lists.openstack.org</span></a><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><br class="">
Subject:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""> [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span><br class="">
<span style="font-family: Arial, sans-serif;" class=""> </span><br class="">
<span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Hi Magnum Guys,</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
I want to raise this question through ML.</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
In this patch<span class="Apple-converted-space"> </span></span><a href="https://review.openstack.org/#/c/200401/" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">https://review.openstack.org/#/c/200401/</span></a><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
For some old history reason, we use<span class="Apple-converted-space"> </span><b class="">platform<span class="Apple-converted-space"> </span></b>to indicate 'vm' or 'baremetal'.<br class="">
This seems not proper for that, @Adrian proposed nova_instance_type, and someone prefer other names, let me summarize as below:</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
1. nova_instance_type  2 votes</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
2. instance_type 2 votes</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
3. others (1 vote, but not proposed any name)</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
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).</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
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.</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
Please help to vote for that name.<span class="Apple-converted-space"> </span></span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
Thanks</span><span style="font-family: Arial, sans-serif;" class=""><br class="">
<br class="">
<br class="">
<br class="">
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
Best Wishes,<br class="">
--------------------------------------------------------------------------------<br class="">
Kai Qiang Wu (</span><span lang="ZH-CN" style="font-size: 10pt;" class="">吴开强</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">  Kennan</span><span lang="ZH-CN" style="font-size: 10pt;" class="">)</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
IBM China System and Technology Lab, Beijing<br class="">
<br class="">
E-mail:<span class="Apple-converted-space"> </span></span><a href="mailto:wkqwu@cn.ibm.com" target="_blank" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">wkqwu@cn.ibm.com</span></a><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><br class="">
Tel: 86-10-82451647<br class="">
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br class="">
       No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br class="">
--------------------------------------------------------------------------------<br class="">
Follow your heart. You are miracle!<span class="Apple-converted-space"> </span></span><tt style="font-family: SimSun;" class=""><span style="font-size: 10pt;" class="">__________________________________________________________________________</span></tt><span style="font-size: 10pt;" class=""><br class="">
<tt style="font-family: SimSun;" class="">OpenStack Development Mailing List (not for usage questions)</tt><br class="">
<tt style="font-family: SimSun;" class="">Unsubscribe:<span class="Apple-converted-space"> </span><a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank" style="color: purple; text-decoration: underline;" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a></tt><br class="">
<tt style="font-family: SimSun;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" style="color: purple; text-decoration: underline;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt></span></p>
</div>
</div>
</div>
</div>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">__________________________________________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack
 Development Mailing List (not for usage questions)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Unsubscribe:
<a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>