Commit Graph

723 Commits

Author SHA1 Message Date
Clark Boylan 31fe67b835 Fix the mailing list domain in documentation link
The docs had the openstack-discuss mailing list living at the
@openstack.org domain. In reality this list lives at the
@lists.openstack.org domain. Correct this.

Change-Id: Ifee33c8e5757b231d6cc6c3341d7d23072fce94d
2024-02-26 09:18:05 -08: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 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 67a885124d Merge "Add volume manage support" 2024-01-30 09:09:25 +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 8378110c1a Merge "Implement heat 'stack event list'" 2023-11-14 21:55:38 +00:00
Zuul 658b25da96 Merge "requirements: Sort alphabetically" 2023-11-14 21:32:19 +00:00
suheoon 1a07c9d173 Implement heat 'stack event list'
Add stack_events function to support retrieving stack events
Add StackEvents Class to support retrieving stack events
Also implement unit test code

Change-Id: Ie55fd6ed85f9871c5ddb06e90e8efb0dcbc90ef9
2023-11-14 16:31:31 +00:00
Seungju Baek c212f3f6af Implemented heat 'stack suspend' and 'stack resume' function
Added suspend_stack function to support stack resources suspend.
Added resume_stack function to support stack resources resume.
Also implemented functional test and unit test code.

Change-Id: Idf4befef149e945a419a3434886a8ba5c76481c6
2023-11-14 01:03:17 +00:00
Stephen Finucane 01b9a49c95 requirements: Sort alphabetically
Order no longer matters starting with pip 20.3.

Change-Id: I743674eaf684be9d8b6255e90edc82de0cd80734
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-11-06 10:47:47 +00:00
Zuul e2940efea6 Merge "volume: Add Limit to volume v2 API" 2023-11-03 11:57:08 +00:00
Zuul 0edd5a85ce Merge "Switch back to LaunchPad for issue tracking" 2023-11-03 10:44:11 +00:00
Stephen Finucane 5dd7d64769 volume: Add Limit to volume v2 API
Another case of adding a resource from v3 to the legacy v2 API. We
tackled Extension in change I1e4528f5a5d8e2caaaf204792ddcee7267e4c2e9
and Capability in change I98252ddd0dadba2bfa1aaf97b59932a19c396cd4. Now
it's time for Limit.

Note that the API is unchanged between v2 and v3 so this can be a
straightforward copy-paste job. This was determined by inspecting the
cinder code before the v2 API was removed (e.g. commit 'e05b261af~',
file 'cinder/api/views/limits.py').

Change-Id: I5a375d8dee7e68368f2e454851812a3638acf9ee
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-10-31 16:51:12 +00:00
whoami-rajat 47f5005464 Add volume transfer support [2/2]
This patch adds support for volume transfer get, list and accept.

Change-Id: I09cd55bf0ce30a7a1d445c09cd8d2a3c852296ee
2023-10-31 11:52:43 +00:00
gtema 7df00eef61 Switch back to LaunchPad for issue tracking
We move away from StoryBoard back to LaunchPad.

Change-Id: Ic18c514f2fb9e96e68d09b973448541a4ce65432
2023-10-31 11:41:55 +01:00
whoami-rajat 0b71363dd6 Add volume transfer support [1/2]
This patch adds support for volume transfer create, find and delete.

Change-Id: I759a583d94d2de508efe76ed38ae4d2ba0e85a48
2023-10-31 09:44:28 +00:00
Dmitrii Shcherbakov ea8c5d5a5f
Support the API for managing external gateways
Relevant Neutron core change:
https://review.opendev.org/c/openstack/neutron/+/873593

Co-Authored-by: Frode Nordahl <frode.nordahl@canonical.com>
Partial-Bug: #2002687
Change-Id: Idedce3c0ae6f4239ff3c1df35dc1b9af0add0a58
2023-10-26 08:37:19 +02:00
Rajat Dhasmana 64e197d1ef Add snapshot manage unmanage support
Add support for volume snapshot manage and volume snapshot unmanage
operations.

