Search in sources :

Example 1 with YFlowValidationService

use of org.openkilda.wfm.topology.flowhs.fsm.yflow.validation.YFlowValidationService 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 YFlowValidationService

use of org.openkilda.wfm.topology.flowhs.fsm.yflow.validation.YFlowValidationService 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

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