public boolean isBetween(ConnectPoint src, ConnectPoint dst) {
        return (this.src.equals(src) && this.dst.equals(dst));
    }
@Test
    public void testIsBetween() {
        ConnectPoint cp1 = new ConnectPoint(DeviceId.deviceId("of:0000000000000001"), PortNumber.portNumber(1L));
        ConnectPoint cp2 = new ConnectPoint(DeviceId.deviceId("of:0000000000000002"), PortNumber.portNumber(2L));
        ConnectPoint cp3 = new ConnectPoint(DeviceId.deviceId("of:0000000000000003"), PortNumber.portNumber(3L));
        OpticalCircuitIntent ochIntent = OpticalCircuitIntent.builder()
                .appId(appId)
                .src(cp1)
                .dst(cp2)
                .bidirectional(true)
                .key(Key.of(0, appId))
                .signalType(CltSignalType.CLT_1GBE)
                .build();

        PacketLinkRealizedByOptical plink = PacketLinkRealizedByOptical.create(cp1, cp2, ochIntent);

        assertTrue(plink.isBetween(cp1, cp2));
        assertFalse(plink.isBetween(cp1, cp3));
    }