7248 Commits

Author SHA1 Message Date
Stephen Finucane
a36f514295 Blackify everything else
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ie106a5cec8831e113a2b764b62b712a205e3153b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
004c7352d0 Blackify openstack.cloud
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ib58bb45ce8c29e5347ffc36d40d6f5d52b140c6b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
c2ff7336ce Blackify openstack.clustering
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I4f7bb54ac0e751ab73479cf17f19593f6bc73014
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
073abda5a9 Blackify openstack.container_infrastructure_management
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I61806ea3ab9fa60466fa777fb403d1c07f23543c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
570b81f0ec Blackify openstack.accelerator
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ib5351abb13b5f4acac5eb554b2fa48acd276592a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
33bed57501 Blackify openstack.instance_ha
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ifa4d0af2f9de7bd0635f3f87e2d241f2fe26ddf8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
10018dbf5b Blackify openstack.dns
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I5c62d40f41b4632e9f8c59c505a46f8b11866f67
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
19ec9ba383 Blackify openstack.database
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: If9eb7ba7a28b0bc56b7e9efc74760243b11e66ab
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane
0e2b5d263f Blackify openstack.message
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ibb7c7931cb3a7a9a3ccc577475e3e6b1355ca4c9
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:02:56 +01:00
Stephen Finucane
9d3d986241 Blackify openstack.workflow
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I3573a93dc8fab163fda536d479cae0785b657cdb
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:02:17 +01:00
Stephen Finucane
874ea74103 Blackify openstack.orchestration
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I77ee83b03379efbec18ba61166fd74ce5ee0e84b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:01:48 +01:00
Stephen Finucane
409f648ce5 Blackify openstack.placement
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: If63b878036e2af53cfb4bc2ff29872253ba21597
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:01:20 +01:00
Stephen Finucane
93d8f41713 Blackify openstack.key_manager
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ief5e4e9fa2675c7e74b77feb54776c692deaf33f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:00:35 +01:00
Stephen Finucane
3d2511f980 Blackify openstack.shared_file_system
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I54209e6cbfeec18a15771882d38730aca273238c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 10:59:36 +01:00
Stephen Finucane
82c2a53402 Blackify openstack.load_balancer
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I4f3f4228b94230d3b2f52bed4e928df67f82017f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 10:57:04 +01:00
Stephen Finucane
f8e42017e7 Blackify openstack.baremetal, openstack.baremetal_introspection
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I1effcaff4f4c931b46541f8db44ed50c10104cad
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 10:55:42 +01:00
Stephen Finucane
4589e293e8 Blackify openstack.object_store
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I9c6e6b898fc7e3a196725bd37a3b5bdc77060cd3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:55 +01:00
Stephen Finucane
34da09f312 Blackify openstack.block_storage
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I502d2788eb75e674e8b399034513996c81407216
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:53 +01:00
Stephen Finucane
542ddaa1ad Blackify openstack.identity
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I2faa1f6c0a41946b3672bafc430b53a09611aea4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:51 +01:00
Stephen Finucane
f526b990f3 Blackify openstack.network
We disable the H301 check since it clashes with black.

Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ib987ac513c4f5e527bf4122b784d0a69856b903e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:48 +01:00
Stephen Finucane
bcf99f3433 Blackify openstack.image
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ibd4a585a225f60b26ed394da118c52a29091710d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:41 +01:00
Stephen Finucane
9325626769 Use pre-commit for 'pep8' tox target, bump versions
We want to bump the versions of hacking, but doing so requires changes
in two places: '.pre-commit-config.yaml' and 'tox.ini'. This is silly:
we can simply use tox to handle pre-commit and leave all other
dependencies to pre-commit. Do this, migrating doc8 to pre-commit and
bumping the other dependencies in the process.

Change-Id: I26fa07145129d3ef9cb17693427ed70e55dbaaf5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:41 +01:00
Stephen Finucane
6baf11f606 Prepare for hacking 6.x
This brings in a new version of flake8 as well as additional checks of
its own. Address all of them in advance of the bump.

Change-Id: I870bd8110106d4714db7ead94429fad6a74beb88
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:41 +01:00
Stephen Finucane
69735d3bd8 Blackify openstack.compute (tests)
Change Ic8e372a7ca999414ad93fb88e03b92798052cc3e ran black over the
openstack.compute module but forgot the associated tests. Correct this.

Black used with the '-l 79 -S' flags.

Change-Id: I6462d1423b57ff604e1ede977d27a9dd4f2c9c50
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-03 12:18:34 +01:00
Zuul
0036620f0f Merge "Blackify openstack.compute" 2023-05-03 10:18:16 +00:00
Zuul
5aebbe0e7a Merge "Add link to image sharing api docs" 2023-04-26 12:22:34 +00:00
Zuul
00f1019a0a Merge "Add support for Ironic node shard attribute" 2023-04-26 10:53:13 +00:00
Stephen Finucane
395a77298e Blackify openstack.compute
The first step in black'ification. Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ic8e372a7ca999414ad93fb88e03b92798052cc3e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-04-26 11:40:23 +01:00
Tobias Henkel
22f89abf1f Add link to image sharing api docs
The add|update_member methods of images take keyword arguments which
are documented in the api reference. Thus add a link to the docs so it
can be found easier.

