<html><body>
<p><font size="2" face="sans-serif">HI Vikas,</font><br>
<br>
<font size="2" face="sans-serif">The server_type (old name was platform, we corrected it to be more proper, 'server_type') was introduced for wide support, like baremetal cases, etc.</font><br>
<br>
<font size="2" face="sans-serif">For other parts it is hardcode 'vm' now, as 'vm' was and still are supported.(it is widely used for VM cases in dev/test)</font><br>
<br>
<br>
<font size="2" face="sans-serif">For baremetal, I did some work before, but consider time and priority, not did it now. Details can be checked before like</font><br>
<br>
<font size="2" face="sans-serif">review.openstack.org/#/c/198984</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">If you have further questions, you can check with me in IRC channel.</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Thanks</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Best Wishes,</font><br>
<font size="2" face="sans-serif">--------------------------------------------------------------------------------</font><br>
<font size="2" face="sans-serif">Kai Qiang Wu (吴开强 Kennan)<br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: wkqwu@cn.ibm.com<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</font><br>
<font size="2" face="sans-serif">--------------------------------------------------------------------------------</font><br>
<font size="2" face="sans-serif">Follow your heart. You are miracle! </font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF420DF8E8B5D8f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Vikas Choudhary ---01/09/2015 11:50:52 am---Hi Team, I have a doubt.What all values 'server type' fi"><font size="2" color="#424282" face="sans-serif">Vikas Choudhary ---01/09/2015 11:50:52 am---Hi Team, I have a doubt.What all values 'server type' field that is being used in</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Vikas Choudhary <choudharyvikas16@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack-dev@lists.openstack.org</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">01/09/2015 11:50 am</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[openstack-dev] Adding 'server_type' field to Baymodel</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi Team,</font><br>
<font size="3" face="serif"><br>
I have a doubt.What all values 'server type' field that is being used in below function call can have?</font><font size="3" face="serif"><b><br>
get_template_definition(cls, server_type, os, coe</b></font><font size="3" face="serif">)<br>
</font><br>
<font size="3" face="serif">Everywhere in code currently its value is 'vm' only. for example in classes representing template definitions(mesos, k8s and swarm):<br>
c</font><font size="3" face="serif"><b>lass AtomicSwarmTemplateDefinition(BaseTemplateDefinition):<br>
provides = [<br>
{'server_type': 'vm', 'os': 'fedora-atomic', 'coe': 'swarm'},<br>
]</b></font><font size="3" face="serif"><br>
</font><br>
<font size="3" face="serif">os and coe are already fields of baymodel.Should not 'server_type' also be another field in baymodel?<br>
</font><br>
<font size="3" face="serif">what i understand server-type can be baremetal_node also atleast.</font><br>
<font size="3" face="serif">please correct me if i am wrong.<br>
<br>
</font><br>
<font size="3" face="serif">Regards</font><br>
<font size="3" face="serif">Vikas Choudhary</font><tt><font size="2">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
</font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font size="2"><br>
</font></tt><br>
<br>
</body></html>