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

fix counters for interfaces #3683

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

ram-mac
Copy link
Contributor

@ram-mac ram-mac commented Jan 7, 2025

Below changes are to address gaps in verifying counters on the device

  1. Counters in-broadcast-pkts, in-discards, in-errors, in-fcs-errors, in-multicast-pkts, out-broadcast-pkts, out-discards, out-errors, out-fcs-errors, out-multicast-pkts are added;
  2. Counter 'InUnicastPkts' was repeated in ln-129 and ln-117; So the counters was supposed to be InUnicastPkts in ln-129 and this is now fixed
  3. Some of the subinterfaces counters were skipped in the test. Now these are fixed

@ram-mac ram-mac requested a review from a team as a code owner January 7, 2025 05:37
@OpenConfigBot
Copy link

OpenConfigBot commented Jan 7, 2025

Pull Request Functional Test Report for #3683 / 201d743

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
gNMI-1.11: Telemetry: Interface Packet Counters
Cisco 8000E status
gNMI-1.11: Telemetry: Interface Packet Counters
Cisco XRd status
gNMI-1.11: Telemetry: Interface Packet Counters
Juniper ncPTX status
gNMI-1.11: Telemetry: Interface Packet Counters
Nokia SR Linux status
gNMI-1.11: Telemetry: Interface Packet Counters
Openconfig Lemming status
gNMI-1.11: Telemetry: Interface Packet Counters

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
gNMI-1.11: Telemetry: Interface Packet Counters
Cisco 8808 status
gNMI-1.11: Telemetry: Interface Packet Counters
Juniper PTX10008 status
gNMI-1.11: Telemetry: Interface Packet Counters
Nokia 7250 IXR-10e status
gNMI-1.11: Telemetry: Interface Packet Counters

Help

@coveralls
Copy link

coveralls commented Jan 7, 2025

Pull Request Test Coverage Report for Build 12801703938

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

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.268%

Totals Coverage Status
Change from base Build 12645669885: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

@@ -548,3 +603,39 @@ func waitOTGARPEntry(t *testing.T) {
}).Await(t)

}

func (tc *testCase) setupAggregateAtomically(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

this should be moved to internal/cfgplugins/interface.go and represent the generate config part of the work.

In the Test function, a gnmi.Replace can use the output of the cfgplugin

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Darren, actually these functions are not used in this test, will remove it from here.

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