Commit Graph

77 Commits

Author SHA1 Message Date
Ghanshyam Mann da4c929b90 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I2b58e5bf83c733c9bb63bcaff99fb6895f10765a
2024-01-03 20:22:48 -08:00
Kiran Pawar 5e24577904 Implement share backup
Add share backup feature. This will allow the user to create,
restore and delete backups as well as listing backups and showing
the details of a specific backup.

Implement: blueprint share-backup
Depends-On: Ice01ab7892b1eb52b3202f2c79957977f73f3aca
Change-Id: I2c3848cbbeb921ede74756e25e58ef82277e0d2b
2023-08-29 06:59:35 +00:00
Goutham Pacha Ravi 1734b45fa5 Support for resource locks
Add OSC and SDK interfaces to create,
view, update and delete resource locks.

Depends-On: I146bc09e4e8a39797e22458ff6860346e11e592e
Partially-Implements: bp allow-locking-shares-against-deletion
Change-Id: Ib8586a4f80aa8c172d876c6745ae73b7bdaf4705
2023-08-23 16:25:56 -07:00
Felipe Rodrigues e3f01e5c2a Metadata for Share Network Subnets
Extend these into OSC capabilities where appropriate.
Bumps max microversion to 2.78.

Depends-On: I8d5a03eb127941a84eea5e6e9bdf76b3489f17a8
Implements: bp/metadata-for-share-resources
Change-Id: I204cd0aeb66dfb7f0b4da29413b80d76a6034aa3
2023-07-07 16:25:38 -03:00
haixin d54326ff7c Update micversion to 2.77,support share transfer between project.
Depends-On: I8facf9112a6b09e6b7aed9956c0a87fb5f1fc31f
Partially-Implements: blueprint transfer-share-between-project

Change-Id: I3d5d0a57574edd350dc79a52879aa67016122f56
2023-02-17 16:10:34 +08:00
Franca Mgbogu 20638a5000 [OSC] Implement Share Server Migration Start Command
This commit adds 'openstack share server migration start'
command, that implement the same functionality as
'manila share-server-migration-start ' command.

Partially-implements: bp openstack-client-support
Change-Id: I73e0497d44eb591fdba63a6f8a9cea5f900db2d8
2022-08-20 05:52:37 +00:00
Franca Mgbogu 35be44a30c [OSC] Implement Share Server Migration Show Command
This commit adds 'openstack share server migration show'
command, that implement the same functionality as
'manila migration-get-progress ' command.

Partially-implements: bp openstack-client-support
Change-Id: I66843b91684645491e236464151d3733ef05cf3b
2022-08-19 18:56:50 +00:00
Zuul f3b1b3032e Merge "[OSC] Implement Share Server Migration Cancel and Complete Command" 2022-08-19 11:53:24 +00:00
Franca Mgbogu 8f53399e15 [OSC] Implement Share Restore Command
This patch adds the 'openstack share restore' command,
which implements same functionality as 'manila restore'
and can be used to restore a share from the recycle bin

Partially-implements: bp openstack-client-support
Change-Id: I30f3c36c00d41f8321654285e2ca4455e5d0f8f9
2022-08-18 11:15:55 +00:00
Franca Mgbogu 5c5220bbee [OSC] Implement Share Server Migration Cancel and Complete Command
This commit adds 'openstack share server migration cancel' and
'openstack share server migration complete' command, that implement the
same functionality as 'manila share-server-migration-cancel'and 'manila
share-server-migration-complete' command.

Partially-implements: bp openstack-client-support
Change-Id: Ic6e721abdc54854f1117b39ad674e7bc747adf98
2022-08-18 08:44:33 +00:00
Zuul 23988df0b6 Merge "[OSC] Implement Share Migration show and add argument to Share Set Command" 2022-08-01 18:54:51 +00:00
namrata 8fedd08b27 [OSC] Implement Share Migration show and add argument to Share Set Command
This commit adds 'openstack share migration show' and
add argument '--task-state' to 'openstack share set' command,
that implement the same functionality as 'manila migration-get-progress'and manila
reset-task-state command.

Partially-implements: bp openstack-client-support
Change-Id: I288661b4294561a1a52411a0cb0fdfd1f82021ed
2022-07-28 17:18:35 +00:00
Maari Tamm 8873dc20e9 [OSC] Implement security services commands
In this patch we add the following openstack share commands:
share security service create
share security service delete
share security service list
share security service show
share security service set
share security service unset

Partially-implements: bp openstack-client-support
Change-Id: I24d27a7789f7be4f250b6b4d14a7c03acd2474bb
2022-07-26 10:16:57 +00:00
archanaserver dc918e56fc [OSC] Implement Share Server Commands
Added the implementation of the share server commands to OSC.
Commands are:

- openstack share server delete
- openstack share server show
- openstack share server list
- openstack share server adopt
- openstack share server abandon
- openstack share server set --status

Partially-implements: bp openstack-client-support

Co-Authored-By: Carlos da Silva <ces.eduardo98@gmail.com>
Change-Id: I01b0ee1a8092002d2c2aa916617b2db75654e8d8
2022-07-21 18:50:13 -03:00
archanaserver 301274dbfe [OSC] Implement Share Group Snapshot Commands
In this patch we add the following openstack share group snapshot commands:
share group snapshot create
share group snapshot delete
share group snapshot list
share group snapshot show
share group snapshot set
share group snapshot unset
share group snapshot members list

Co-Authored-By: Archana Kumari <ak31960466@gmail.com>
                Maari Tamm <maari.tamm@citynetwork.eu>

Change-Id: Iab7298964e71e732b574243222d3f5346428b352
2022-07-15 10:10:10 +00:00
namrata 4951255876 [OSC] Implement Share Migration Cancel and Complete Command
This commit adds 'openstack share migration cancel' and
'openstack share migration complete' command, that implement the
same functionality as 'manila migration-cancel'and 'manila
migration-complete' command.

Partially-implements: bp openstack-client-support
Change-Id: I153d3131b591aef599cff87a5dbd85f5db3115dd
2022-07-01 11:37:38 +00:00
Namrata Sitlani fa84d6118c [OSC] Implement Share Migration Start Command
This commit adds 'openstack share migration start'
command, that implement the same functionality as 'manila migration-start'
command.

Partially-implements: bp openstack-client-support
Change-Id: I3e8a04904ba387161841a677442b00b4a5456c4d
2022-07-01 08:07:24 +00:00
Eduardo Santos 4e7a23b86e Update Python as per the Zed cycle testing runtime
In the Zed cycle, support and testing for Python versions 3.6 and 3.7
was dropped. [1]

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Signed-off-by: Eduardo Santos <eduardo.experimental@gmail.com>
Change-Id: Ia000640a3a6bc33700b27ecf2173954e11237d6d
2022-05-23 14:12:09 -03:00
Takashi Kajinami 5f0a281002 Add Python 3 only classifier
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.

Change-Id: Ie472ca4a60b4b86d525b387dfa318439006b10bd
2022-02-08 23:12:58 +09:00
Zuul f5ee025ad0 Merge "Update python testing classifier" 2022-01-03 11:34:37 +00:00
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
dengzhaosen e59bd63628 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ieca3db027dea37dfd0dd9cb46e900d4bd9e1eed7
2021-12-21 18:03:47 +08:00
Maari Tamm b095429783 [OSC] Implement share network subnet commands
This patch adds the following openstack share commands:

share network subnet create
share network subnet delete
share network subnet show

Partially-implements: bp openstack-client-support
Change-Id: I4e066a982fa40b079f969e7c3ca3276d3a842074
2021-11-24 07:43:44 +00:00
archanaserver 7c8aa8efd1 [OSC] Implement Share Group Commands
Added the implementation of the share group commands to OSC.
Commands are:

- openstack share group create
- openstack share group delete
- openstack share group list
- openstack share group show
- openstack share group set
- openstack share group unset

Change-Id: I9eb31449fef4eae73f1db91f2bad133d0fe8df2e
2021-09-02 18:47:08 +00:00
Nahim Alves de Souza 92ca00cd64 Implement OSC share instance export location commands
In this patch we add openstack commands for:
- share instance export location show
- share instance export location list

Co-authored-by: Eduardo Santos <eduardo.experimental@gmail.com>
Partially-implements: bp openstack-client-support
Change-Id: Ic1b5616a363059a941caa3cce6bd2b24bd379068
2021-09-02 07:07:57 +00:00
Goutham Pacha Ravi d40205a2f2 OSC Implementation for Share Networks
Add the following OSC commands:

 share network create
 share network list
 share network show
 share network set
 share network unset
 share network delete

Partially-implements: bp openstack-client-support
Change-Id: I6ddb2fec1d9421bfa8b11c82da5379ada80f610b
Co-Authored-By: Vida Haririan <vhariria@redhat.com>
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2021-09-02 00:06:59 -07:00
Vida Haririan cc440609bd [OSC] Implement Share Limits Show command
Adding the following openstack command,
share limits show --absolute
share limits show --rate

Partially-implements: bp openstack-client-support
Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: I68b98a6c3ee369be1422d2f45e75d034e68da2e0
2021-08-31 03:52:56 -04:00
silvacarloss 2f173cb150 [OSC] Implement share instance commands
Added the implementation of the share instance commands to OSC.
Commands are:

- openstack share instance delete
- openstack share instance list
- openstack share instance set
- openstack share instance show

Co-Authored-By: Luisa Amaral <luisarfamaral@gmail.com>
Partially-Implements: bp openstack-client-support
Change-Id: I8d29651d4e3a74b9ade67ea0a8f20808ca33bdc8
2021-08-27 07:46:14 -03:00
Zuul fa1188e8ef Merge "[OSC] Add Share Snapshot Instances commands" 2021-08-26 13:52:32 +00:00
Fabio Oliveira 1d591270bd [OSC] Add Share Snapshot Instances commands
In this patch we add the following openstack share commands:

share snapshot instance list
share snapshot instance show
share snapshot instance set --status
share snapshot instance export location list
share snapshot instance export location show

Partially-implements: bp openstack-client-support

Co-Authored-By: Caique Mello <caiquemellosbo@gmail.com>
Change-Id: I7feb6219b0c684d2e88d0d077f776bfb331e3955
2021-08-25 10:15:29 -03:00
Zuul 823f90c5c6 Merge "[OSC] Implement Share Pools List command" 2021-08-24 05:19:44 +00:00
Zuul 776f7340ea Merge "[OSC] Implement Replica Export Locations commands" 2021-08-24 01:13:18 +00:00
Maari Tamm d566ecc09a [OSC] Implement Share Pools List command
This commit implements the following openstack share command:

openstack share pool list

Partially-implements: bp openstack-client-support
Change-Id: I5be047d6c81556b45773497f55323d1611c1eb48
2021-08-23 17:04:35 -07:00
Maari Tamm ca00798030 [OSC] Implement Replica Export Locations commands
In this patch we add the following openstack share commands:
share replica export location list
share replica export location show

Partially-implements: bp openstack-client-support
Change-Id: Ib7ae453da665ae17b40c7b91b3563bc301769410
2021-08-23 06:32:16 +00:00
Maari Tamm fcbcf7521f [OSC] Implement Share Services Commands
In this patch we add the following openstack share commands:
share service list
share sevice set

manila service-enable command is implemented as:
openstack share service set <hostname> <binary> --enable

manila service-disable command is implemented as:
openstack share service set <hostname> <binary> --disable

Partially-implements: bp openstack-client-support
Change-Id: I41852e93fce356549ca0600b02d972742a105a38
2021-08-20 14:00:15 +00:00
Kafilat Adeleke 53275bec67 [OSC] Implement Availability Zones Command
This commit implements the following openstack share command:

openstack share availability zone list

Change-Id: I75d3c5441b82fb8f16896719544a81dd032cdd15
2021-08-19 06:35:28 +00: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
YuehuiLei 7ecc819d19 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I5331527e7068cd9721b09fce6fcf9aeaddb63e5e

Change-Id: Idc43420278ec2a072b12b3e4278a6ca6a0375e86
2021-04-27 17:10:22 +08: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 d832baa312 [OSC] Implement the second part of share snapshots commands
In this patch we add openstack commands for:
share snapshot adopt
share snapshot abandon
share snapshot export location list
share snapshot export location show
share snapshot access create
share snapshot access delete
share snapshot access list

Partially-implements bp openstack-client-support

Change-Id: I6d573655b7b28e0378df9917b597875acb12cca2
2021-01-21 08:38:54 +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 126c82a2ae Implement OSC share resize command
In this patch we add the 'openstack share resize' command.
This command combines 'manila shrink' and 'manila extend' commands
into one and can be used to change the size of a share.

usage: openstack share resize <share> <new-size>

Change-Id: I052977f689ad4c1e9fb5f63d773519cd880c5b6c
Partially-implements: bp openstack-client-support
2020-06-30 19:25:46 +00:00
Sean McGinnis 3d4f0ba07d
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: Id0c402a1a9fb3375bf7ba07dbcc4ee7a108e1dc4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:30:35 -05:00
Andreas Jaeger 9004a32d33 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg: Wheel is not needed for python
  3 only repo
- Update requirements, no need for python_version anymore
- Remove old variables from conf.py, update openstackdocstheme
  requirement.
- Remove hacking and friends from lower-constraints, they are
  not needed in installed system.

Change-Id: I179d61545169f3d329c746c88dd4d38035d4075d
2020-04-04 11:30:07 +02:00