Change-Id: I37eb80be164f179b4afc2dc36be3c5e10b3e7e52
2023-04-26 09:13:05 +00:00
Kafilat Adeleke
56e3660736 Add share access rules to shared file system
Introduce Share Access Rules class with
basic methods including create, view, list,
get and delete to shared file system storage service

Change-Id: I120212e6f1a01644479dc9bc4547b022049c49a1
Co-Authored-By: Samuel Loegering <samloegering@icloud.com>
(cherry picked from commit 012b5a128a9318e116ca77f29c7f4dc8b88637db)
2023-04-24 18:15:46 +00:00
Jay Faulkner
0bc0d4b832 Add support for Ironic node shard attribute
Nodes can now have shards set and retrieved. This should enable use
of shard functionality for openstacksdk clients.

Change-Id: I30ae18a6338ec687c3377501acad0568c2520e1c
2023-04-21 15:02:39 -07:00
Zuul
d416746e5c Merge "Add share network subnet resource to shared file system" 2023-04-21 18:08:25 +00:00
Zuul
160e196d8c Merge "Allow key overrides in create and fetch methods" 2023-04-21 18:08:23 +00:00
Zuul
5ffe7f6c97 Merge "Add Designate (DNS) zone share API" 2023-04-21 17:49:19 +00:00
ashrod98
7f87b6dd95 Add share network subnet resource to shared file system
Introduce Share Network Subnet Class with
basic methods including list, get, create
and delete to shared file system storage
service.

Co-Authored-By: Reynaldo Bontje <rey.bontje80@gmail.com>
Change-Id: I781eb8d19c6af8097c9de4293bb975361e524344
2023-04-19 20:28:39 +00:00
Reynaldo Bontje
aab0235065 Allow key overrides in create and fetch methods
Provides override  arguments so that subresources that require different envelope/resource keys for requests/responses don't need to override base resource methods in a hacky manner. It also makes it so subresources don't need to "reinvent the wheel" as often by making custom request/response processing. These two patterns are relatively common and are often caused by the need to override these resource/envelope keys. For the sake of consistency across the SDK, this patch moves the logic needed in these cases into the base resource.

Change-Id: I9d928a55539c17ab54d983165afc7912cd0926f8
2023-04-18 12:51:22 -05:00
Zuul
2679719701 Merge "Add resize/extend share actions." 1.1.0 2023-04-14 11:12:31 +00:00
Zuul
453087fa96 Merge "Add export location resource to shared file system" 2023-04-12 12:06:42 +00:00
Reynaldo Bontje
c3e77fc61e Add resize/extend share actions.
Adds the resize/extend actions from the
Share actions API. Includes the resize_share
method in the proxy.

Change-Id: I9c852360b2e71f6e0a2cfd45c0a77690220379cd
2023-04-11 18:51:41 +00:00
Zuul
d5aba8a6b1 Merge "Adds Support for `glance cache-clear`" 2023-04-11 16:47:25 +00:00
arkaruki
ecde402853 Add export location resource to shared file system
Introduce ShareExportLocations class with list method
to shared file system storage service.

Change-Id: Ia0663b64b8417de010f1b507252d76429bf47054
Co-Authored-By: Samuel Loegering <samloegering@icloud.com>
2023-04-09 00:17:36 +00:00
René Ribaud
ac194f985f Microversion 2.91: Support specifying destination host to unshelve
This patch adds ``host`` to openstacksdk unshelve api.
This can help administrators to specify a ``host``
to unshelve a shelve offloaded server starting from 2.91 microversion.

Implements: blueprint unshelve-to-host
Change-Id: I34c5989be4710c863cce24d6f55bd1faae86cd52
2023-04-06 18:56:07 +02:00
Mridula Joshi
a9614648c6 Adds Support for `glance cache-clear`
Change-Id: Id7d4fe1b0092d0befccffc0fc779e4aef861cdfc
2023-04-05 13:44:15 +00:00
Zuul
81f8608952 Merge "Adding support for glance cache-queue Command" 2023-04-05 08:41:48 +00:00
Zuul
0f223cb469 Merge "Removing region Lon1. Updating block_storage_api_version. Adding image_format." 2023-04-04 15:22:59 +00:00
Zuul
ccb72a41c7 Merge "Add Cleura acceptance tests" 2023-04-04 09:11:15 +00:00
Zuul
59b52c3cb4 Merge "ssh key change" 2023-04-04 08:56:23 +00:00
Zuul
2a3565910e Merge "Use custom warnings, not logging.warning" 2023-04-04 08:47:50 +00:00
Tobias Rydberg
5b3ad87934 Removing region Lon1. Updating block_storage_api_version. Adding image_format.
Change-Id: I5325f3503cdc2133418b6b9ae868482feb86200f
2023-04-04 07:54:47 +00:00
Stephen Finucane
1921a195c6 compute: Add Server.restore, restore_server proxy method
Change-Id: I3c7222255f03797c8ae599090b482f317cb3c87c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-04-03 18:38:14 +01:00