Change-Id: I25710af7b7a85a07e133aa3df94d2d751e253e84
2023-10-23 06:26:43 +05:30
Zuul 8b15c67d4c Merge "config loader: Prefer cli/env over clouds.yaml args for some args" 2023-10-11 15:59:20 +00:00
Zuul c9a1d5729b Merge "volume: Add Capability to volume v2 API" 2023-10-11 15:59:16 +00:00
Stephen Finucane be544e6f75 volume: Add Capability to volume v2 API
As with Extension in change I1e4528f5a5d8e2caaaf204792ddcee7267e4c2e9,
this makes our lives easier for migrating OSC since volume v2 is still a
thing in some areas.

Note that the API is unchanged between v2 and v3 so this can be a
straightforward copy-paste job. This was determined by inspecting the
cinder code before the v2 API was removed (e.g. commit 'e05b261af~',
file 'cinder/api/views/capabilities.py').

Change-Id: I98252ddd0dadba2bfa1aaf97b59932a19c396cd4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-10-06 16:45:02 +01:00
jihyun huh c2600c35b7 image: Add support for metadef property operations
Like placement's resource provider inventory API and keystone's old
extensions API, this is yet another example of an API that returns an
object with property names as keys and all other attributes as the
values, e.g. we see:

  {
    "os_admin_user": { ... },
    ...
  }

rather than:

  [
    {
      "name": "os_admin_user",
      ...
    },
    ,,,
  ]

Change-Id: I8e2ae8545cfaf32ced6d086a0921732f16282216
Co-authored-by: KIM SOJUNG <thwjd2717@gmail.com>
Co-authored-by: GA EUM KIM <rkdms7220@naver.com>
Co-authored-by: EunYoung Kim <lilac94.kim@gmail.com>
Co-authored-by: hyemin Choi <dropmoon3523@gmail.com>
Co-authored-by: Antonia Gaete <antoniagaete@osuosl.org>
Co-authored-by: YeJun, Jung <yejun614@naver.com>
2023-10-04 17:40:42 +01:00
Andrew Bogott 1ceb9972eb config loader: Prefer cli/env over clouds.yaml args for some args
If a user specifies a project or domain on the cli, that should take
precedence over the value set in clouds.yaml. This fixes enables workflows
that rely on domain- or cloud-wide credentials in clouds.yaml.

The cli args that are reprioritized in this patch are:

 domain-id
 domain-name
 user-domain-id
 user-domain-name
 project-domain-id
 project-domain-name
 auth-token
 project-id
 tenant-id
 project-name
 tenant-name

Story: 2010784
Change-Id: I45e7cff6579e6686d790bd3bb3e3ab9955885a64
2023-10-02 14:41:57 -05:00
Zuul 0ed6eda5f5 Merge "Add volume attachment support" 2023-09-16 13:58:06 +00:00
Zuul 735d005504 Merge "docs: Rewrite caching docs" 2023-09-13 06:49:24 +00:00
Zuul e31f54551b Merge "Implement stack export in openstacksdk" 2023-09-05 12:14:18 +00:00
Zuul c1235d0c99 Merge "docs: Use asterix for Network resources doc" 2023-09-05 11:00:02 +00:00
Zuul bc541377a1 Merge "Add support for default security group rules in SDK" 2023-09-04 14:10:42 +00:00
whoami-rajat 1322913dc6 Add volume attachment support
Add support for the following operations:

* Attachment Create
* Attachment Get
* Attachment List
* Attachment Delete
* Attachment Update
* Attachment Complete

Change-Id: Id32c1607d22a88aacce815b93e23bd03eeafcded
2023-09-01 08:05:36 +05:30
Stephen Finucane ac3dabb086 docs: Rewrite caching docs
Change-Id: I395f89073cc33db2f7db5c40540b7fd5ee21d96e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-31 18:30:25 +01:00
Zuul 9b49ddbb48 Merge "docs: Add exception documentation" 2023-08-29 10:48:02 +00:00
Zuul cf7faa749b Merge "docs: Document various warnings" 2023-08-29 09:52:14 +00:00
Zuul d70669fdde Merge "mypy: Address issues with top-level files" 2023-08-28 23:15:39 +00:00
Stephen Finucane d84495279d docs: Add exception documentation
Provide a list of available exceptions and stress that callers must
handle these themselves.

