-
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 networking port extra DHCP opts Update call #804
Add networking port extra DHCP opts Update call #804
Conversation
Build succeeded.
|
Add a new networking v2 extension to provide extra DHCP configuration support for ports. Add basic structures with a unit test.
Use "ExtraDHCPOptsExt" and "ExtraDHCPOpts" for basic structs names of the extra dhcp options extenstion. Upgrade unit-test and fix spacing in the unit test fixture.
Move the extra DHCP options GET unit test to the standard networking port package.
Add a Create request to the networking v2 extra DHCP options extension. Add unit and acceptance tests.
Move the extra DHCP options Create call unit and acceptance tests to the standard networking port package.
Rename comment for the CreateOptsExt.ExtraDHCPOpts field.
Add an Update request to the networking v2 extra DHCP options extension. Add unit and acceptance tests.
0fdbe48
to
3289c0e
Compare
Build succeeded.
|
@ozerovandrei This all looks good to me. There's one issue that I didn't catch yesterday: Rather than you make the change and then have to do a bunch of rebasing across all 3 PRs, I'm going to merge this PR (which contains all of the work) and then follow-up with my own commit to fix this. It's my fault I didn't catch the name and you shouldn't have to pay for it 😄 |
Add an Update request to the networking v2 extra DHCP options extension.
Add unit and acceptance tests.
For #511
Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
https://github.com/openstack/neutron-lib/blob/stable/pike/neutron_lib/api/definitions/extra_dhcp_opt.py#L25
https://github.com/openstack/neutron/blob/stable/pike/neutron/agent/linux/dhcp.py#L954
https://github.com/openstack/neutron/blob/stable/pike/neutron/db/extra_dhcp_opt/models.py#L20
https://github.com/openstack/neutron/blob/stable/pike/neutron/objects/ports.py#L266
https://github.com/openstack/neutron/blob/stable/pike/neutron/objects/ports.py#L320