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/481321 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7da955bf46e 3e62f775afaad93 6006497e4320e3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7da955bf46e3e62 f775afaad936006 497e4320e3
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.
Change-Id: Ic2e80ebb59ac9e 0e0063e5f6e69f3 d66abe775a1
Closes-Bug: #1702790