backup and snapshot commands to be renamed for volume resource

Registered by Sheel Rana on 2016-04-21

backup and snapshot commands to be renamed for volume resource

As backup and snapshots are directly related to volume resource, these must be renamed to
volume backup and volume snapshot to depict resource relation. This will be helpful for user to generalized the way things are searched.

snapshot create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
                       [--max-width <integer>] [--noindent] [--prefix PREFIX]
                       [--name <name>] [--description <description>] [--force]
                       <volume>

should be

volume snapshot create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
                       [--max-width <integer>] [--noindent] [--prefix PREFIX]
                       [--name <name>] [--description <description>] [--force]
                       <volume>

and

backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
                     [--max-width <integer>] [--noindent] [--prefix PREFIX]
                     [--name <name>] [--description <description>]
                     [--container <container>]
                     <volume>
should be

volume backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
                     [--max-width <integer>] [--noindent] [--prefix PREFIX]
                     [--name <name>] [--description <description>]
                     [--container <container>]
                     <volume>

The same way other commands for backup and snapshot must be prefixed with volume.
Here is the list for proposed commands:
  snapshot delete
  snapshot list
  snapshot set
  snapshot show
  snapshot unset
and
  backup delete
  backup list
  backup restore
  backup show

Blueprint information

Status:
Started
Approver:
Dean Troyer
Priority:
Medium
Drafter:
Sheel Rana
Direction:
Needs approval
Assignee:
Sheel Rana
Definition:
Approved
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Sheel Rana on 2016-08-09

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/backup-snapshot-renamed-for-volume-resource,n,z

Addressed by: https://review.openstack.org/352691
    Rename backup commands in volume v1 and v2

Addressed by: https://review.openstack.org/369854
    Rename "snapshot" commands to "volume snapshot"

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.