Fix update of network's segmentation id for network with ports
Filter neutron_lib.objects.utils.NotIn, designed to work with OVO objects
was used in db query and because of that ports belong to network wasn't
filtered by vif_type thus if there were any ports in network, it was not
possible to change its segmentation id.
Reviewed: https:/ /review. opendev. org/665623 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3367e2081bf d57030a3a3427ee c630aa2f483d25
Committed: https:/
Submitter: Zuul
Branch: master
commit 3367e2081bfd570 30a3a3427eec630 aa2f483d25
Author: Slawek Kaplonski <email address hidden>
Date: Fri Jun 14 10:40:03 2019 +0200
Fix update of network's segmentation id for network with ports
Filter neutron_ lib.objects. utils.NotIn, designed to work with OVO objects
was used in db query and because of that ports belong to network wasn't
filtered by vif_type thus if there were any ports in network, it was not
possible to change its segmentation id.
Change-Id: I6ad2047c310e11 1bffe0942af12af 1f642963b18
Closes-Bug: #1832985