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

Request to update how to get the residual_bandwidth #3

Open
viniarck opened this issue Oct 20, 2021 · 0 comments
Open

Request to update how to get the residual_bandwidth #3

viniarck opened this issue Oct 20, 2021 · 0 comments

Comments

@viniarck
Copy link
Member

This is a request to update on how to get the residual_bandwidth to make use of Link's utilization metadata on EP23-2.

The residual_bandwidth can be computed dynamically based on both link.metadata.utilization and link.[endpoint_a|endpoint_b].speed:

  • In percent (scale from 0 to 100):

residual_bandwidth = 100 - utilization

  • In Gbps:

residual_bandwidth_gbps = speed * 8 * ((100 - utilization) / 100)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant