Class NodeConnectorStatisticsToNotificationTransformer


  • public final class NodeConnectorStatisticsToNotificationTransformer
    extends Object
    Pulled out port stats to notification transformation.
    • Method Detail

      • transformToNotification

        public static NodeConnectorStatisticsUpdate transformToNotification​(List<MultipartReply> mpReplyList,
                                                                            DeviceInfo deviceInfo,
                                                                            OpenflowVersion ofVersion,
                                                                            TransactionId emulatedTxId)
        Transform statistics to notification.
        Parameters:
        mpReplyList - raw multipart response from device
        deviceInfo - device basic info
        ofVersion - device version
        emulatedTxId - emulated transaction Id
        Returns:
        notification containing flow stats