featureprofiles icon indicating copy to clipboard operation
featureprofiles copied to clipboard

Added code changes to use gnmi get instead of cli to get the trap stats

Open mnp-juniper opened this issue 6 months ago • 3 comments

The original code has failed on executing the CLI "request pfe execute target fpc* command " show cda trapstats" | no-more " The code changes added to read the trap stats using gnmi get. Steps:

Get the hardware port for the port1 Get the parent of the hardware port .(Example FPC0:PIC0:NPU1) Get for the below leaf for the parent pfe Example : components/component[name=FPC0:PIC0:NPU1]/properties/property[name=epp-epc-cfg-common-trapcode-dual-hash-miss-pps]/state/value Report fail if the value is non zero There is no deviation required

mnp-juniper avatar Jul 06 '25 18:07 mnp-juniper

Pull Request Test Coverage Report for Build 20033122486

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 10.074%

Totals Coverage Status
Change from base Build 20012604042: 0.0%
Covered Lines: 2227
Relevant Lines: 22106

💛 - Coveralls

coveralls avatar Jul 06 '25 18:07 coveralls

@mnp-juniper please resolve the static errors to proceed with review

Swetha-haridasula avatar Aug 26 '25 11:08 Swetha-haridasula

Pull Request Functional Test Report for #4373 / 9f98256bf81b1cf974364e192acdab8aec60b6bc

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
gNOI-3.2: Per-Component Reboot
Cisco 8000E status
gNOI-3.2: Per-Component Reboot
Cisco XRd status
gNOI-3.2: Per-Component Reboot
Juniper ncPTX status
gNOI-3.2: Per-Component Reboot
Nokia SR Linux status
gNOI-3.2: Per-Component Reboot
Openconfig Lemming status
gNOI-3.2: Per-Component Reboot

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
gNOI-3.2: Per-Component Reboot
Cisco 8808 status
gNOI-3.2: Per-Component Reboot
Juniper PTX10008 status
gNOI-3.2: Per-Component Reboot
Nokia 7250 IXR-10e status
gNOI-3.2: Per-Component Reboot

Help

OpenConfigBot avatar Aug 28 '25 06:08 OpenConfigBot