-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of Flavors and FlavorProfiles for Octavia #2575
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.
bd9d8bd
to
e91da60
Compare
@Pyjou I had a brief look at this PR and it looks good to me but it'll be nice to test it with acceptance. Let us know if you need help. |
0291578
to
e2b8980
Compare
dcb63f0
to
cce483b
Compare
@EmilienM I took inspiration from the other tests and added them. |
Any news? |
Any chance this could be merged in the next release? This patch is required in order to implement the change also in the openstack terraform provider. |
Hi @Pyjou, sorry for the delay. I'm trying to take a look either today or tomorrow. |
} | ||
|
||
type ListOpts struct { | ||
ID string `q:"id"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as for the Flavors, we should have fields
here.
Thanks a lot for the PR @Pyjou, I can see it was a substantial amount of work. Sorry it took so long for us to take a first pass at it. As a tip for next time, I suggest you break down your PRs into smaller chunks (ideally 1 PR for each API call), so that it's easier for us to review and we can iterate more quickly when there are things to address. This also ensures that we get acceptance tests for all new API calls we add support for. |
@Pyjou I'm just checking in, are you still looking at this PR? A few comments were left and I want to make sure you're not stuck or anything. Thanks for your contribution! |
cce483b
to
de72c4c
Compare
de72c4c
to
8cb1594
Compare
Hi @Pyjou could you please rebase and once CI is green I'll have a look. Thanks |
8cb1594
to
4c936a2
Compare
4c936a2
to
0ee491c
Compare
I fixed tests, wrong import and syntax error. |
I'll try my best to review the PR this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of small things which should be easy to fix, but nothing really dramatic except maybe for the missing omitempty
in the flavor update request. It would be nice also to document all the fields. They will end up in the documentation, for example https://pkg.go.dev/github.com/gophercloud/gophercloud@v1.8.0/openstack/loadbalancer/v2/loadbalancers#CreateOpts
Otherwise, really good work. This is close to being mergeable.
0ee491c
to
1cc8786
Compare
1cc8786
to
34a7c13
Compare
You can review now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's see if the tests agree.
For the jobs that failed, it timed out while creating the LB. Retrying. |
Add support of Flavors and FlavorProfiles for Octavia
Fixes #2574
Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
https://github.com/openstack/octavia/blob/master/octavia/api/v2/controllers/flavors.py
https://github.com/openstack/octavia/blob/master/octavia/api/v2/controllers/flavor_profiles.py