]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
l2-pop shouldn't notify agent about inactive ports
authorChengli XU <xuchengli@corp.netease.com>
Wed, 25 Jun 2014 14:26:04 +0000 (22:26 +0800)
committerRomil Gupta <romilg@hp.com>
Fri, 6 Feb 2015 16:47:55 +0000 (08:47 -0800)
commitf022caed48f7e0c2c97be22b90f4c3c5f24c6c31
tree21d1081a5e0161848b8c538715da5619da7bd107
parentec3f7562e05dd0d924f500006949648435505bdb
l2-pop shouldn't notify agent about inactive ports

When an agent starts, or the first port of an agent becomes active,
l2 population mechanism driver will notify the agent of all ports on other agents.
It should not notify about inactive ports.

Basically, this patch-set is needed for fixing the bug 1332450.

Co-Authored-By: Romil Gupta <romilg@hp.com>
Closes-Bug: #1334292
Change-Id: Ifbbd7c4e22d4a6383a3c77a9d9ac9a37302c38c3
neutron/plugins/ml2/drivers/l2pop/db.py
neutron/plugins/ml2/drivers/l2pop/mech_driver.py
neutron/tests/unit/ml2/drivers/test_l2population.py