From 0616171a8c493731a85dacde3e10838e5a0053ec Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Thu, 2 Apr 2015 10:59:00 -0400 Subject: [PATCH] Fix docstring for l3_dvr_db.dvr_vmarp_table_update Change-Id: I783b0357833cda0e5143581284be720e5d4f3a97 --- neutron/db/l3_dvr_db.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/neutron/db/l3_dvr_db.py b/neutron/db/l3_dvr_db.py index 4cb504d1709..e7a23b501f4 100644 --- a/neutron/db/l3_dvr_db.py +++ b/neutron/db/l3_dvr_db.py @@ -632,11 +632,13 @@ class L3_NAT_with_dvr_db_mixin(l3_db.L3_NAT_db_mixin, return port_list def dvr_vmarp_table_update(self, context, port_dict, action): - """Notify the L3 agent of VM ARP table changes. + """Notify L3 agents of VM ARP table changes. - Provide the details of the VM ARP to the L3 agent when - a Nova instance gets created or deleted. + When a VM goes up or down, look for one DVR router on the port's + subnet, and send the VM's ARP details to all L3 agents hosting the + router. """ + # Check this is a valid VM port if ("compute:" not in port_dict['device_owner'] or not port_dict['fixed_ips']):