Search in sources :

Example 1 with SwitchPropertiesFrame

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

the class FermaSwitchPropertiesRepository method doAdd.

@Override
protected SwitchPropertiesFrame doAdd(SwitchPropertiesData data) {
    SwitchPropertiesFrame frame = KildaBaseVertexFrame.addNewFramedVertex(framedGraph(), SwitchPropertiesFrame.FRAME_LABEL, SwitchPropertiesFrame.class);
    SwitchProperties.SwitchPropertiesCloner.INSTANCE.copy(data, frame);
    return frame;
}
Also used : SwitchPropertiesFrame(org.openkilda.persistence.ferma.frames.SwitchPropertiesFrame)

Aggregations

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