I think this tool needs to be run on l3 nodes and dhcp nodes.
It should only be run when rebooting a node.
And it should finish the cleaning before l3 agent or dhcp agent starts.
In some environments, nova compute, l3 agent and dhcp agent are on the same node [1].
We need to make sure that the tool finishes the cleaning before nova compute starts.
It's kind of complicated. That's why I don't like the idea that using a upstart/init job to do the cleaning.
Maybe it's better that l3 agent and dhcp agent replug the ports themselves during starting.
I think this tool needs to be run on l3 nodes and dhcp nodes.
It should only be run when rebooting a node.
And it should finish the cleaning before l3 agent or dhcp agent starts.
In some environments, nova compute, l3 agent and dhcp agent are on the same node [1].
We need to make sure that the tool finishes the cleaning before nova compute starts.
It's kind of complicated. That's why I don't like the idea that using a upstart/init job to do the cleaning.
Maybe it's better that l3 agent and dhcp agent replug the ports themselves during starting.
[1] https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1010941