Search in sources :

Example 1 with YFlowDeleteService

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

the class YFlowDeleteHubBolt method init.

@Override
protected void init() {
    FlowResourcesManager resourcesManager = new FlowResourcesManager(persistenceManager, flowResourcesConfig);
    RuleManager ruleManager = new RuleManagerImpl(ruleManagerConfig);
    flowDeleteService = new FlowDeleteService(new FlowDeleteHubCarrierIsolatingResponsesAndLifecycleEvents(this), persistenceManager, resourcesManager, yFlowDeleteConfig.getSpeakerCommandRetriesLimit());
    yFlowDeleteService = new YFlowDeleteService(this, persistenceManager, resourcesManager, ruleManager, flowDeleteService, yFlowDeleteConfig.getSpeakerCommandRetriesLimit());
}
Also used : RuleManager(org.openkilda.rulemanager.RuleManager) FlowResourcesManager(org.openkilda.wfm.share.flow.resources.FlowResourcesManager) FlowDeleteService(org.openkilda.wfm.topology.flowhs.service.FlowDeleteService) YFlowDeleteService(org.openkilda.wfm.topology.flowhs.service.yflow.YFlowDeleteService) YFlowDeleteService(org.openkilda.wfm.topology.flowhs.service.yflow.YFlowDeleteService) RuleManagerImpl(org.openkilda.rulemanager.RuleManagerImpl)

Aggregations

RuleManager (org.openkilda.rulemanager.RuleManager)1 RuleManagerImpl (org.openkilda.rulemanager.RuleManagerImpl)1 FlowResourcesManager (org.openkilda.wfm.share.flow.resources.FlowResourcesManager)1 FlowDeleteService (org.openkilda.wfm.topology.flowhs.service.FlowDeleteService)1 YFlowDeleteService (org.openkilda.wfm.topology.flowhs.service.yflow.YFlowDeleteService)1