Skip to content

Dropoctets validation to be inline with droppkts#3402

Open
bkreddy143 wants to merge 6 commits into
openconfig:mainfrom
nokia:DP1DOT11
Open

Dropoctets validation to be inline with droppkts#3402
bkreddy143 wants to merge 6 commits into
openconfig:mainfrom
nokia:DP1DOT11

Conversation

@bkreddy143

@bkreddy143 bkreddy143 commented Aug 27, 2024

Copy link
Copy Markdown
Contributor

Modified the Drop octets validation to be inline with dropped pkts validation. It was validating based on OTG packets diff and packet size , instead changed to check for 0 as drops are not expected to be seen. Also removed deviation for Nokia and updated other checks as per comments

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia’s intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

1. Modified the Drop octets validation to be inline with dropped pkts.
   It was validating based on OTG packets diff and packet size , instead
changed to check for 0 as drops are not expected to be seen.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia’s intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
@bkreddy143 bkreddy143 requested review from a team as code owners August 27, 2024 21:53
@bkreddy143 bkreddy143 requested a review from a team August 27, 2024 21:53
@OpenConfigBot

OpenConfigBot commented Aug 27, 2024

Copy link
Copy Markdown

Pull Request Functional Test Report for #3402 / 51514a3

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
DP-1.11: Bursty traffic test
Cisco 8000E status
DP-1.11: Bursty traffic test
Cisco XRd status
DP-1.11: Bursty traffic test
Juniper ncPTX status
DP-1.11: Bursty traffic test
Nokia SR Linux status
DP-1.11: Bursty traffic test
Openconfig Lemming status
DP-1.11: Bursty traffic test

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
DP-1.11: Bursty traffic test
Cisco 8808 status
DP-1.11: Bursty traffic test
Juniper PTX10008 status
DP-1.11: Bursty traffic test
Nokia 7250 IXR-10e status
DP-1.11: Bursty traffic test

Help

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 10586436326

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.252%

Totals Coverage Status
Change from base Build 10576589936: 0.0%
Covered Lines: 1983
Relevant Lines: 3589

💛 - Coveralls

Comment thread feature/qos/otg_tests/bursty_traffic_test/bursty_traffic_test.go Outdated
@self-maurya self-maurya requested a review from sezhang2 October 9, 2024 03:39
@nsadhasivam nsadhasivam removed their assignment Jun 27, 2025
@cfernanz cfernanz assigned rohit-rp and unassigned bkreddy143 Feb 23, 2026
@marcushines marcushines requested a review from a team as a code owner May 12, 2026 16:31
@rohit-rp rohit-rp assigned dplore and unassigned rohit-rp May 27, 2026
@dplore

dplore commented May 28, 2026

Copy link
Copy Markdown
Member

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the TestBurstyTraffic function in bursty_traffic_test.go. It simplifies the verification of dropped octets on the DUT when deviations.QOSDroppedOctets(dut) is false. Specifically, it removes the calculation of ateDropOctetCounterDiff and instead asserts that dutDropOctetCounterDiff must be exactly 0. No review comments were provided for this change.

@bkreddy143 bkreddy143 requested a review from nsadhasivam June 24, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants