Allowing renaming of flavor name

Registered by Jean-Sebastien Bevilacqua

In my company, we need sometimes to rename a flavor in order to keep name consistency.
I don't want to update others values like VCPU, Memory... as it would brings others problems (may memory of a vm be updated if I update flavor memory).

So I focus only on renaming.

How I want to do it:

I will add "update" method in nova/api/openstack/compute/flavors_manage.py.
Of course it will grant access to admin only.

The API should be :

[PUT] /v2.1/​{tenant_id}​/flavors/​{flavor_id}
{
    "flavor": {
        "name": "new_flavor_name"
    }
}

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Jean-Sebastien Bevilacqua
Direction:
Needs approval
Assignee:
Jean-Sebastien Bevilacqua
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.