11 Commits

Author SHA1 Message Date
Maari Tamm
df3388677c [OSC] Implement Share Replica Commands
In this patch we add the following openstack share commands:
share replica create
share replica delete
share replica list
share replica show
share replica set
share replica promote
share replica resync

Partially-implements: bp openstack-client-support
Change-Id: I8d0542faf56e6022e3b265957132f00ce063dcd6
2021-07-06 09:39:42 +00:00
Zuul
5285705e44 Merge "[OSC] Implement Share Revert Command" 2021-02-17 18:22:47 +00:00
Dina Saparbaeva
c225f0af79 [OSC] Implement user messages commands
In this patch the following openstack user messages
commands are added:
manila message-delete --> openstack share message delete
manila message-list --> openstack share message list
manila message-show --> openstack share message show

Partially-implements bp openstack-client-support

Change-Id: Ib1e4cca4f869d4e832e7b1814d48c838f75b42e1
2021-02-15 16:36:46 +06:00
Maari Tamm
17e5d63651 [OSC] Implement Share Revert Command
This patch adds the 'openstack share revert' command,
which implements the same functionality as 'manila revert-to-snapshot'
and can be used to revert a share to a specified snapshot.

Partially-implements bp openstack-client-support
Change-Id: I896f2bb4ae256dda637768672f833573f5c2475d
2021-01-31 18:18:40 +00:00
ashrod98
c7bcec2969 Implement openstack share properties show command
This commit adds openstack share show metadata command, which implements manila
metadata-show functionality.

Partially implements bp openstack-client-support.

Updated with working unit test.

Change-Id: Ibde82cf9c36be41403a0e68ecac17cb211725d84
2021-01-30 00:08:30 +00:00
Maari Tamm
3c65e6f9bf [OSC] Implement Share Export Location Commands
This commit implements the following openstack share commands:

openstack share export location show <share> <export_location>
openstack share export location list <share>

Partially-implements bp openstack-client-support

Change-Id: Ie65fdd644e7161d94947614a87933f36c1826bed
2021-01-22 06:34:05 +00:00
Maari Tamm
bf3e7cb716 [OSC] Implement Share Adopt & Abandon Commands
This commit adds 'openstack share adopt' and 'openstack share abandon'
commands, that implement the same functionality as 'manila manage' and
'manila unmanage' commands

Usage:
openstack share adopt <service-host> <protocol> <export-path>
openstack share abandon <share>

Partially-implements bp openstack-client-support
Change-Id: I39919d38854387af21da410849905698ad261e9f
2020-12-19 15:31:01 +00:00
Maari Tamm
f4ca71be0d Implement the first half of OSC share snapshots commands
In this patch we add openstack commands for:
share snapshot create
share snapshot delete
share snapshot show
share snapshot set
share snapshot unset
share snapshot list

Partially-implements bp openstack-client-support

Change-Id: Idfe2033016f333da0169fd032ff95bf868099f70
2020-09-10 16:52:34 +00:00
Maari Tamm
beb8409e7f Implement OSC share quota commands
In this patch we add openstack commands for:
share quota set
share quota show
share quota delete

Change-Id: I3520feec09a6c491f436809a5f620efce1b1f8c2
Partially-implements: bp openstack-client-support
2020-09-09 16:16:58 +00:00
Maari Tamm
8b74211d76 Add initial documentation for OSC
This patch creates initial documentation for OSC, with
general plugin information and a few examples.
New commands, that are implemented, should be then
referenced in doc/source/cli/osc/v2/index.rst

Change-Id: I6fa9fcb3cf41a2992a4b5c7b38c54825106e9ce5
Partially-implements: bp openstack-client-support
2020-07-03 20:27:53 +00:00
Tom Barron
6785f07e7b doc-migration: new directory layout
This patch introduces a new directory layout
in doc/source in conformance with the OpenStack
manuals project migration spec [1], moves the
existing content in manila/doc/source into the
new directories, and adjusts index files accordingly.

This is the first step in the migration process
as outlined in the spec.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Closes-Bug: #1706181
Change-Id: I8964d066bb838fabbe94239ac108bff884c6ff76
Depends-On: I72be6303f9be77c0461eaacbc61bad8372546fb5
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-08-24 23:58:16 -04:00