commit 3a1175b88a436eecf00b8f04e5cc9f5cbce3ee06
Author: Kevin Benton <email address hidden>
Date: Sat May 2 23:10:52 2015 -0700
Check for missing network in _bind_devices
_bind_devices was making the assumption that the ports it
was operating had local VLAN map entries for their network.
This wasn't the case when a network was deleted right before
_bind_ports was called because the VLAN was reclaimed.
This patch just checks to see if the the network ID has an entry
in the map. If not, it skips the port. The port will be handled
on the next scan_ports iteration when the agent will discover that
the port is no longer defined on the plugin and it will be placed
in the DEAD vlan.
Reviewed: https:/ /review. openstack. org/181185 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3a1175b88a4 36eecf00b8f04e5 cc9f5cbce3ee06
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3a1175b88a436ee cf00b8f04e5cc9f 5cbce3ee06
Author: Kevin Benton <email address hidden>
Date: Sat May 2 23:10:52 2015 -0700
Check for missing network in _bind_devices
_bind_devices was making the assumption that the ports it
was operating had local VLAN map entries for their network.
This wasn't the case when a network was deleted right before
_bind_ports was called because the VLAN was reclaimed.
This patch just checks to see if the the network ID has an entry
in the map. If not, it skips the port. The port will be handled
on the next scan_ports iteration when the agent will discover that
the port is no longer defined on the plugin and it will be placed
in the DEAD vlan.
Change-Id: Ica51d727aceb41 848fec0f4edbd16 916365941ee
Closes-Bug: #1452903