Search in sources :

Example 1 with FlowMirrorPointCreateService

use of org.openkilda.wfm.topology.flowhs.service.FlowMirrorPointCreateService in project open-kilda by telstra.

the class FlowMirrorPointCreateHubBolt method init.

@Override
protected void init() {
    AvailableNetworkFactory availableNetworkFactory = new AvailableNetworkFactory(pathComputerConfig, persistenceManager.getRepositoryFactory());
    PathComputer pathComputer = new PathComputerFactory(pathComputerConfig, availableNetworkFactory).getPathComputer();
    FlowResourcesManager resourcesManager = new FlowResourcesManager(persistenceManager, flowResourcesConfig);
    service = new FlowMirrorPointCreateService(this, persistenceManager, pathComputer, resourcesManager, config.getPathAllocationRetriesLimit(), config.getPathAllocationRetryDelay(), config.getResourceAllocationRetriesLimit(), config.getSpeakerCommandRetriesLimit());
}
Also used : PathComputer(org.openkilda.pce.PathComputer) AvailableNetworkFactory(org.openkilda.pce.AvailableNetworkFactory) FlowMirrorPointCreateService(org.openkilda.wfm.topology.flowhs.service.FlowMirrorPointCreateService) PathComputerFactory(org.openkilda.pce.PathComputerFactory) FlowResourcesManager(org.openkilda.wfm.share.flow.resources.FlowResourcesManager)

Aggregations

AvailableNetworkFactory (org.openkilda.pce.AvailableNetworkFactory)1 PathComputer (org.openkilda.pce.PathComputer)1 PathComputerFactory (org.openkilda.pce.PathComputerFactory)1 FlowResourcesManager (org.openkilda.wfm.share.flow.resources.FlowResourcesManager)1 FlowMirrorPointCreateService (org.openkilda.wfm.topology.flowhs.service.FlowMirrorPointCreateService)1