Fix docstring for l3_dvr_db.dvr_vmarp_table_update

Change-Id: I783b0357833cda0e5143581284be720e5d4f3a97
This commit is contained in:
Assaf Muller 2015-04-02 10:59:00 -04:00
parent 7904c9c969
commit 0616171a8c
1 changed files with 5 additions and 3 deletions

View 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']):