DVR: Fix router_update failure when agent restarts
Router update task fails when agent restarts with DVR routers
as it was failing adding an IP rule to the namespace.
The IP rule matching code was not finding a match for
a rule for an interface since we are not specifying an
IP address, but the resulting rule does have the "any" IP
address in its output, for example, 0.0.0.0/0. Change
to always supply the IP address.
Reviewed: https:/ /review. openstack. org/501407 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fc9c146b13f 0895cf2cd59e05b 185fc4a5a1e1d3
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit fc9c146b13f0895 cf2cd59e05b185f c4a5a1e1d3
Author: Swaminathan Vasudevan <email address hidden>
Date: Thu Jul 6 16:41:17 2017 -0700
DVR: Fix router_update failure when agent restarts
Router update task fails when agent restarts with DVR routers
as it was failing adding an IP rule to the namespace.
The IP rule matching code was not finding a match for
a rule for an interface since we are not specifying an
IP address, but the resulting rule does have the "any" IP
address in its output, for example, 0.0.0.0/0. Change
to always supply the IP address.
Conflicts:
neutron/ tests/functiona l/agent/ l3/test_ dvr_router. py
Change-Id: Ic2e80ebb59ac9e 0e0063e5f6e69f3 d66abe775a1 f775afaad936006 497e4320e3)
Closes-Bug: #1702790
(cherry picked from commit 7da955bf46e3e62