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);
}
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);
}
Aggregations