Commit Graph

3994 Commits

Author SHA1 Message Date
Zuul 8c6a129b8c Merge "Fixed update_metadef_object" 2024-04-18 08:26:53 +00:00
Zuul a39bc3c855 Merge "Add Tap Mirrors to SDK" 2024-04-17 10:37:15 +00:00
Zuul cf5f4ce437 Merge "volume: Allow passing a volume type object to retype_volume" 2024-04-17 10:37:13 +00:00
Zuul 6b228a4c15 Merge "volume: Add ability to set, unset image metadata" 2024-04-17 10:37:11 +00:00
Zuul 806a22abe5 Merge "volume: Allow setting volume statuses individually" 2024-04-17 10:37:09 +00:00
Stephen Finucane 52b86348a1 volume: Allow passing a volume type object to retype_volume
Small quality of life improvement.

Change-Id: Ief3256cee7110a1e1920cd5e033586c1166f280e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:55:24 +01:00
Stephen Finucane 644087b270 volume: Add ability to set, unset image metadata
Another action down.

Change-Id: I4d59939bb9d6aa7e66d613e16f7ee89f610f9d5f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:51:58 +01:00
Stephen Finucane 52c5d74518 volume: Allow setting volume statuses individually
Some of these are admin-only. We don't want to force setting them all at
once.

Change-Id: I3b1694ee5e4dfd96315cc48b44b3d28c01aa3bfa
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:44:30 +01:00
Zuul 385aa2b457 Merge "Fix typo" 2024-04-11 15:27:42 +00:00
elajkat be6699639c Add Tap Mirrors to SDK
Depends-On: https://review.opendev.org/c/893086
Change-Id: If8151ebe82c3991c9cd2fed57ecb7723ab3db97c
Related-Bug: #2015471
2024-04-11 09:29:33 +02:00
Zuul f9f21e3e17 Merge "Add support for showing requested az in output" 2024-04-10 12:38:15 +00:00
Zuul 687888ac0d Merge "identity: Add access rule CRUD support" 2024-04-10 12:38:07 +00:00
Zuul fe18a3bef8 Merge "Adding SDK support for ``glance md-namespace-properties-delete``" 2024-04-10 11:03:48 +00:00
elajkat afdf1549d4 Add sort_key and sort_dir to core Neutron resources
Change-Id: Ia53396c05a99dbbdba668c6966e9c601965d001f
Related-Bug: #1999774
2024-03-25 13:38:21 +00:00
Mridula Joshi 16ddc1ca79 Fixed update_metadef_object
Missed to retrieve the id of the metadef object.
Added the statement to fetch the id of the metadef_object to be
updated

Change-Id: I99f334fcd3a5a3886cdf734747a018e8bca61099
2024-03-04 06:39:33 +00:00
Rajesh Tailor 4f46ab3f8b Add support for showing requested az in output
This change adds support for showing the availability
zone requested during instance create server show and
server list --long output.

Also bump the _max_microversion to 2.96 to use the newly
added microversion.

Depends-On: https://review.opendev.org/c/openstack/nova/+/904568
Change-Id: Iafedc1b7eba682dedaf0bcb0a5af79e85501679a
2024-02-27 17:45:25 +05:30
Zuul 04cdd0a061 Merge "Resource locks and access rules restrictions" 2024-02-20 17:17:49 +00:00
silvacarloss 4e0d693816 Resource locks and access rules restrictions
Implement resource locks and access rules restrictions feature
in the openstacksdk.

Depends-On: Ib9f65a4523222f1224d51534c5061f90501b59d3
Change-Id: I45f9b06b1b41756d34f39604c82e28fd4eb102de
2024-02-19 12:58:42 -03:00
Zuul 76e088a056 Merge "Fix list of server migrations" 2024-02-18 19:45:04 +00:00
Pavlo Shchelokovskyy 8c988b7e62 Fix list of server migrations
the _list method goes straight through to formatting base_path with attrs,
and for server migrations the attr in the base path is server_uuid,
not server_id.

This patch fixes the base_path of the ServerMigration resource
to use server_id stanza.

Change-Id: I44335a22846f1a11ba60e8bb758b10c39e728897
Story: 2010633
Task: 47591
2024-02-15 23:02:50 +02:00
Stephen Finucane d1ff60d125 Fix typo
Change-Id: I160d95eebfe4de5bbea77820e40632f2a1dfd67a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-02-15 12:16:58 +00:00
Stephen Finucane 6ec4661005 docs: Add docs on configuration of a service user
Build upon I897325032ee7b0f559906e82be7f3a7695768c52 to give an
additional example using a service user.

Change-Id: Iac2b85ac19d100c68a9039583b55437aa8b4494e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-02-14 12:53:48 +00:00
Mridula Joshi 434adf775c Adding SDK support for ``glance md-namespace-properties-delete``
In this patch, we have added support for deleting all properties
from the namespace.

