This looks specific to DVR since the legacy code is the only place where we'd actually add the IP to a device, DVR just adds rules and routes now.
I'll have to trace the code, since on the restart of the l3-agent we should be going through code like add_floating_ip() where it could make sure to remove any remnants, or there might be a better place somewhere called only once at startup. Xagent - I remember on IRC you saying you were playing with some patches, feel free to share them if you found something that works.
This looks specific to DVR since the legacy code is the only place where we'd actually add the IP to a device, DVR just adds rules and routes now.
I'll have to trace the code, since on the restart of the l3-agent we should be going through code like add_floating_ip() where it could make sure to remove any remnants, or there might be a better place somewhere called only once at startup. Xagent - I remember on IRC you saying you were playing with some patches, feel free to share them if you found something that works.