]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix port creation verification of the port-security extension
authorYalei Wang <yalei.wang@intel.com>
Tue, 21 Apr 2015 07:17:13 +0000 (15:17 +0800)
committerYalei Wang <yalei.wang@intel.com>
Thu, 30 Apr 2015 17:08:29 +0000 (01:08 +0800)
commita377b4fc95f58749178b881d0104ecfaa0b26714
treee3f18ba3598539d1c7d8a78105c10d2aa6efe06e
parent4363bc38c44d60abefe59ed2edea036e326cbce5
Fix port creation verification of the port-security extension

When port is created, we should check the content of the security-group and
address-pairs like we do when port updated.
This patch also updates address-pairs testing unskipping some
port-security-related tests.

Change-Id: Ia27881a34ff99cad34c84764d2bf8a6cdf77af9c
Closes-Bug: #1446087
neutron/plugins/ml2/plugin.py
neutron/tests/unit/db/test_allowedaddresspairs_db.py
neutron/tests/unit/plugins/ml2/test_ext_portsecurity.py
neutron/tests/unit/plugins/ml2/test_plugin.py