Search in sources :

Example 1 with FlowOperationsService

use of org.openkilda.wfm.topology.nbworker.services.FlowOperationsService in project open-kilda by telstra.

the class LinkOperationsBolt method init.

@Override
public void init() {
    super.init();
    linkOperationsService = new LinkOperationsService(this, repositoryFactory, transactionManager);
    flowOperationsService = new FlowOperationsService(repositoryFactory, transactionManager);
    linkPropsRepository = repositoryFactory.createLinkPropsRepository();
    islRepository = repositoryFactory.createIslRepository();
}
Also used : LinkOperationsService(org.openkilda.wfm.topology.nbworker.services.LinkOperationsService) FlowOperationsService(org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)

Example 2 with FlowOperationsService

use of org.openkilda.wfm.topology.nbworker.services.FlowOperationsService in project open-kilda by telstra.

the class FlowPatchBolt method init.

@Override
public void init() {
    super.init();
    this.flowOperationsService = new FlowOperationsService(persistenceManager.getRepositoryFactory(), persistenceManager.getTransactionManager());
}
Also used : FlowOperationsService(org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)

Example 3 with FlowOperationsService

use of org.openkilda.wfm.topology.nbworker.services.FlowOperationsService in project open-kilda by telstra.

the class SwitchOperationsBolt method init.

@Override
public void init() {
    super.init();
    this.switchOperationsService = new SwitchOperationsService(repositoryFactory, transactionManager, this, this);
    this.flowOperationsService = new FlowOperationsService(repositoryFactory, transactionManager);
}
Also used : SwitchOperationsService(org.openkilda.wfm.topology.nbworker.services.SwitchOperationsService) FlowOperationsService(org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)

Example 4 with FlowOperationsService

use of org.openkilda.wfm.topology.nbworker.services.FlowOperationsService in project open-kilda by telstra.

the class FlowOperationsBolt method init.

@Override
public void init() {
    super.init();
    this.flowOperationsService = new FlowOperationsService(repositoryFactory, transactionManager);
}
Also used : FlowOperationsService(org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)

Example 5 with FlowOperationsService

use of org.openkilda.wfm.topology.nbworker.services.FlowOperationsService in project open-kilda by telstra.

the class FlowMeterModifyFsm method initialized.

protected void initialized(FlowMeterModifyState from, FlowMeterModifyState to, FlowMeterModifyEvent event, Object context) {
    log.info("Key: {}; FSM initialized", key);
    flowId = request.getFlowId();
    service = new FlowOperationsService(persistenceManager.getRepositoryFactory(), persistenceManager.getTransactionManager());
}
Also used : FlowOperationsService(org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)

Aggregations

FlowOperationsService (org.openkilda.wfm.topology.nbworker.services.FlowOperationsService)5 LinkOperationsService (org.openkilda.wfm.topology.nbworker.services.LinkOperationsService)1 SwitchOperationsService (org.openkilda.wfm.topology.nbworker.services.SwitchOperationsService)1