<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div>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. </div>
<div><br>
</div>
<div>Adrian</div>
<br>
<br>
-------- Original message --------<br>
From: Hongbin Lu <hongbin.lu@huawei.com> <br>
Date: 07/14/2015 7:20 PM (GMT-08:00) <br>
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org>
<br>
Subject: Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?
<br>
<br>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I am going to propose a third option:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">3. virt_type</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">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></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">[1]
<a href="https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup">
https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Best regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hongbin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </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-14-15 9:35 PM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Hi Magnum Guys,</span><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">I want to raise this question through ML.</span><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">In this patch </span>
<a href="https://review.openstack.org/#/c/200401/"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">https://review.openstack.org/#/c/200401/</span></a><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">For some old history reason, we use
<b>platform </b>to indicate 'vm' or 'baremetal'.</span><br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">This seems not proper for that, @Adrian proposed nova_instance_type, and someone prefer other names, let me summarize as below:</span><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">1. nova_instance_type  2 votes</span><br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">2. instance_type 2 votes</span><br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">3. others (1 vote, but not proposed any name)</span><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">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><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">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><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Please help to vote for that name.
</span><br>
<br>
<br>
<span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Thanks</span><br>
<br>
<br>
<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></p>
</div>
</div>
</body>
</html>