Class FlowStatisticsToNotificationTransformer

java.lang.Object
org.opendaylight.openflowplugin.impl.statistics.services.compatibility.FlowStatisticsToNotificationTransformer

public final class FlowStatisticsToNotificationTransformer extends Object
Pulled out flow stats to notification transformation.
  • Method Details

    • transformToNotification

      public static FlowsStatisticsUpdate transformToNotification(List<MultipartReply> mpResult, DeviceInfo deviceInfo, OpenflowVersion ofVersion, TransactionId emulatedTxId, ConvertorExecutor convertorExecutor)
      Transform to notification.
      Parameters:
      mpResult - raw multipart response from device
      deviceInfo - device state
      ofVersion - device version
      emulatedTxId - emulated transaction Id
      convertorExecutor - convertor executor
      Returns:
      notification containing flow stats