Change-Id: If3f56524a4642e0e147305758a8c5a4cc88c94bd
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 17:57:24 +01:00
Stephen Finucane 7349594757 docs: Document various warnings
Add a ':members:' option to ensure we actually list the available
warnings, as was the original intent.

Change-Id: Ia7cf763e0a4f2aa345b0f41b6a096a05512dbcaf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 17:57:24 +01:00
Stephen Finucane c0f2aee724 docs: Add missing docs for block storage resources
Change-Id: I6f6c2b1cec5d4273d27fa0a109dbd49579686251
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 17:57:23 +01:00
Stephen Finucane d06ac50e7d docs: Add missing docs for compute resources
Change-Id: I34dd2cd97451b04da7f4db7d6868572aafdeec70
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 17:57:07 +01:00
Stephen Finucane 19ba0adc33 docs: Add missing docs for identity resources
Change-Id: I895f47336471d64bad3a0dc1672c3b79e147a6e5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 17:57:06 +01:00
rladntjr4 61b94cdc5f Implement stack export in openstacksdk
'stack export' for get stack data in JSON format
in this commit just get response by /export URL

Need json_dump when print out in CLI

story: 2010881
task: 48604
Change-Id: Iccb5d7a5f86a810fec5424ae1e44a792d69b4a65
2023-08-29 00:51:19 +09:00
Zuul aa25cb2d61 Merge "identity: Add support for domain config" 2023-08-28 15:16:21 +00:00
Zuul 99530c8b1d Merge "block storage: Add support for services" 2023-08-28 11:08:19 +00:00
Stephen Finucane 60be29a596 identity: Add support for domain config
https://docs.openstack.org/api-ref/identity/v3/index.html#create-domain-configuration

Change-Id: I25e5e4266bfa1bf470fa2dcd38e9002950ecebef
2023-08-25 11:26:41 +01:00
Zuul c87a286f98 Merge "Add SFC to SDK" 2023-08-24 14:48:07 +00:00
elajkat 9950a3b4c0 docs: Use asterix for Network resources doc
Change-Id: Ie873dd06ce58d52cd87f3bb7d78a22b9ed6a2849
2023-08-24 13:26:33 +02:00
elajkat 16c114dd66 Add SFC to SDK
Included resources are:
* PortChain
* PortPairGroup
* PortPair
* FlowClassifier
* ServiceGraph

api-ref (under review):
https://review.opendev.org/c/openstack/neutron-lib/+/887193

Related-Bug: #1999774
Change-Id: I254fadb780798fec65e41e8d95719f38cc1e0601
2023-08-24 11:35:12 +02:00
Stephen Finucane 2a8627d4f1 mypy: Address issues with top-level files
Address issues in all files in the 'openstack' directory as well as the
'openstack/common', 'openstack/config' and 'openstack/test' directories.
With this done, we can start introducing mypy iteratively.

Note that we disable type hints in Sphinx. This is necessary because
Sphinx apparently can't tell the difference between 'Type' from 'typing'
and 'Type' from 'openstack.block_storage.v[23].Type', which causes a
build warning. This is okay since typing makes docs too noisy anyway.

Change-Id: Ia91c5da779b5b68c408dfc934a21d77e9ca2f550
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-17 11:47:38 +01:00
Zuul 0e60596cd8 Merge "Add image metadef object operations" 2023-08-10 11:42:39 +00:00
Taehyun Park c6aaae56ee Add image metadef object operations
The Image Metadata Object operations are not support currently.
In this patch, I added an operations of image metadata object.

Co-authored-by: Hael Yoon <dbsgodl@naver.com>
Co-authored-by: JaeSeong Shin <rornfl916@gmail.com>
Co-authored-by: LEE SUN JAE <tjswo98sj06@gmail.com>
Co-authored-by: Mridula Joshi <mrjoshi@redhat.com>
Change-Id: Ie76804204878d5302beda4dfa93b898ec3f6f46a
2023-08-09 18:46:52 +01:00
Anvi Joshi 7b5356f32d Support manage/unmanage shares with manila
Change-Id: I95b72434a8a44f737f5ee9a44b6ecbf8f4162a7a
2023-08-09 03:33:53 +00:00