mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-19 11:21:13 +02:00
Fix an NPE in modified when calling hostHandler
Change-Id: Ifa8799875f8de8c5b322e773748b5f8caee8f97a
This commit is contained in:
parent
32c9696d28
commit
a40ecbbee1
@ -473,6 +473,18 @@ public class SegmentRoutingManager implements SegmentRoutingService {
|
|||||||
.withTimestampProvider((k, v) -> new WallClockTimestamp())
|
.withTimestampProvider((k, v) -> new WallClockTimestamp())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
processor = new InternalPacketProcessor();
|
||||||
|
linkListener = new InternalLinkListener();
|
||||||
|
deviceListener = new InternalDeviceListener();
|
||||||
|
appCfgHandler = new AppConfigHandler(this);
|
||||||
|
mcastHandler = new McastHandler(this);
|
||||||
|
hostHandler = new HostHandler(this);
|
||||||
|
linkHandler = new LinkHandler(this);
|
||||||
|
routeHandler = new RouteHandler(this);
|
||||||
|
neighbourHandler = new SegmentRoutingNeighbourDispatcher(this);
|
||||||
|
l2TunnelHandler = new DefaultL2TunnelHandler(this);
|
||||||
|
topologyHandler = new TopologyHandler(this);
|
||||||
|
|
||||||
compCfgService.preSetProperty("org.onosproject.net.group.impl.GroupManager",
|
compCfgService.preSetProperty("org.onosproject.net.group.impl.GroupManager",
|
||||||
"purgeOnDisconnection", "true", false);
|
"purgeOnDisconnection", "true", false);
|
||||||
compCfgService.preSetProperty("org.onosproject.net.flow.impl.FlowRuleManager",
|
compCfgService.preSetProperty("org.onosproject.net.flow.impl.FlowRuleManager",
|
||||||
@ -503,18 +515,6 @@ public class SegmentRoutingManager implements SegmentRoutingService {
|
|||||||
compCfgService.registerProperties(getClass());
|
compCfgService.registerProperties(getClass());
|
||||||
modified(context);
|
modified(context);
|
||||||
|
|
||||||
processor = new InternalPacketProcessor();
|
|
||||||
linkListener = new InternalLinkListener();
|
|
||||||
deviceListener = new InternalDeviceListener();
|
|
||||||
appCfgHandler = new AppConfigHandler(this);
|
|
||||||
mcastHandler = new McastHandler(this);
|
|
||||||
hostHandler = new HostHandler(this);
|
|
||||||
linkHandler = new LinkHandler(this);
|
|
||||||
routeHandler = new RouteHandler(this);
|
|
||||||
neighbourHandler = new SegmentRoutingNeighbourDispatcher(this);
|
|
||||||
l2TunnelHandler = new DefaultL2TunnelHandler(this);
|
|
||||||
topologyHandler = new TopologyHandler(this);
|
|
||||||
|
|
||||||
cfgService.addListener(cfgListener);
|
cfgService.addListener(cfgListener);
|
||||||
cfgService.registerConfigFactory(deviceConfigFactory);
|
cfgService.registerConfigFactory(deviceConfigFactory);
|
||||||
cfgService.registerConfigFactory(appConfigFactory);
|
cfgService.registerConfigFactory(appConfigFactory);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user