Networking / routers: Allow updating routers, without specifying the static routes#2043
Networking / routers: Allow updating routers, without specifying the static routes#2043jtopjian merged 3 commits intogophercloud:masterfrom
Conversation
This is helpful when it is necessary to rename a router, but it is not desired by the user to touch the static routes. The OpenStack API just allows to omit the static routes (e.g. verifyable with `openstack router set --name new_name --debug`). This change makes sure that static routes parameter can be omitted with gophercloud as well. Also added a unit test.
|
Build failed.
|
|
recheck |
|
Build failed.
|
|
I also noticed that the documentation needed an update. @jtopjian I am not sure how I can see what fails in the acceptance test – or is it just flaky? Thanks for sending the retest command ;) |
|
@stefreak The full suite usually takes 2-3 hours, so 1.5hrs may be pointing to an issue with OpenLab. It happens from time to time. Let's give it a day and if it's still failing, I'll open a ticket. If I get some time, I'll run the tests in devstack to confirm if any of them need updating from this change. |
|
Build failed.
|
|
recheck |
|
Build failed.
|
|
From the logs, it looks like the devstack installation is not completing successfully. I'll give it one more try and then open a ticket. |
|
recheck |
|
Build succeeded.
|
This is helpful when it is necessary to rename a router,
but it is not desired by the user to touch the static routes.
The OpenStack API just allows to omit the static routes (e.g.
verifyable with
openstack router set --name new_name --debug).This change makes sure that static routes parameter can be omitted with
gophercloud as well.
Also added a unit test.
For #2044
Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
(I could not find a specific line of code, but provided the openstack CLI command for quick verification that this works above)