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.2 - DSCP trust classification #1873

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
cda4fbc
DSCP trust classification
charantejag504 Jul 13, 2023
63159e9
Merge branch 'main' into ANCX_QOS12
charantejag504 Jul 13, 2023
baa270b
Merge branch 'main' into ANCX_QOS12
charantejag504 Jul 13, 2023
c7e3fff
Merge branch 'main' into ANCX_QOS12
charantejag504 Aug 9, 2023
ace2035
address comment
charantejag504 Aug 9, 2023
1b90963
Merge branch 'ANCX_QOS12' of https://github.com/charantejag504/featur…
charantejag504 Aug 9, 2023
7ea4925
OTG
charantejag504 Aug 24, 2023
c8b1ba7
OTG
charantejag504 Aug 24, 2023
016a852
Merge branch 'main' into ANCX_QOS12
charantejag504 Aug 24, 2023
ec67e87
OTG
charantejag504 Aug 24, 2023
15c8615
Merge branch 'ANCX_QOS12' of https://github.com/charantejag504/featur…
charantejag504 Aug 24, 2023
5c09e85
Merge branch 'main' into ANCX_QOS12
arulkumarsekar Aug 30, 2023
2e14b54
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 1, 2023
6b8a7e4
int32 changes
charantejag504 Sep 1, 2023
929c6b7
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 1, 2023
79bfa62
Merge branch 'main' into ANCX_QOS12
mohanasm Sep 5, 2023
fd692ec
Merge branch 'main' into ANCX_QOS12
arulkumarsekar Sep 6, 2023
cfed51b
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 8, 2023
131b109
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 8, 2023
862cb00
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 11, 2023
58481eb
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 11, 2023
04e1e73
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 11, 2023
b184688
Merge branch 'main' into ANCX_QOS12
charantejag504 Sep 11, 2023
66fd5a2
Update metadata.textproto
mohanasm Sep 14, 2023
2061e9a
Merge branch 'main' into ANCX_QOS12
arulkumarsekar Sep 15, 2023
8bcf7bf
Merge branch 'main' into ANCX_QOS12
sachendras Oct 13, 2023
4892cab
Merge branch 'main' into ANCX_QOS12
ram-mac Apr 24, 2024
a89d7c1
Merge branch 'main' into ANCX_QOS12
charantejag504 Apr 24, 2024
8bfb34b
Merge branch 'main' into ANCX_QOS12
charantejag504 Apr 29, 2024
8c40a7f
Merge branch 'main' into ANCX_QOS12
charantejag504 Apr 29, 2024
0fba89a
update
charantejag504 Apr 29, 2024
b15d57d
Merge branch 'main' into ANCX_QOS12
charantejag504 Jun 5, 2024
0d08ea8
Merge branch 'main' into ANCX_QOS12
charantejag504 Oct 11, 2024
4d48560
Merge branch 'main' into ANCX_QOS12
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,45 @@
# QOS-1.2: DSCP trust classification test

## Summary

Validate DSCP trust based classification test.

## Procedure

* Configure DUT with ingress and egress routed interfaces.
* Configure “DSCP trust” feature on the DUT ingress interface.
* Look up and record device default queue classification maps.
* One-by-one send flows containing every IPv4 TOS and IPv6 TC value in the classification table.
* For every flow sent,
* Verify that the flow is placed into correct egress interface queues, with the mapping matching to the device's classification map.
* Verify that the DUT does not change traffic marking.
* 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

* /openconfig-qos:qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/name
* /openconfig-qos:qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/transmit-pkts
* /openconfig-qos:qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/dropped-pkts

* QoS Classification

* Classification table

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