use of org.openkilda.wfm.share.hubandspoke.TaskIdBasedKeyFactory in project open-kilda by telstra.
the class IslHandler method init.
@Override
protected void init() {
service = new NetworkIslService(this, persistenceManager, options);
keyFactory = new TaskIdBasedKeyFactory(getTaskId());
}
use of org.openkilda.wfm.share.hubandspoke.TaskIdBasedKeyFactory in project open-kilda by telstra.
the class BfdHub method init.
// -- setup --
@Override
protected void init() {
switchOnlineStatusMonitor = new SwitchOnlineStatusMonitor();
endpointStatusMonitor = new EndpointStatusMonitor();
logicalPortService = new NetworkBfdLogicalPortService(this, switchOnlineStatusMonitor, options.getBfdLogicalPortOffset());
sessionService = new NetworkBfdSessionService(persistenceManager, switchOnlineStatusMonitor, endpointStatusMonitor, this);
globalToggleService = new NetworkBfdGlobalToggleService(this, persistenceManager);
requestIdFactory = new TaskIdBasedKeyFactory(getTaskId());
}
Aggregations