Changing two more component configs in segment routing
Set linkStaleAge to 15 seconds: prevent link down event during mastership transition in HA scenario
Set allowDuplicatedIp to false: cleanup IP when a new container is launched with same IP but different MAC
Change-Id: Ic2a9f87179de367c2ff84b232ca7f8ca3e152715
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
index 6092716..1d1cc4e 100644
--- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
+++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
@@ -389,6 +389,10 @@
"distributed", "true");
compCfgService.preSetProperty("org.onosproject.provider.host.impl.HostLocationProvider",
"multihomingEnabled", "true");
+ compCfgService.preSetProperty("org.onosproject.provider.lldp.impl.LldpLinkProvider",
+ "staleLinkAge", "15000");
+ compCfgService.preSetProperty("org.onosproject.net.host.impl.HostManager",
+ "allowDuplicateIps", "false");
processor = new InternalPacketProcessor();
linkListener = new InternalLinkListener();