]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Prevent an iteration through ports on IPv6 slaac
authorKevin Benton <blak111@gmail.com>
Tue, 18 Nov 2014 16:34:56 +0000 (08:34 -0800)
committerKevin Benton <blak111@gmail.com>
Tue, 18 Nov 2014 16:39:30 +0000 (08:39 -0800)
commitb3a44c2d5d8ca85bcc5ccffc76d2a959e373e5d4
tree68f39514c8e28218406e83df5bec545bdcb9d586
parent9b1cda6d34883dc5ffe63dfab7f3820bec0b18fe
Prevent an iteration through ports on IPv6 slaac

A recent change[1] allowed subnets to be deleted even if they
had active IPv6 SLAAC allocations on them. The updated check
was inefficient because it would check every port in the subnet
even if the subnet was a SLAAC subnet. This patch just shortcuts
out that check.

1. I281f5a1553248e09174dc49d0a42aef4b5c44bee

Change-Id: I2c35495b3642c644e4758f28ccddcc076139ec3b
neutron/plugins/ml2/plugin.py