/** * Creates a link probe for link discovery/verification. * @deprecated since 1.15. Insecure, do not use. * * @param deviceId The device ID as a String * @param chassisId The chassis ID of the device * @param portNum Port number of port to send probe out of * @param portDesc Port description of port to send probe out of * @return ONOSLLDP probe message */ @Deprecated public static ONOSLLDP onosLLDP(String deviceId, ChassisId chassisId, int portNum, String portDesc) { ONOSLLDP probe = onosLLDP(deviceId, chassisId, portNum); addPortDesc(probe, portDesc); return probe; }
private ONOSLLDP getLinkProbe(Long port) { return ONOSLLDP.onosLLDP(device.id().toString(), device.chassisId(), port.intValue()); }