Improvements to the instance creation

Registered by George Peristerakis

With all the different hypervisors supported and with each hypervisor have a list of parameters. Horizon need a way to set this parameters. Example: We could set the video drivers in most hypervisors. But the parameter is different for each VM.

What I suggest is to implement a key/value structure of all possible values in the form of [hypervisor][option][parameter]= value. The value is what will be passed to nova.

Example
{'KVM':
  'video_driver':{'vga': 'hw_video_drv=vga', 'cirrus': 'hw_video_drv=cirrus' },
  'video_memory_range': ('hw_video_memory': '1:10:1'),
 ...
}}

The type of values we can represent are dictionaries and numerical ranges

In the create instance form, we could dynamically populate the form with [option][parameter]. We must make sure that the keys of [option][parameter] matches for every [hypervisor].

So far, nova need to update the image meta-data before spinning up a instance.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Rob Cresswell

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.