Search in sources :

Example 1 with IslBfdPropertiesChangeNotification

use of org.openkilda.messaging.info.event.IslBfdPropertiesChangeNotification in project open-kilda by telstra.

the class LinkOperationsBolt method islBfdPropertiesChanged.

@Override
public void islBfdPropertiesChanged(Endpoint source, Endpoint destination) {
    IslBfdPropertiesChangeNotification notification = new IslBfdPropertiesChangeNotification(new IslEndpoint(source.getDatapath(), source.getPortNumber()), new IslEndpoint(destination.getDatapath(), destination.getPortNumber()));
    getOutput().emit(StreamType.DISCO.toString(), getCurrentTuple(), new Values(notification, getCorrelationId()));
}
Also used : IslBfdPropertiesChangeNotification(org.openkilda.messaging.info.event.IslBfdPropertiesChangeNotification) IslEndpoint(org.openkilda.model.IslEndpoint) Values(org.apache.storm.tuple.Values)

Aggregations

Values (org.apache.storm.tuple.Values)1 IslBfdPropertiesChangeNotification (org.openkilda.messaging.info.event.IslBfdPropertiesChangeNotification)1 IslEndpoint (org.openkilda.model.IslEndpoint)1