Support tags for nodes in Ironic

Registered by Dmitry Tantsur

Ironic will support "tags" field stored in metadata for every node. The same tags will be stored in extra metadata for Nova flavor, so that every flavor can be bound to some group of nodes. To achieve this:
* Ironic API should allow listing nodes by tag
* Scheduler should allow deploying on nodes with tag, fetched from flavor (XXX does it belong in Ironic Nova driver or in Nova scheduler itself?)

Blueprint information

Status:
Started
Approver:
aeva black
Priority:
Medium
Drafter:
Zhenguo Niu
Direction:
Approved
Assignee:
Zhenguo Niu
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Needs Code Review
Milestone target:
None
Started by
Zhenguo Niu

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:nodes-tagging,n,z

Addressed by: https://review.openstack.org/183971
    Add nodes tagging support

Gerrit topic: https://review.openstack.org/#q,topic:bp/nodes-tagging,n,z

Addressed by: https://review.openstack.org/192576
    Add db migration script for creating tags table

Addressed by: https://review.openstack.org/232308
    Add db migration for tags table

Addressed by: https://review.openstack.org/232598
    Add db api layer for CRUD operations on node tags

Addressed by: https://review.openstack.org/233357
    Add Tag, TagList objects and a new tags field to Node

Addressed by: https://review.openstack.org/250478
    Added node tags in ironic-api

Addressed by: https://review.openstack.org/253065
    Joined 'tags' column while getting node

We're moving from using blueprints to track features to RFE bugs. vdrok filed one for your change (see above). Please track further work there using Closes-Bug, Partial-Bug or Related-Bug in commit messages and use this newly created RFE bug.
//rloo 2015-12-15

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.