Add "rally use" command

Registered by Julien Vey

For all actions (except deployment create, and some "list" subcommands) we have to use parameter <deployment-uuid>
which is actually boring.

So we should add command like

rally use deployment <deployment-id>

that will set 2 things:
1) It will make similar operations to: source openrc
2) It will set [RALLY_DEPLOYMENT] env that will be used by all CLI commands

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
Medium
Drafter:
Julien Vey
Direction:
Approved
Assignee:
Julien Vey
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Julien Vey
Completed by
Julien Vey

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/rally-use-command,n,z

Addressed by: https://review.openstack.org/68395
   Add rally use command

Addressed by: https://review.openstack.org/68937
    Add rally use command - part 2

Addressed by: https://review.openstack.org/68954
    Replace the call to default_deployment_id() by a decorator

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.