Search in sources :

Example 1 with FlowMeterFrame

use of org.openkilda.persistence.ferma.frames.FlowMeterFrame in project open-kilda by telstra.

the class FermaFlowMeterRepository method doAdd.

@Override
protected FlowMeterFrame doAdd(FlowMeterData data) {
    FlowMeterFrame frame = KildaBaseVertexFrame.addNewFramedVertex(framedGraph(), FlowMeterFrame.FRAME_LABEL, FlowMeterFrame.class);
    FlowMeter.FlowMeterCloner.INSTANCE.copy(data, frame);
    return frame;
}
Also used : FlowMeterFrame(org.openkilda.persistence.ferma.frames.FlowMeterFrame)

Aggregations

FlowMeterFrame (org.openkilda.persistence.ferma.frames.FlowMeterFrame)1