Skip to content

Commit

Permalink
move tests from experimental to feature dir (openconfig#3488)
Browse files Browse the repository at this point in the history
* move tests from experimental to feature dir

* removed experimental dir references

* removed experimental dir references in contributing.md
  • Loading branch information
self-maurya authored Oct 9, 2024
1 parent bd96dd5 commit 2d9dd52
Show file tree
Hide file tree
Showing 149 changed files with 567 additions and 2,107 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/readme_oc_path_and_rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
exemption_flags=(
--non-test-readme feature/security/gnsi/certz/test_data/README.md
--non-test-readme feature/experimental/p4rt/README.md
--non-test-readme feature/p4rt/README.md
--non-test-readme feature/security/gnsi/acctz/README.md
)
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*~
topologies/kne/testbed.kne.yml
.vscode/
.idea/
# used by `make validate_paths`
openconfig_public/
# used by `make proto/...`
Expand Down
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ The directory tree is organized as follows:
* `cloudbuild/` contains google cloud build scripts for running virtual
routers in containers on [KNE](https://github.com/openconfig/kne)
* `feature/` contains definition and tests of feature profiles.
* `feature/experimental` contains tests which have automation which is
not confirmed to pass on any hardware platform or software release.
When the test automation is passing against at least one DUT,
it is moved to the `feature/` directory.
* `internal/` contains packages used by feature profile tests.
* `proto/` contains protobuf files for feature profiles.
* `tools/` contains code used for CI checks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,48 +48,21 @@ Test the normal session establishment and termination:
* Explicit holdtime interval and keepalive interval.
* Explicit connect retry interval.

## Config Parameter coverage

* For prefix:

* /network-instances/network-instance/protocols/protocol/bgp/global

* For Parameters:

* config/as
* config/router-id
* config/peer-as
* config/local-as
* config/description
* timers/config/hold-time
* timers/config/keepalive-interval
* timers/config/minimum-route-advertisement-interval

* For prefixes:

* /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group
* /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor

## Telemetry Parameter coverage

* For prefix:

* /network-instances/network-instance/protocols/protocol/bgp/

* For Parameters:

* state/last-established
* state/messages/received/NOTIFICATION
* state/negotiated-hold-time
* state/supported-capabilities

## Protocol/RPC Parameter coverage

* BGP

* OPEN

* Version
* My Autonomous System
* BGP Identifier
* Hold Time
## OpenConfig Path and RPC Coverage
```yaml
paths:
## Config Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/timers/config/hold-time:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/timers/config/keepalive-interval:

## Telemetry Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/last-established:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/messages/received/NOTIFICATION:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/timers/state/negotiated-hold-time:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/supported-capabilities:

rpcs:
gnmi:
gNMI.Subscribe:
gNMI.Set:
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,22 @@ BGP always compare MED
* Validate the change of traffic flow because of the change (OTG Port2).
* Validate session state and capabilities received on DUT using telemetry.

## Config Parameter coverage

* /route-selection-options/config/always-compare-med
* /global/afi-safis/afi-safi/route-selection-options/config/always-compare-med
* /global/route-selection-options/config/always-compare-med

## Telemetry Parameter coverage

* /global/afi-safis/afi-safi/route-selection-options/state/always-compare-med
* /global/route-selection-options/state/always-compare-med

## Protocol/RPC Parameter coverage

N/A
## OpenConfig Path and RPC Coverage
```yaml
paths:
## Config Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/global/route-selection-options/config/always-compare-med:
/network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/route-selection-options/config/always-compare-med:

## Telemetry Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/global/route-selection-options/state/always-compare-med:
/network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/route-selection-options/state/always-compare-med:

rpcs:
gnmi:
gNMI.Subscribe:
gNMI.Set:
```
## Minimum DUT platform requirement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ BGP remove private AS
* PRIV_AS1 AS1
* AS1 PRIV_AS1 AS2

## Config Parameter coverage

* /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/config/remove-private-as

## Telemetry Parameter coverage

* /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as4-path/as4-segment/state

## Protocol/RPC Parameter coverage

N/A
## OpenConfig Path and RPC Coverage
```yaml
paths:
## Config Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/config/remove-private-as:

## Telemetry Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as4-path/as4-segment/state/index:

rpcs:
gnmi:
gNMI.Subscribe:
gNMI.Set:
```
## Minimum DUT platform requirement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,22 @@
* Re-establish the IBGP sessions by tcp reset.
* Validate that the min MSS value has been adjusted to be below 1500 bytes on the tcp session.

## Config Parameter coverage

* /neighbors/neighbor/transport/config/tcp-mss
* /neighbors/neighbor/transport/config/mtu-discovery

## Telemetry Parameter coverage

* /neighbors/neighbor/transport/state/tcp-mss
* /neighbors/neighbor/transport/state/mtu-discovery

## Protocol/RPC Parameter coverage

N/A
## OpenConfig Path and RPC Coverage
```yaml
paths:
## Config Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/transport/config/tcp-mss:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/transport/config/mtu-discovery:

## Telemetry Parameter Coverage
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/transport/state/tcp-mss:
/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/transport/state/mtu-discovery:

rpcs:
gnmi:
gNMI.Subscribe:
gNMI.Set:
```
## Minimum DUT platform requirement
Expand Down
124 changes: 0 additions & 124 deletions feature/experimental/isis/ate_tests/internal/session/attrs.go

This file was deleted.

Loading

0 comments on commit 2d9dd52

Please sign in to comment.