7165 Commits

Author SHA1 Message Date
Kafilat Adeleke
79e8c83da8 Add share snapshot instance resource
Introduce Share snapshot instance class with basic methods
to list, and get to shared file system storage service.

Change-Id: I14ccb77453d300afc6f387338e752f32ae57af20
Co-Authored-By: Reynaldo Bontje <rey.bontje80@gmail.com>
2023-03-20 15:46:36 -07:00
Zuul
8948c8d834 Merge "Add share network resource to shared file system" 2023-03-20 12:59:18 +00:00
Zuul
bd20554dac Merge "Update master for stable/2023.1" 2023-03-16 12:16:10 +00:00
Zuul
4423ffcedf Merge "Revert "Revert "Add "security_group_ids" to Port's query parameters""" 2023-03-15 14:31:38 +00:00
Gregory Thiemonge
9f0737527e Fix Accept header for deleting Octavia load balancers
Octavia now handles properly the Accept headers of incomining requests,
sending an Accept header with an empty string doesn't make much sense as
it implies that the client accepts nothing.

Change-Id: Ibdd389342f1960ea0f5bd28521e438553f3b1935
2023-03-07 13:11:06 +01:00
Kafilat Adeleke
c2b8612af1 Add share network resource to shared file system
Introduce Share network class with basic methods
including list, create, delete, get and update to
shared file systems.

Change-Id: Id91a6d3745897533c3d280a7b751146d9d30f898
Co-Authored-By: Samuel Loegering <samloegering@icloud.com>
2023-03-06 22:34:05 +00:00
7c7092e72e Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: If0ead68bf815af40bfe690c7d1a3517efc8fd56e
2023-03-02 14:10:35 +00:00
Goutham Pacha Ravi
74f8869fd9 Remove "feature/r1" override from manila job
This was cruft left over from the merge of "feature/r1" to
the "master" branch. Currently manila jobs are failing since
a bindep fix [1] that's present in the "master" branch aren't
present in the "feature/r1" branch.

[1] https://review.opendev.org/c/openstack/openstacksdk/+/863839

Change-Id: Iecd6434a8b3eb92180e463f984e7982ed97ad61f
2023-02-15 16:58:46 -08:00
Zuul
6355b2af3e Merge "Add support for glance cache" 2023-02-14 20:55:20 +00:00
Mridula Joshi
c0e8027e83 Add support for glance cache
Change-Id: I539807d329b9529580b298cc96172c3a120950e1
2023-02-14 12:28:22 +00:00
Stephen Finucane
3876f3f6d9 Update README to indicate COE resource/proxy support
We now have first class support for Magnum.

A unrelated typo is also corrected.

Change-Id: I5065d3a780bc3d530e22e1eb2619fe107741abec
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1.0.1
2023-01-31 14:48:31 +00:00
Artem Goncharov
9ea832d660 Prepare release note for R1.0
We made a technical problem releasing lot of breaking changes in 0.99,
but that was necessary due to inability to build RC. In order to log
things properly create an explanational releasenote describing issues
and repeating major stuff.

Change-Id: I34d68d2d22d0a5a221d976713ec7a0db4745b299
1.0.0
2023-01-30 15:35:17 +00:00
Artem Goncharov
6e5f34dba5 Drop munch dependency
Importing munch inside of SDK is taking around 0.3 second. Itself it is
not a big problem, but it hurts on the openstackclient front. In
addition to that munch project does not seem to be actively maintained
and had no releases since 2 years.
Dropping this dependency at once is requiring quite a big rework so
instead copy a heavily stripped version of what we really require from
it. This helps us to gain performance improvement while giving time to
rework our code to come up with a decicion on how to deal with it.

Change-Id: I6612278ae798d48b296239e3359026584efb8a70
2023-01-29 09:02:51 +01:00
Zuul
e84deaa56a Merge "Finish Magnum rework" 2023-01-28 20:48:35 +00:00
Zuul
c85640bbdc Merge "Add magnum cluster templates resource" 2023-01-28 20:44:18 +00:00
Zuul
d4934c6d75 Merge "Add Tap Services and Flows to SDK" 2023-01-28 16:38:17 +00:00
Zuul
70a8a240af Merge "image: Prevent passing conflicts args to stage_image" 2023-01-28 13:26:01 +00:00
Zuul
f7fae4e46f Merge "image: Remove unsupported parameters from v1 proxy" 2023-01-28 13:25:58 +00:00
Zuul
76dc8ca2f1 Merge "image: Modify signatures of various image methods" 2023-01-28 13:25:55 +00:00
Zuul
0dd7ba8a6d Merge "image: Remove unnecessary abstractions" 2023-01-28 13:25:52 +00:00
elajkat
71dcfba0ca Add Tap Services and Flows to SDK
Change-Id: I631379e4711148a5a470a91b069d8b58019c0eef
Related-Bug: #1999774
2023-01-28 14:21:08 +01:00
Zuul
395a1b6cc8 Merge "image: Remove _base_proxy module" 2023-01-28 13:17:43 +00:00
Zuul
8bb90d010c Merge "image: Reformat proxy modules" 2023-01-28 13:17:41 +00:00
Zuul
4b905ea9e7 Merge "Add BGP Speakers and Peers to SDK" 2023-01-28 13:15:10 +00:00
Artem Goncharov
a27619cbf4 Finish Magnum rework
- add coe service resource and proxy methods
- add coe cluster certificates resource and methods
- switch remaining cloud methods to use proxy
- add coe docs

Change-Id: I7532d03ad26785dccdcc37b19165c19246ebd6e1
2023-01-28 11:40:23 +01:00
Artem Goncharov
b66c6cc847 Add magnum cluster templates resource
Implement support for magnum clustertemplate.

