Skip to content

Commit

Permalink
FNT nightly failure: Nokia (openconfig#3149)
Browse files Browse the repository at this point in the history
* FNT nightly failure: Nokia

* updated readme

* update readme

* readme changes

---------

Co-authored-by: Ram <[email protected]>
  • Loading branch information
nsadhasivam and ram-mac authored Jul 4, 2024
1 parent 6d55107 commit c65586a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
31 changes: 20 additions & 11 deletions feature/experimental/bgp/otg_tests/bgp_2byte_4byte_asn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,23 @@ BGP 2-Byte and 4-Byte ASN support
* ATE (4-byte) - DUT (4-byte) - iBGP IPv4
* ATE (4-byte) - DUT (4-byte) - iBGP IPv6

## Config Parameter Coverage

* /global/config/as
* /neighbors/neighbor/config/peer-as
* /neighbors/neighbor/config/local-as

## Telemetry Parameter Coverage

* /global/config/as
* /neighbors/neighbor/config/peer-as
* /neighbors/neighbor/config/local-as
## OpenConfig Path and RPC Coverage
```yaml
paths:
## Config Parameter Coverage

/network-instances/network-instance/protocols/protocol/bgp/global/config/as:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/config/peer-as:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/config/local-as:

## Telemetry Parameter Coverage

/network-instances/network-instance/protocols/protocol/bgp/global/state/as:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/peer-as:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/local-as:

rpcs:
gnmi:
gNMI.Subscribe:
gNMI.Set:
```
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func TestBgpSession(t *testing.T) {

t.Log("Verify BGP session state : ESTABLISHED")
nbrPath := statePath.Neighbor(tc.nbr.peerIP)
gnmi.Await(t, dut, nbrPath.SessionState().State(), time.Second*60, oc.Bgp_Neighbor_SessionState_ESTABLISHED)
gnmi.Await(t, dut, nbrPath.SessionState().State(), time.Second*120, oc.Bgp_Neighbor_SessionState_ESTABLISHED)

t.Log("Verify BGP AS numbers")
verifyPeer(t, tc.nbr, dut)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func TestGNMIPortDown(t *testing.T) {
ate.OTG().SetControlState(t, portStateAction)

want := oc.Interface_OperStatus_DOWN
gnmi.Await(t, dut, gnmi.OC().Interface(dutPort.Name()).OperStatus().State(), 1*time.Minute, want)
gnmi.Await(t, dut, gnmi.OC().Interface(dutPort.Name()).OperStatus().State(), 2*time.Minute, want)
dutPortStatus := gnmi.Get(t, dut, gnmi.OC().Interface(dutPort.Name()).OperStatus().State())
if dutPortStatus != want {
t.Errorf("Get(DUT port1 status): got %v, want %v", dutPortStatus, want)
Expand Down

0 comments on commit c65586a

Please sign in to comment.