-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
393 changed files
with
11,929 additions
and
36,667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,15 @@ | ||
--- | ||
name: New featureprofiles test requirement | ||
about: Use this template to document the requirements for a new test to be implemented. | ||
about: Use this template to create an issue to assign and track implemenation of the code for a test. | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
# TestID-x.y: Short name of test here | ||
|
||
## Summary | ||
|
||
Write a few sentences or paragraphs describing the purpose and scope of the test. | ||
|
||
## Procedure | ||
|
||
* Test #1 - Name of test | ||
* Step 1 | ||
* Step 2 | ||
* Step 3 | ||
|
||
* Test #2 - New of test | ||
* Step 1 | ||
* Step 2 | ||
* Step 3 | ||
|
||
|
||
## Config Parameter Coverage | ||
|
||
Add list of OpenConfig 'config' paths used in this test, if any. | ||
|
||
## Telemetry Parameter Coverage | ||
|
||
Add list of OpenConfig 'state' paths used in this test, if any. | ||
|
||
## Protocol/RPC Parameter Coverage | ||
# Request for New Test Code Implementation Instructions | ||
|
||
Add list of OpenConfig RPC's (gNMI, gNOI, gNSI, gRIBI) used in the list | ||
* The label 'enhancement' is automatically set by this template. | ||
* Add a label for the test priority according to the test requirements. (p0, p1, p2) | ||
* Add a link in this issue description to the README.md for the test requirements. For example: | ||
|
||
For example: | ||
* gNMI | ||
* Set | ||
* Subscribe | ||
* gNOI | ||
* System | ||
* KillProcess | ||
* Healthz | ||
* Get | ||
* Check | ||
* Artifact | ||
Implement code for [Test name here](https://github.com/openconfig/featureprofiles/blob/main/feature/example/tests/topology_test/README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
name: New featureprofiles test requirement | ||
about: Use this template to document the requirements for a new test to be implemented. | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
# Instructions for this template | ||
|
||
Below is the required template for writing test requirements. Good examples of test | ||
requirements include: | ||
|
||
* [TE-3.7: Base Hierarchical NHG Update](/feature/gribi/otg_tests/base_hierarchical_nhg_update/README.md) | ||
* [gNMI-1.13: Telemetry: Optics Power and Bias Current](https://github.com/openconfig/featureprofiles/blob/main/feature/platform/tests/optics_power_and_bias_current_test/README.md) | ||
* [RT-5.1: Singleton Interface](https://github.com/openconfig/featureprofiles/blob/main/feature/interface/singleton/otg_tests/singleton_test/README.md) | ||
|
||
# TestID-x.y: Short name of test here | ||
|
||
## Summary | ||
|
||
Write a few sentences or paragraphs describing the purpose and scope of the test. | ||
|
||
## Testbed type | ||
|
||
* Specify the .testbed topology file from the [topologies](https://github.com/openconfig/featureprofiles/tree/main/topologies) folder to be used with this test | ||
|
||
## Procedure | ||
|
||
* TestID-x.y.z - Name of subtest | ||
* Step 1 | ||
* Step 2 | ||
* Validation and pass fail criteria | ||
|
||
* TestID-x.y.z - Name of subtest | ||
* Step 1 | ||
* Step 2 | ||
* Validation and pass fail criteria | ||
|
||
## Config Parameter Coverage | ||
|
||
Add list of OpenConfig 'config' paths used in this test, if any. | ||
|
||
## Telemetry Parameter Coverage | ||
|
||
Add list of OpenConfig 'state' paths used in this test, if any. | ||
|
||
## Protocol/RPC Parameter Coverage | ||
|
||
Add list of OpenConfig RPC's (gNMI, gNOI, gNSI, gRIBI) used in the list, if any. | ||
|
||
For example: | ||
|
||
* gNMI | ||
* Set | ||
* Subscribe | ||
* gNOI | ||
* System | ||
* KillProcess | ||
* Healthz | ||
* Get | ||
* Check | ||
* Artifact | ||
|
||
## Required DUT platform | ||
|
||
* Specify the minimum DUT-type: | ||
* MFF - A modular form factor device containing LINECARDs, FABRIC and redundant CONTROLLER_CARD components | ||
* FFF - fixed form factor | ||
* vRX - virtual router device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# ACL-1.2: ACL Update (Make-before-break) | ||
|
||
## Summary | ||
|
||
Configure an IP ACL, then test changing the ACL configuration to ensure a make-before-break behavior is performed. Make before break for ACL is defined as | ||
|
||
## ACL-1 Layer 3 terms | ||
|
||
* IP src | ||
* IP dst | ||
* TCP src port | ||
* TCP src port range | ||
* TCP dst port | ||
* TCP dst port range | ||
* UDP src port | ||
* UDP src port range | ||
* ICMP proto | ||
* ICMP type | ||
|
||
* IPv4 initial fragment | ||
* IPv4 non-initial fragment | ||
* IPv6 fragmentation (1st next-header) | ||
* MatchAll | ||
|
||
## Procedure | ||
|
||
### Sub Test 1 | ||
|
||
* Configure DUT with input and output interfaces and static routing. | ||
* Configure IPv4 and IPv6 ACLs with terms specified in the table. | ||
* All terms should have Deny action. | ||
* “Match all” term should have Accept and Count actions. | ||
* Apply these ACLs in ingress direction on the DUT input interface. | ||
* Start IP traffic flows matching these terms. | ||
* Verify received packets and ACL term counters on DUT. | ||
|
||
### Sub Test 2 | ||
|
||
* Inverse filtering logic: permit traffic on all terms, deny traffic on MatchAll terms. | ||
* Perform ACL update by adding a single matching condition to all terms (additional address or port). | ||
* Verify that the device is running an updated ACL version. | ||
* No config error | ||
* No difference between committed ACL and intended config ACL | ||
* Verify traffic drops for sent flows on ATE ingress interface (no more than 50ms of traffic should be dropped). | ||
|
||
### Sub test 3 | ||
|
||
* Repeat the same test by moving ACLs to the DUT egress interface. | ||
|
||
## Config Parameter coverage | ||
|
||
``` | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv4/config/destination-address | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv4/config/protocol | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv4/config/source-address | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv6/config/destination-address | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv6/config/protocol | ||
acl/acl-sets/acl-set/acl-entries/acl-entry/ipv6/config/source-address | ||
acl/interfaces/interface/ingress-acl-sets/ingress-acl-set | ||
acl/interfaces/interface/ingress-acl-sets/ingress-acl-set/acl-entries | ||
acl/interfaces/interface/ingress-acl-sets/ingress-acl-set/acl-entries/acl-entry | ||
acl/interfaces/interface/egress-acl-sets/egress-acl-set | ||
acl/interfaces/interface/egress-acl-sets/egress-acl-set/acl-entries | ||
acl/interfaces/interface/egress-acl-sets/egress-acl-set/acl-entries/acl-entry | ||
``` | ||
|
||
## Telemetry Parameter coverage | ||
|
||
``` | ||
acl/interfaces/interface/ingress-acl-sets/ingress-acl-set/acl-entries/acl-entry/state/matched-packets | ||
acl/interfaces/interface/egress-acl-sets/egress-acl-set/acl-entries/acl-entry/state/matched-packets | ||
``` | ||
|
||
## Protocol/RPC Parameter coverage | ||
|
||
None | ||
|
||
## Minimum DUT platform requirement | ||
|
||
MFF |
Oops, something went wrong.