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

QoS-1.1 - Validate Ingress traffic classification #1785

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
739f71e
ANCX QOS11
charantejag504 Jun 23, 2023
b5b7deb
deviation file
charantejag504 Jun 23, 2023
dba1184
renamed directory
charantejag504 Jun 23, 2023
0095a5b
proto file
charantejag504 Jun 23, 2023
d02dd53
Merge branch 'main' into ANCX_QOS11
charantejag504 Jun 29, 2023
b44241f
comments
charantejag504 Jul 5, 2023
adbd090
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 5, 2023
7ddca3c
added deviations in metadata.textproto file
charantejag504 Jul 5, 2023
67d1049
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 6, 2023
02b0cb7
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 6, 2023
97002e6
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 7, 2023
30ecd58
updating new deviation via metadata.proto file and generating metadat…
charantejag504 Jul 7, 2023
31cb9fc
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 7, 2023
e07f980
Addressing comments
charantejag504 Jul 7, 2023
19d2148
fix metadata.proto
charantejag504 Jul 7, 2023
d47e3c9
Merge branch 'main' into ANCX_QOS11
arulkumarsekar Jul 10, 2023
9ff471b
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 11, 2023
db0dd46
fixing conflicts
charantejag504 Jul 27, 2023
3b4f70f
fix conflict
charantejag504 Jul 27, 2023
7263e1b
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 27, 2023
e93032a
adding back deviations
charantejag504 Jul 28, 2023
5d29b82
Merge branch 'ANCX_QOS11' of https://github.com/charantejag504/featur…
charantejag504 Jul 28, 2023
e98c6b6
Merge branch 'main' into ANCX_QOS11
charantejag504 Jul 28, 2023
cf092c2
update
charantejag504 Aug 1, 2023
e427ba8
Merge branch 'main' into ANCX_QOS11
charantejag504 Aug 1, 2023
6ac4f1f
update
charantejag504 Aug 1, 2023
77bf3a3
Merge branch 'ANCX_QOS11' of https://github.com/charantejag504/featur…
charantejag504 Aug 1, 2023
874b628
Merge branch 'main' into ANCX_QOS11
charantejag504 Aug 1, 2023
7c998a8
fix static analysis error in proto file
charantejag504 Aug 1, 2023
04ed34b
Merge branch 'ANCX_QOS11' of https://github.com/charantejag504/featur…
charantejag504 Aug 1, 2023
32c27cb
comments
charantejag504 Aug 9, 2023
b7a4826
Merge branch 'main' into ANCX_QOS11
charantejag504 Aug 9, 2023
8e2b2bd
otg
charantejag504 Aug 28, 2023
1824b05
otg
charantejag504 Aug 28, 2023
9c86de7
Merge branch 'main' into ANCX_QOS11
charantejag504 Aug 28, 2023
359a693
deviations
charantejag504 Aug 28, 2023
6707c93
deviations
charantejag504 Aug 28, 2023
0e8da75
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 1, 2023
049f89c
resolving conflict
charantejag504 Sep 8, 2023
9611f6c
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 8, 2023
78c1f7e
update metadata.pb.go
charantejag504 Sep 8, 2023
12b1e1a
Merge branch 'ANCX_QOS11' of https://github.com/charantejag504/featur…
charantejag504 Sep 8, 2023
945d5e4
update deviations
charantejag504 Sep 11, 2023
8c2ed1b
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 11, 2023
65469b3
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 11, 2023
414ddfb
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 11, 2023
aafabab
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 11, 2023
f2ead67
Update metadata.textproto
mohanasm Sep 14, 2023
233fb61
resolve conflicts
charantejag504 Sep 15, 2023
5f4165d
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 15, 2023
e8319c9
Merge branch 'main' into ANCX_QOS11
charantejag504 Sep 15, 2023
f1bdec7
resolve conflict
charantejag504 Apr 29, 2024
4805969
Merge branch 'main' into ANCX_QOS11
charantejag504 Apr 29, 2024
8763ae2
update
charantejag504 Apr 29, 2024
5ae5eb4
Merge branch 'ANCX_QOS11' of https://github.com/charantejag504/featur…
charantejag504 Apr 29, 2024
57a0784
update
charantejag504 Apr 29, 2024
6d2f415
update
charantejag504 Apr 29, 2024
4b06ade
Merge branch 'main' into ANCX_QOS11
charantejag504 Oct 14, 2024
f49905a
Merge branch 'main' into ANCX_QOS11
charantejag504 Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# QoS-1.1: Ingress traffic classification Test 

## Summary

Validate Ingress traffic classification.

## Procedure

* Configure DUT with ingress and egress routed interfaces.
* Configure QOS classifiers to match packets arriving on DUT ingress interface to corresponding forwarding class according to
classification table.
* Configure packet re-marking for configured classes according to the marking table.
* One-by-one send flows containing every TOS/TC/EXP value in the classification table.
* For every flow sent, verify match-packets counters on the DUT ingress interface
* verify packet markings on ATE ingress interface
* verify that no traffic drops in all flows

## Config Parameter coverage

* /openconfig-qos:qos/classifiers/classifier/terms/term/conditions/ipv4/config/dscp
* /openconfig-qos:qos/classifiers/classifier/terms/term/conditions/ipv4/config/dscp-set
* /openconfig-qos:qos/classifiers/classifier/terms/term/conditions/ipv6/config/dscp
* /openconfig-qos:qos/classifiers/classifier/terms/term/conditions/ipv6/config/dscp-set
* /openconfig-qos:qos/classifiers/classifier/terms/term/actions/config/target-group
* /openconfig-qos:qos/interfaces/interface/input/classifiers/classifier/config
* /openconfig-qos:qos/interfaces/interface/input/classifiers/classifier/config/name

## Telemetry Parameter coverage

* /qos/interfaces/interface/input/classifiers/classifier/terms/term/state/matched-packets
* /qos/interfaces/interface/input/classifiers/classifier/terms/term/state/matched-octets

* QoS Classification and Marking table

* Classification table

IPv4 TOS | IPv6 TC | MPLS EXP | Forwarding class
------------- | ----------------------- | ----------------------- | ---------------------
0 | 0-7 | 0 | be1
1 | 8-15 | 1 | af1
2 | 16-23 | 2 | af2
3 | 24-31 | 3 | af3
4,5 | 32-47 | 4,5 | af4
6,7 | 48-63 | 6,7 | nc1

* Marking table

IPv4 TOS | IPv6 TC | MPLS EXP | Forwarding class
------------- | ----------------------- | ----------------------- | ---------------------
0 | 0 | 0 | be1
1 | 8 | 1 | af1
2 | 16 | 2 | af2
3 | 24 | 3 | af3
4 | 32 | 4 | af4
6 | 48 | 6 | nc1
Loading
Loading