Fix: Do not treat duplicated MapReg as error by changing log level

Since MapRegister messsages are sent to ONOS in periodic manner,
we do not want to treat duplicated MapReg reception as an error.

Change-Id: I3437c8927bc838c0344b13101abc65e6a1d328c0
This commit is contained in:
Jian Li 2017-04-14 12:03:24 +09:00 committed by Andrea Campanella
parent 6a9ff0d879
commit 07b9020199

View File

@ -256,7 +256,7 @@ public class LispControllerImpl implements LispController {
public boolean addConnectedRouter(LispRouterId routerId, LispRouter router) {
if (connectedRouters.get(routerId) != null) {
log.error("Trying to add connectedRouter but found a previous " +
log.warn("Trying to add connectedRouter but found a previous " +
"value for routerId: {}", routerId);
return false;
} else {