Search in sources :

Example 1 with NetworkBfdSessionService

use of org.openkilda.wfm.topology.network.service.NetworkBfdSessionService 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());
}
Also used : SwitchOnlineStatusMonitor(org.openkilda.wfm.topology.network.utils.SwitchOnlineStatusMonitor) EndpointStatusMonitor(org.openkilda.wfm.topology.network.utils.EndpointStatusMonitor) NetworkBfdLogicalPortService(org.openkilda.wfm.topology.network.service.NetworkBfdLogicalPortService) NetworkBfdGlobalToggleService(org.openkilda.wfm.topology.network.service.NetworkBfdGlobalToggleService) TaskIdBasedKeyFactory(org.openkilda.wfm.share.hubandspoke.TaskIdBasedKeyFactory) NetworkBfdSessionService(org.openkilda.wfm.topology.network.service.NetworkBfdSessionService)

Aggregations

TaskIdBasedKeyFactory (org.openkilda.wfm.share.hubandspoke.TaskIdBasedKeyFactory)1 NetworkBfdGlobalToggleService (org.openkilda.wfm.topology.network.service.NetworkBfdGlobalToggleService)1 NetworkBfdLogicalPortService (org.openkilda.wfm.topology.network.service.NetworkBfdLogicalPortService)1 NetworkBfdSessionService (org.openkilda.wfm.topology.network.service.NetworkBfdSessionService)1 EndpointStatusMonitor (org.openkilda.wfm.topology.network.utils.EndpointStatusMonitor)1 SwitchOnlineStatusMonitor (org.openkilda.wfm.topology.network.utils.SwitchOnlineStatusMonitor)1