-
Notifications
You must be signed in to change notification settings - Fork 564
Added address groups to Networking extensions, with tests. #3218
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
Added address groups to Networking extensions, with tests. #3218
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.
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.
Hi. Thanks for the PR. A couple of first findings. Probably later I'll take a closer look.
Hi @kayrus, made the initial changes you'd left, is there an update on this please? |
dda7dcb
to
1ceee9e
Compare
7046b27
to
1fe6662
Compare
1fe6662
to
f799e81
Compare
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.
I rebased your change on main, added functional tests and adjusted the UpdateOpts to not include the Addresses member, otherwise API complains that this field is read-only.
…d to SecGroupRules
f799e81
to
ec5b9ca
Compare
Added address groups to Networking extensions, with tests.
Field added to SecGroupRules - Allows security group rule to reference the remote address group as the rule target
Fixes #3200
API:
https://docs.openstack.org/api-ref/network/v2/index.html#address-groups
List:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L42
Get:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L108
Create:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L96
Update:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L123
Delete:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L116
Add Addresses:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L137
RemoveAddresses:
https://github.com/Jscott377/gophercloud/blob/add_address_groups_to_networking/openstack/networking/v2/extensions/addressgroups/requests.go#L151