HI Vikas, 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.
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) For baremetal, I did some work before, but consider time and priority, not did it now. Details can be checked before like review.openstack.org/#/c/198984 If you have further questions, you can check with me in IRC channel. Thanks Best Wishes, -------------------------------------------------------------------------------- Kai Qiang Wu (吴开强 Kennan) IBM China System and Technology Lab, Beijing E-mail: wk...@cn.ibm.com Tel: 86-10-82451647 Address: Building 28(Ring Building), ZhongGuanCun Software Park, No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 -------------------------------------------------------------------------------- Follow your heart. You are miracle! From: Vikas Choudhary <choudharyvika...@gmail.com> To: openstack-dev@lists.openstack.org Date: 01/09/2015 11:50 am Subject: [openstack-dev] Adding 'server_type' field to Baymodel Hi Team, I have a doubt.What all values 'server type' field that is being used in below function call can have? get_template_definition(cls, server_type, os, coe) Everywhere in code currently its value is 'vm' only. for example in classes representing template definitions(mesos, k8s and swarm): class AtomicSwarmTemplateDefinition(BaseTemplateDefinition): provides = [ {'server_type': 'vm', 'os': 'fedora-atomic', 'coe': 'swarm'}, ] os and coe are already fields of baymodel.Should not 'server_type' also be another field in baymodel? what i understand server-type can be baremetal_node also atleast. please correct me if i am wrong. Regards Vikas Choudhary __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev