Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect converting meter rate/burstsize from packets to kilobits #2662

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

niksv
Copy link
Collaborator

@niksv niksv commented Aug 4, 2019

We converted packets to kilobytes, not to kilobits.
It causes incorrect meters on Centec and E switches

config.getSystemMeterBurstSizeInPackets(), actionList);
}

private OFInstructionMeter installOfReinstallMeter(IOFSwitch sw, long meterId, long rateInPackets,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new method was added because it will be used in connected devices patch

@niksv niksv added the On Review label Aug 6, 2019
We converted packets to kilobytes, not to kilobits.
It causes incorrect meters on Centec and E switches
@niksv niksv changed the title Fixed incorrect converting meter rate/burstsize form packets to kilobits Fixed incorrect converting meter rate/burstsize from packets to kilobits Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants