Add opportunity to filter images not only by OS

Registered by Ekaterina Chernova

This blueprint has been superseded. See the newer blueprint "Implement smarter image filtering" for updated plans.

Since murano supports a lot of new different technologies, such as Docker applications, requirements to images are getting higher.
Image should support docker to deploy docker applications correctly.

Need to remember, that later other platforms may be supported and we need to add universal tool for image filtering

Currently, image metadata looks like this

murano_image_info='{"title": "Windows 2012 Standart Edition", "type": "windows.2012"}'

Blueprint information

Status:
Complete
Approver:
Serg Melikyan
Priority:
High
Drafter:
Ekaterina Chernova
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
Accepted for future
Implementation:
Not started
Milestone target:
milestone icon next
Completed by
Kirill Zaitsev

Related branches

Sprints

Whiteboard

@efedorova:
I suggest to add extra parameter, which is a dict that will contain image property and description like that

murano_image_info='{..., "extra":{ "git":'Image has git installed"'}}'

In dashboard, image field in dynamic UI will have optional parameter 'imageExtra' in which user can provide additional requirement to the image, such as 'docker' or something else.

        - name: osImage
          type: image
          imageType: linux
          imageExtra: docker
          label: Instance image

After that, images that have not have docker in extra parameter will not be filleted during application creation.

@slagun:
Need to implement filtering using YAQL, so requirements could be set up more flexible will providing version restrictions or smth else

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.