Restrict values only to allowed in cluster template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Low
|
yatin |
Bug Description
Currently Generic values are allowed for some of the parameters in baymodel/cluster template but these do not work:-
server_type is set to StingType as follows:
server_type = wsme.wsattr(
1) It should be Enum('vm', 'bm') : vm for virtual machine and bm for baremetal.
2) Also api validation should be set for this so that user get proper error message if they tries to set server_type apart from allowed types('vm','bm').
Other info: There are other parameters like: volume_
So changing Type of these parameter to Enum doesn't seem to be required because with time volume_
Changed in magnum: | |
assignee: | nobody → yatin (yatinkarel) |
Changed in magnum: | |
status: | New → In Progress |
Changed in magnum: | |
importance: | Undecided → Low |
milestone: | none → netwon-1 |
Fix proposed to branch: master /review. openstack. org/369145
Review: https:/