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

Fixed gNMI1.27 #3351

Merged
merged 9 commits into from
Aug 9, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@ Test to validate basic gNMI streaming telemetry works with `SAMPLE` mode.

The below yaml defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.

TODO(OCPATHS): Add paths

```yaml

paths:
## Config Paths ##
/interfaces/interface/config/description:

## State Paths ##
/interfaces/interface/state/description:

rpcs:
gnmi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ func TestGNMISampleMode(t *testing.T) {

desc := p1Stream.Next()
if desc == nil {
t.Errorf("Interface %q telemetry not received before config", p1.Name())
t.Logf("Interface %q telemetry not received before config", p1.Name())
} else {
v, ok := desc.Val()
if !ok {
t.Errorf("Interface %q telemetry empty before config", p1.Name())
t.Logf("Interface %q telemetry empty before config", p1.Name())
}
t.Logf("Description before config: %s", v)
}
nsadhasivam marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -53,6 +53,7 @@ func TestGNMISampleMode(t *testing.T) {
t.Errorf("Interface %q telemetry not received after config", p1.Name())
} else {
v, ok := desc.Val()
t.Logf("Description from stream : %s", v)
if !ok {
t.Errorf("Interface %q telemetry empty after config", p1.Name())
}
Expand All @@ -69,6 +70,7 @@ func TestGNMISampleMode(t *testing.T) {
t.Errorf("Interface %q telemetry not received after description update", p1.Name())
} else {
v, ok := desc.Val()
t.Logf("Description from stream : %s", v)
if !ok {
t.Errorf("Interface %q telemetry empty after description update", p1.Name())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
uuid: "abcc6890-c3e1-4b0e-984e-749c85b54e5a"
plan_id: "gNMI-1.27"
description: "gNMI Sample Mode Test"
testbed: TESTBED_DUT
testbed: TESTBED_DUT_ATE_2LINKS
platform_exceptions: {
platform: {
vendor: ARISTA
Expand All @@ -18,3 +18,11 @@ platform_exceptions: {
isis_interface_afi_unsupported: true
}
}
platform_exceptions: {
platform: {
vendor: NOKIA
}
deviations: {
explicit_interface_in_default_vrf: true
}
}