Search in sources :

Example 1 with MirrorGroupFrame

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

the class FermaMirrorGroupRepository method doAdd.

@Override
protected MirrorGroupFrame doAdd(MirrorGroupData data) {
    MirrorGroupFrame frame = KildaBaseVertexFrame.addNewFramedVertex(framedGraph(), MirrorGroupFrame.FRAME_LABEL, MirrorGroupFrame.class);
    MirrorGroup.MirrorGroupCloner.INSTANCE.copy(data, frame);
    return frame;
}
Also used : MirrorGroupFrame(org.openkilda.persistence.ferma.frames.MirrorGroupFrame)

Aggregations

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