-
Notifications
You must be signed in to change notification settings - Fork 149
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
[gNMI-1.11, RT-5.1/3] - add InterfaceCountersUpdateDelayed deviation for CISCO #2805
Conversation
if typeGot != portType { | ||
typeGotV := gnmi.Lookup(t, dut, gnmi.OC().Component(val).Type().State()) | ||
typeGot, present := typeGotV.Val() | ||
if present && typeGot != portType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was not included in the PR description / not part of the deviation, it appears
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Reverted.
if got == chassisType { | ||
gotV := gnmi.Lookup(t, dut, gnmi.OC().Component(val).Type().State()) | ||
got, present := gotV.Val() | ||
if present && got == chassisType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was not included in the PR description / not part of the deviation, it appears
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Updated the PR description.
Pull Request Test Coverage Report for Build 11155885763Details
💛 - Coveralls |
@kjahed Please can you resolve the conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Please resolve the conflicts to merge
@AmrNJ done. |
@kjahed It still has conflicts and readme check fails. Please can you fix it? |
Merge conflicts are fixed, the Readme check fails due to some issue in test-requirements-template.md Local check passes for this test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CISCO interface counters telemetry does not reflect the latest value. This PR adds InterfaceCountersUpdateDelayed and modify gNMI-1.10, gNMI-1.11, RT-5.1, and RT-5.3 to wait until the counters are updated (for a max timeout) when activated.
In addition, for gNMI-1.10, modify
verifyChassisIsAncestor
to ignore ancestors with no type. This is similar to PR #2808 for gNMI-1.4.