When new network segment range is created for "vlan" network,
specify physical network is required.
It wasn't checked so there was ugly error 500 returned to the user
and ugly stacktrace in neutron logs.
Now it is validated and error 400 with proper description of
what is missing is returned.
Reviewed: https:/ /review. openstack. org/650245 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=84ba64a6a6e de880fe3d399743 343236946369fb
Committed: https:/
Submitter: Zuul
Branch: master
commit 84ba64a6a6ede88 0fe3d3997433432 36946369fb
Author: Slawek Kaplonski <email address hidden>
Date: Fri Apr 5 10:26:36 2019 +0200
Fix error 500 during segment range creation
When new network segment range is created for "vlan" network,
specify physical network is required.
It wasn't checked so there was ugly error 500 returned to the user
and ugly stacktrace in neutron logs.
Now it is validated and error 400 with proper description of
what is missing is returned.
Change-Id: Id3809a62f0e5d7 4949b34788b08af 2e2aec879d8
Closes-Bug: #1823297