[openstack-dev] Adding 'server_type' field to Baymodel
Vikas Choudhary
choudharyvikas16 at gmail.com
Tue Sep 1 03:46:37 UTC 2015
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):
c
*lass 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150901/03a06782/attachment.html>
More information about the OpenStack-dev
mailing list