Search in sources :

Example 1 with FlowDump

use of org.openkilda.messaging.ctrl.state.FlowDump in project open-kilda by telstra.

the class CacheBolt method dumpState.

@Override
public AbstractDumpState dumpState() {
    NetworkDump networkDump = new NetworkDump(networkCache.dumpSwitches(), networkCache.dumpIsls());
    FlowDump flowDump = new FlowDump(flowCache.dumpFlows());
    return new CacheBoltState(networkDump, flowDump);
}
Also used : CacheBoltState(org.openkilda.messaging.ctrl.state.CacheBoltState) NetworkDump(org.openkilda.messaging.ctrl.state.NetworkDump) FlowDump(org.openkilda.messaging.ctrl.state.FlowDump)

Aggregations

CacheBoltState (org.openkilda.messaging.ctrl.state.CacheBoltState)1 FlowDump (org.openkilda.messaging.ctrl.state.FlowDump)1 NetworkDump (org.openkilda.messaging.ctrl.state.NetworkDump)1