Fix-DVR Gateway clear doesn't delete csnat port
When a gateway is set to a distributed router,
the router checks for the interfaces associated
with the router and based on the number of
interfaces the router creates "csnat" interface
ports that would be used by the SNAT service in
the Service Node.
When a gateway is cleared, the plugin should
delete the "csnat" interface ports. In the
current code, it is deleting the port and
re-creating the port with a different id.
A check need to be made before it creates a new
port to make sure that the router has a valid
gateway port.
This is a bug and this patch fixes this issue.
Change-Id: I84f1795360b3693a025b5fa3454bf9efc7e503ae
Closes-Bug: #
1350089