From 7357b24d3a63be612aa32c901e15424ff92beca0 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Sun, 25 Sep 2016 11:49:47 +0800 Subject: Add "--remote-source" option to "volume snapshot create" command Add "--remote-source" option to "volume snapshot create" command to support creating snapshot from an existing remote snapshot in volume v2 (v2 only), also add the doc, unit tests and release note. Change-Id: I9e5fad4f0db5b44d528eb6b930edbc816e392c3a Implements: bp cinder-command-support Closes-Bug: #1618676 Co-Authored-By: Sheel Rana --- doc/source/command-objects/volume-snapshot.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/volume-snapshot.rst b/doc/source/command-objects/volume-snapshot.rst index 141e9f78..17449035 100644 --- a/doc/source/command-objects/volume-snapshot.rst +++ b/doc/source/command-objects/volume-snapshot.rst @@ -17,6 +17,7 @@ Create new volume snapshot [--description ] [--force] [--property [...] ] + [--remote-source [...]] .. option:: --volume @@ -37,6 +38,14 @@ Create new volume snapshot *Volume version 2 only* +.. option:: --remote-source + + The attribute(s) of the exsiting remote volume snapshot + (admin required) (repeat option to specify multiple attributes) + e.g.: '--remote-source source-name=test_name --remote-source source-id=test_id' + + *Volume version 2 only* + .. _volume_snapshot_create-snapshot-name: .. describe:: -- cgit v1.2.1