Change-Id: I6ec24881a09a96ac7c99f169835ce8b57d0f692a
2024-02-10 18:45:56 +00:00
Rajat Dhasmana a0cec19e1d Add missing snapshot parameters
This patch adds some of the missing snapshot parameters like:

consumes_quota - MV 3.65
group_snapshot_id - MV 3.14
user_id - MV 3.41

Change-Id: I7ece6168d0ac27712992778ecda87464897b00ea
2024-02-07 10:10:57 +00:00
Zuul b3c5a30d8f Merge "Add snapshot manage unmanage support" 2024-02-06 19:02:02 +00:00
Zuul 5fef752adb Merge "Support the API for managing external gateways" 2024-01-30 09:31:40 +00:00
Zuul d0165fc742 Merge "Return the results of init attachment request" 2024-01-30 09:31:38 +00:00
Zuul 460e87a91f Merge "[baremetal] port add shard, is_smartnic, name" 2024-01-30 09:31:36 +00:00
Zuul dd345b82dc Merge "Remove importlib-metadata from requirements" 2024-01-30 09:19:11 +00:00
Zuul ce0a7a285c Merge "Fix: Update/Delete type encryption operation" 2024-01-30 09:19:05 +00:00
Zuul 67a885124d Merge "Add volume manage support" 2024-01-30 09:09:25 +00:00
Zuul 0be708081a Merge "mypy: Add typing to openstack._log" 2024-01-30 09:09:23 +00:00
Zuul 3084adb3f8 Merge "mypy: Address issues with remaining service modules" 2024-01-30 09:09:21 +00:00
Zuul d7cd812ad6 Merge "Add support for provider_id for volume objects" 2024-01-30 09:09:19 +00:00
Zuul bfa9f46f56 Merge "pre-commit: Bump linter versions" 2024-01-30 09:09:17 +00:00
Luis Morales dd329d0a72 Add support for provider_id for volume objects
provider_id - MV 3.21

Change-Id: I99be623a2a669d527a9fcb8e26655c5efe8b6d57
2024-01-23 20:40:43 -06:00
Zuul f9ce151f90 Merge "mypy: Address issues with openstack.orchestration" 2024-01-18 16:41:01 +00:00
Zuul d276d30188 Merge "mypy: Address issues with openstack.clustering" 2024-01-18 16:40:55 +00:00
Zuul c4af95fb46 Merge "mypy: Address issues with openstack.baremetal, baremetal_introspection" 2024-01-18 12:47:36 +00:00
Zuul bc9e69364f Merge "mypy: Address issues with openstack.object_store" 2024-01-18 12:47:34 +00:00
Zuul 9137a8c417 Merge "[baremetal] Add some missing fields to node object" 2024-01-17 10:48:55 +00:00
Rajat Dhasmana a4feb32ac4 Add volume manage support
Add support for volume manage operation.

Change-Id: Ic31e92a501721b5ecbf56d44188d9dad95cd1ac3
2024-01-16 19:46:37 +05:30
Zuul c562274d11 Merge "mypy: Address issues with openstack.network" 2024-01-10 13:07:44 +00:00
Zuul f678714a80 Merge "identity: Add test for 'role_assignments_filter' proxy method" 2024-01-10 12:54:56 +00:00
Zuul dc80f33ada Merge "Remove unnecessary `keys` calls" 2024-01-10 10:58:51 +00:00
Stephen Finucane 92868d3e8b pre-commit: Bump linter versions
Fix the issues this uncovers. We also migrate to the native hacking
pre-commit hook.

Change-Id: I44385c25fcb010f3e62b4098fd34ae3290292630
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 11:57:24 +00:00
Stephen Finucane d506b9ff49 mypy: Add typing to openstack._log
A nice easy one to start.

Change-Id: I9a08341002cbf90ba9dccaacaa5f2d3e7d7560a2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 10:54:07 +00:00
Stephen Finucane 554dc6284c mypy: Address issues with remaining service modules
The changes here are all small enough to be bundled into one.

Change-Id: Ia585244e314a9bd18a7cd2388a2936517e25dbf2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 10:54:07 +00:00
Stephen Finucane a7cfc5342f mypy: Address issues with openstack.orchestration
Change-Id: I181b1ddee04b2514283b4d742e74b9bd54790414
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 10:54:07 +00:00
Stephen Finucane 4c1ced6ae2 mypy: Address issues with openstack.clustering
This one is cool. We use overload to allow the value of 'Resource.find'
and 'Proxy._find' to vary depending on whether 'ignore_missing' is True
or False.

Change-Id: I386e10774dfb6ec9db80cbda9757446a2b5e4e57
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 10:54:07 +00:00