<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word; color:rgb(0,0,0)">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">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<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF188755"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Daneyon Hansen (danehans) [danehans@cisco.com]<br>
<b>Sent:</b> Wednesday, July 15, 2015 9:20 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?<br>
</font><br>
</div>
<div></div>
<div>
<div>
<div style="font-size:14px"><font face="Courier">All,</font></div>
<div style="font-size:14px"><font face="Courier"><br>
</font></div>
<div style="font-size:14px"><font face="Courier">IMO virt_type does not properly describe bare metal deployments.  What about using the compute_driver parameter?</font></div>
<div><br>
</div>
<div><span style="font-size:14px"><code class="option" style="widows:1">compute_driver</code><span style="widows:1"> = </span><span class="replaceable" style="widows:1"><code>None</code></span></span></div>
<div><span class="replaceable" style="widows:1"><code><br>
</code></span></div>
<div><span class="replaceable" style="widows:1"><code>(StrOpt) Driver to use for controlling virtualization. Options include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, fake.FakeDriver, baremetal.BareMetalDriver, vmwareapi.VMwareVCDriver, hyperv.HyperVDriver</code></span></div>
<div><span class="replaceable" style="widows:1"><code><br>
</code></span></div>
<div><span class="replaceable" style="widows:1"><code><a href="http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html" target="_blank">http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html</a></code></span></div>
<div><span class="replaceable" style="widows:1"><a href="http://docs.openstack.org/developer/ironic/deploy/install-guide.html" target="_blank">http://docs.openstack.org/developer/ironic/deploy/install-guide.html</a></span></div>
<div>
<div></div>
</div>
</div>
<div style="font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family:Calibri,sans-serif; font-size:14px">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Adrian Otto <<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, July 14, 2015 at 7:44 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [magnum] Magnum template manage use platform VS others as a type?<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="border-left:#b5c4df 5 solid; padding:0 0 0 5; margin:0 0 0 5">
<div><style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
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}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
<div lang="EN-CA">
<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 <<a href="mailto:hongbin.lu@huawei.com" target="_blank">hongbin.lu@huawei.com</a>>
<br>
Date: 07/14/2015 7:20 PM (GMT-08:00) <br>
To: "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>
<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:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I am going to propose a third option:</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">3. virt_type</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">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:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">[1]
<a href="https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup" target="_blank">
https://blueprints.launchpad.net/nova/+spec/flavor-instance-type-dedup</a></span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Best regards,</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Hongbin</span></p>
<p class="MsoNormal"><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10pt; font-family:Tahoma,sans-serif" lang="EN-US">From:</span></b><span style="font-size:10pt; font-family:Tahoma,sans-serif" lang="EN-US"> Kai Qiang Wu [<a href="mailto:wkqwu@cn.ibm.com" target="_blank">mailto:wkqwu@cn.ibm.com</a>]
<br>
<b>Sent:</b> July-14-15 9:35 PM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><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:10pt; font-family:Arial,sans-serif">Hi Magnum Guys,</span><br>
<br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">I want to raise this question through ML.</span><br>
<br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">In this patch </span><a href="https://review.openstack.org/#/c/200401/" target="_blank"><span style="font-size:10pt; font-family:Arial,sans-serif">https://review.openstack.org/#/c/200401/</span></a><br>
<br>
<br>
<span style="font-size:10pt; 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:10pt; 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:10pt; font-family:Arial,sans-serif">1. nova_instance_type  2 votes</span><br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">2. instance_type 2 votes</span><br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">3. others (1 vote, but not proposed any name)</span><br>
<br>
<br>
<span style="font-size:10pt; 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:10pt; 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:10pt; font-family:Arial,sans-serif">Please help to vote for that name.
</span><br>
<br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">Thanks</span><br>
<br>
<br>
<br>
<br>
<span style="font-size:10pt; font-family:Arial,sans-serif">Best Wishes,</span><br>
<span style="font-size:10pt; font-family:Arial,sans-serif">--------------------------------------------------------------------------------</span><br>
<span style="font-size:10pt; font-family:Arial,sans-serif">Kai Qiang Wu (</span><span style="font-size:10.0pt" lang="ZH-CN">Î⿪ǿ</span><span style="font-size:10pt; font-family:Arial,sans-serif">  Kennan</span><span style="font-size:10.0pt" lang="ZH-CN">£©</span><span style="font-size:10pt; font-family:Arial,sans-serif"><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: <a href="mailto:wkqwu@cn.ibm.com" target="_blank">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:10pt; font-family:Arial,sans-serif">--------------------------------------------------------------------------------</span><br>
<span style="font-size:10pt; font-family:Arial,sans-serif">Follow your heart. You are miracle!
</span></p>
</div>
</div>
</div>
</div>
</blockquote>
</span></div>
</div>
</div>
</body>
</html>