Search in sources :

Example 1 with FlowValidationHubService

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

the class YFlowValidationHubBolt method init.

@Override
public void init() {
    FlowResourcesManager flowResourcesManager = new FlowResourcesManager(persistenceManager, flowResourcesConfig);
    flowValidationHubService = new FlowValidationHubService(new FlowValidationHubCarrierIsolatingResponsesAndLifecycleEvents(this), persistenceManager, flowResourcesManager, flowMeterMinBurstSizeInKbits, flowMeterBurstCoefficient);
    YFlowValidationService yFlowValidationService = new YFlowValidationService(persistenceManager, flowResourcesManager, flowMeterMinBurstSizeInKbits, flowMeterBurstCoefficient);
    yFlowValidationHubService = new YFlowValidationHubService(this, persistenceManager, flowValidationHubService, yFlowValidationService);
}
Also used : YFlowValidationHubService(org.openkilda.wfm.topology.flowhs.service.yflow.YFlowValidationHubService) FlowResourcesManager(org.openkilda.wfm.share.flow.resources.FlowResourcesManager) YFlowValidationService(org.openkilda.wfm.topology.flowhs.fsm.yflow.validation.YFlowValidationService) YFlowValidationHubService(org.openkilda.wfm.topology.flowhs.service.yflow.YFlowValidationHubService) FlowValidationHubService(org.openkilda.wfm.topology.flowhs.service.FlowValidationHubService)

Example 2 with FlowValidationHubService

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

the class FlowValidationHubBolt method init.

@Override
public void init() {
    FlowResourcesManager flowResourcesManager = new FlowResourcesManager(persistenceManager, flowResourcesConfig);
    service = new FlowValidationHubService(this, persistenceManager, flowResourcesManager, flowMeterMinBurstSizeInKbits, flowMeterBurstCoefficient);
}
Also used : FlowResourcesManager(org.openkilda.wfm.share.flow.resources.FlowResourcesManager) FlowValidationHubService(org.openkilda.wfm.topology.flowhs.service.FlowValidationHubService)

Example 3 with FlowValidationHubService

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

the class YFlowValidationHubServiceTest method makeYFlowValidationHubService.

private YFlowValidationHubService makeYFlowValidationHubService() {
    FlowValidationHubService flowValidationHubService = new FlowValidationHubService(flowValidationHubCarrier, persistenceManager, flowResourcesManager, MIN_BURST_SIZE_IN_KBITS, BURST_COEFFICIENT);
    YFlowValidationService yFlowValidationService = new YFlowValidationService(persistenceManager, flowResourcesManager, MIN_BURST_SIZE_IN_KBITS, BURST_COEFFICIENT);
    return new YFlowValidationHubService(yFlowValidationHubCarrier, persistenceManager, flowValidationHubService, yFlowValidationService);
}
Also used : YFlowValidationService(org.openkilda.wfm.topology.flowhs.fsm.yflow.validation.YFlowValidationService) FlowValidationHubService(org.openkilda.wfm.topology.flowhs.service.FlowValidationHubService)

Aggregations

FlowValidationHubService (org.openkilda.wfm.topology.flowhs.service.FlowValidationHubService)3 FlowResourcesManager (org.openkilda.wfm.share.flow.resources.FlowResourcesManager)2 YFlowValidationService (org.openkilda.wfm.topology.flowhs.fsm.yflow.validation.YFlowValidationService)2 YFlowValidationHubService (org.openkilda.wfm.topology.flowhs.service.yflow.YFlowValidationHubService)1