Class MeterStatisticsToNotificationTransformer
java.lang.Object
org.opendaylight.openflowplugin.impl.statistics.services.compatibility.MeterStatisticsToNotificationTransformer
Pulled out meter stats to notification transformation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MeterStatisticsUpdated
transformToNotification
(List<MultipartReply> mpReplyList, DeviceInfo deviceInfo, OpenflowVersion ofVersion, TransactionId emulatedTxId, ConvertorExecutor convertorExecutor) Transform statistics to notification.
-
Method Details
-
transformToNotification
public static MeterStatisticsUpdated transformToNotification(List<MultipartReply> mpReplyList, DeviceInfo deviceInfo, OpenflowVersion ofVersion, TransactionId emulatedTxId, ConvertorExecutor convertorExecutor) Transform statistics to notification.- Parameters:
mpReplyList
- raw multipart response from devicedeviceInfo
- device stateofVersion
- device versionemulatedTxId
- emulated transaction IdconvertorExecutor
- convertor executor- Returns:
- notification containing flow stats
-