Skip to content
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 Neutron subnetpool get support #701

Merged

Conversation

ozerovandrei
Copy link
Contributor

@ozerovandrei ozerovandrei commented Jan 2, 2018

Add support to show a Neutron subnetpool through a GET request on
/v2.0/subnetpools/{subnetpool_id}.
The same command with OpenStack CLI is done with:
openstack subnet pool show
or
neutron subnetpool-show

For #672

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

https://github.com/openstack/neutron/blob/stable/pike/neutron/db/db_base_plugin_v2.py#L707
https://github.com/openstack/neutron/blob/stable/pike/neutron/api/v2/attributes.py#L214
https://github.com/openstack/neutron/blob/stable/pike/neutron/ipam/subnet_alloc.py#L244

Add support to show a Neutron subnetpool through a GET request on
/v2.0/subnetpools/{subnetpool_id}.
The same command with OpenStack CLI is done with:
openstack subnet pool show
or
neutron subnetpool-show
@coveralls
Copy link

coveralls commented Jan 2, 2018

Coverage Status

Coverage increased (+0.04%) to 72.81% when pulling fe438f6 on ozerovandrei:feature/neutron-subnetpools-get into 0320a64 on gophercloud:master.

@jtopjian
Copy link
Contributor

jtopjian commented Jan 3, 2018

LGTM - thank you :)

@jtopjian jtopjian merged commit 2f0d338 into gophercloud:master Jan 3, 2018
@ozerovandrei ozerovandrei deleted the feature/neutron-subnetpools-get branch January 3, 2018 08:31
cardoe pushed a commit to cardoe/gophercloud that referenced this pull request Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants