Skip to content

Dev port speed#467

Open
anjan-keysight wants to merge 5 commits intomasterfrom
dev-port-speed
Open

Dev port speed#467
anjan-keysight wants to merge 5 commits intomasterfrom
dev-port-speed

Conversation

@anjan-keysight
Copy link
Contributor

Feature Overview

  • Related Issue: (e.g., Fixes #466)
  • Brief Description:
    Add speed to port stats. This could help the customer with certain traffic stats calculations.

Feature Details


Code snippets

...
req := gosnappi.NewMetricsRequest()
reqPort := req.Port()
res, err := client.GetMetrics(req)
...
Port Metrics
-----------------------------------------------------------------------------------------
Name    Frames Tx    Frames Rx    Speed
p1      1000         1000         12800
p2      1000         1000         12800
-----------------------------------------------------------------------------------------

Copy link
Contributor

@apratimmukherjee apratimmukherjee left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants