CORD-563 Remove stale IP addresses on br-int

Change-Id: Idee5b32febd527963a630af21750985c3b074147
diff --git a/src/main/java/org/onosproject/cordvtn/CordVtnNodeManager.java b/src/main/java/org/onosproject/cordvtn/CordVtnNodeManager.java
index 954e55b..4802db8 100644
--- a/src/main/java/org/onosproject/cordvtn/CordVtnNodeManager.java
+++ b/src/main/java/org/onosproject/cordvtn/CordVtnNodeManager.java
@@ -631,6 +631,11 @@
             return;
         }
 
+        RemoteIpCommandUtil.getCurrentIps(session, DEFAULT_BRIDGE).stream()
+                .filter(ip -> !ip.equals(node.localMgmtIp().ip()))
+                .filter(ip -> !ip.equals(node.dpIp().ip()))
+                .forEach(ip -> RemoteIpCommandUtil.deleteIp(session, ip, DEFAULT_BRIDGE));
+
         boolean result = RemoteIpCommandUtil.flushIp(session, node.dpIntf()) &&
                 RemoteIpCommandUtil.setInterfaceUp(session, node.dpIntf()) &&
                 RemoteIpCommandUtil.addIp(session, node.dpIp(), DEFAULT_BRIDGE) &&