DVR: Fix bad arping call in centralized floating IP code

When the centralized floating IP code was added, the call
to send_ip_addr_adv_notif() had an incorrect argument,
leading to this failure in the l3-agent log:

TypeError: range() integer end argument expected, got ConfigOpts.

Closes-bug: #1717597
Change-Id: Ib0a5162912caac0508e19996fb13e431af39cfc4
This commit is contained in:
Brian Haley 2017-09-14 15:34:03 -06:00 committed by Brian Haley
parent 186441ce47
commit 92f1052d3c
1 changed files with 1 additions and 2 deletions

View File

@ -323,8 +323,7 @@ class DvrEdgeRouter(dvr_local_router.DvrLocalRouter):
# centralized floatingip configured.
ip_lib.send_ip_addr_adv_notif(self.snat_namespace.name,
interface_name,
fip['floating_ip_address'],
self.agent_conf)
fip['floating_ip_address'])
return lib_constants.FLOATINGIP_STATUS_ACTIVE
def _centralized_floating_forward_rules(self, floating_ip, fixed_ip):