]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix docstring for l3_dvr_db.dvr_vmarp_table_update
authorAssaf Muller <amuller@redhat.com>
Thu, 2 Apr 2015 14:59:00 +0000 (10:59 -0400)
committerAssaf Muller <amuller@redhat.com>
Thu, 2 Apr 2015 15:01:23 +0000 (11:01 -0400)
Change-Id: I783b0357833cda0e5143581284be720e5d4f3a97

neutron/db/l3_dvr_db.py

index 4cb504d1709774aed06e7d96694fb09b3fa0877c..e7a23b501f49d446eb999f20d010c1ddcfcff9d9 100644 (file)
@@ -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']):