6 Commits

Author SHA1 Message Date
Victoria Martinez de la Cruz
fa8a4b03f8 [OSC] Implement Share Group Type Commands
In this patch we add the following openstack share commands:
share group type create
share group type delete
share group type list
share group type set
share group type unset
share group type show
share group type access create
share group type access delete
share group type access list

Partially-implements: bp openstack-client-support

Co-Authored-By: Ashley Rodriguez <ashrodri@redhat.com>
Change-Id: I31b22013b60560c17bc95c41a51efc5e6c7a80ca
2021-12-21 19:56:35 +00:00
Stephen Finucane
1562ec6fb1 Remove six
This is no longer needed in a Python 3-only world.

Change-Id: I84231b7e8d952b562870838a2fa4ef0d86179183
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-07-13 19:12:27 +01:00
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
Maari Tamm
e3652b9c1c Implement OSC share type commands
In this patch we add openstack commands for:
share type create
share type delete
share type set
share type unset
share type list
share type show
share type access create
share type access list
share type access delete

These commands can be used to replace all “manila type-” commands.
“openstack share type set” combines “manila type-key” with
“manila type-update” commands and can be used to set name, description,
visibility and extra specs.

Change-Id: I10cb6ea800908ebbe48eae7ba8c18680249ff1d2
Partially-implements: bp openstack-client-support
2020-03-09 09:18:46 +00:00
Maari Tamm
9fc3723de8 Implement OSC share access rules commands
In this patch we add openstack commands for:
share access create
share access delete
share access list
share access show
share access set
share access unset

These commands can be used to replace all 'manila access-...' commands.
'manila access-metadata' is replaced by:
'openstack share access set --property <key=value>' and
'openstack share access unset --property <key>'

Change-Id: Id2bd92bcb629905c7db12951d6e4ebe2d5b4d916
Partially-implements: bp openstack-client-support
2020-03-03 02:10:28 +00:00
Goutham Pacha Ravi
ac5ca461e8 [OSC] Init OpenStack Client implementation
Add an OSC plugin for manila, the subcommand
chosen is "share". Add initial commands parser
for create, delete, list and show shares.

Also initializes basic unit testing structure for
the added commands.

Co-Authored-By: Soledad Kuczala <sol.kuczala@gmail.com>
Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>

Partially-implements: bp openstack-client-support
Change-Id: I90a36f4332796675ea808e0c2a0f5ce32709624a
2019-11-21 09:56:38 +00:00