- drop support for bays. Those were never tested properly in SDK and are
  deprecated since Newton.

Change-Id: I8a7198231fd60abf5ac2dd44985961c8c47db657
2023-01-27 19:39:32 +01:00
Stephen Finucane
289e5c2d3c Convert cloud layer to use COE proxy layer
We only have the Cluster resource modelled thus far, so that is all
that's converted.

Change-Id: I7ea63b2cdda881c621cbb0e212479328a96e73bd
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-25 20:46:11 +01:00
Zuul
1b2a360d1c Merge "image: Add missing image import options" 2023-01-25 18:03:56 +00:00
elajkat
b8038e6535 Add BGP Speakers and Peers to SDK
Change-Id: If03254bf43652690fe3bbb106baa1da396247050
Related-Bug: #1999774
2023-01-19 13:51:06 +00:00
Zuul
37d7483439 Merge "Revert "Add 'details' parameter to various 'find' proxy methods"" 2023-01-17 22:06:20 +00:00
Stephen Finucane
8a8189ad94 image: Prevent passing conflicts args to stage_image
Change-Id: Id6927a7f1e213634a2845b6ac0708c13759a19dc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:26:42 +00:00
Stephen Finucane
6baa435a04 image: Remove unsupported parameters from v1 proxy
There was an idea to provide the exact same method signature for
'create_image' in the v1 and v2 Image proxy APIs. This was a bad idea as
it limits how the v2 version of this method can evolve. Stop doing it.
Or rather, try. In reality, nothing really changes and all we're doing
is removing the documentation for these unsupported options and
reworking the exception logic.

The docstring for the 'create_image' function is reworked.

Change-Id: I65da2e6795d7fd417dd2ab46c272b36e4ae83b69
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:26:42 +00:00
Stephen Finucane
e2e5042d38 image: Modify signatures of various image methods
We also update the docstrings to clarify some methods.

Change-Id: If38f900a8386833559474270154b913bbc9a5e87
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:26:42 +00:00
Stephen Finucane
d99fc11214 image: Remove unnecessary abstractions
Change-Id: I3b09deddbc3914d3bd43888465fe6948f88a36ff
2023-01-13 17:26:42 +00:00
Stephen Finucane
6462005c7b image: Remove _base_proxy module
These have diverged so significantly that there isn't really any benefit
in keeping them together any longer.

This change is purely code motion: a future change will remove the now
unnecessary abstractions.

Change-Id: Ic20dc90be983c03a3166debeabe4af4587341723
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:26:42 +00:00
Stephen Finucane
121911feec image: Reformat proxy modules
We're going to be conducting surgery on these shortly. Clean them up
before that happens.

Change-Id: Iec490c844efe735f01f6a9f6cc12876f2913b98c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:26:40 +00:00
Stephen Finucane
433d97c40c image: Add missing image import options
Add support for the following options:

- remote_region
- remote_image_id
- remote_service_interface

In addition, we now return the response to the user.

Change-Id: I7ebb75896002ea8e0eca6617eb407e94050bce65
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-01-13 17:25:51 +00:00
Zuul
5106f2f49f Merge "Add typing information and documentation" 2023-01-12 17:40:29 +00:00
Zuul
ca414f98c9 Merge "baremetal: Add Node boot_device methods" 2023-01-12 15:29:37 +00:00
Zuul
1b4bd78a13 Merge "baremetal: Add Node console methods" 2023-01-12 15:29:35 +00:00
Zuul
f037ec9ff7 Merge "Add query mappings for vpnaas resources" 2023-01-11 11:30:46 +00:00
Zuul
5de7c78c9a Merge "baremetal: Add Node.inject_nmi method" 2023-01-11 09:11:51 +00:00
Zuul
7e686605ea Merge "Drop _normalize class" 2023-01-11 09:01:30 +00:00
Zuul
a6e4f57bc9 Merge "Allow passing more arguments to create_port" 2023-01-10 21:53:57 +00:00
Zuul
e1bf4d4ce3 Merge "Move _normalize_coe_* into _coe class" 2023-01-10 21:39:01 +00:00
Tom Weininger
e8d351ddd8 Add typing information and documentation
Tools like mypy and IDEs like PyCharm use this kind of information in
order to do type checking and to provide better auto-completion, which
can be an enormous help for developers.

Type hints are supported since Python 3.5. [1]
Variable annotations are supported since Python 3.6. [2]

[1]: https://peps.python.org/pep-0484/
[2]: https://peps.python.org/pep-0526/

Change-Id: I00834257335baa070e81ee4418d9314065db289c
2023-01-10 18:52:07 +01:00
Artem Goncharov
d6ccf29f6e Drop _normalize class
Finally nothing in the SDK is needing _normalize class anymore and we
can get rid of it.

Change-Id: Ia0d94cd3bd6742cbf90f9e6f5d3c05648819c228
2023-01-10 10:50:32 +00:00
Dr. Jens Harbott
6a0fd31a03 Revert "Add 'details' parameter to various 'find' proxy methods"
This partially reverts commit f9a3cc2f135e5c28fa1e046bb1ca034be36be9aa.

Reason for revert: The change to the baremetal functions is not working,
this part of the original change is reverted here.

Change-Id: Icc70bbdc06b5f32722a93775aee2da4d7b7ca4ae
2023-01-06 12:22:55 +01:00
Zuul
d63bdc97ae Merge "Move normalize_server to compute mixin" 2023-01-05 16:47:29 +00:00
Zuul
75145a02ff Merge "Move normalize security group to sg class" 2023-01-05 16:25:03 +00:00