diff --git a/feature/experimental/qos/ate_tests/mixed_sp_wrr_traffic_test/mixed_sp_wrr_traffic_test.go b/feature/experimental/qos/ate_tests/mixed_sp_wrr_traffic_test/mixed_sp_wrr_traffic_test.go index d96613fc3cd..65055456b53 100644 --- a/feature/experimental/qos/ate_tests/mixed_sp_wrr_traffic_test/mixed_sp_wrr_traffic_test.go +++ b/feature/experimental/qos/ate_tests/mixed_sp_wrr_traffic_test/mixed_sp_wrr_traffic_test.go @@ -864,7 +864,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup string }{{ desc: "scheduler-policy-BE1", - sequence: uint32(6), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE1", inputType: oc.Input_InputType_QUEUE, @@ -873,7 +873,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE1", }, { desc: "scheduler-policy-BE0", - sequence: uint32(5), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE0", inputType: oc.Input_InputType_QUEUE, @@ -882,7 +882,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE0", }, { desc: "scheduler-policy-AF1", - sequence: uint32(4), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF1", inputType: oc.Input_InputType_QUEUE, @@ -891,7 +891,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF1", }, { desc: "scheduler-policy-AF2", - sequence: uint32(3), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF2", inputType: oc.Input_InputType_QUEUE, @@ -900,7 +900,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF2", }, { desc: "scheduler-policy-AF3", - sequence: uint32(2), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF3", inputType: oc.Input_InputType_QUEUE, @@ -909,7 +909,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF3", }, { desc: "scheduler-policy-AF4", - sequence: uint32(1), + sequence: uint32(0), priority: oc.Scheduler_Priority_STRICT, inputID: "AF4", inputType: oc.Input_InputType_QUEUE, diff --git a/feature/experimental/qos/ate_tests/one_sp_queue_traffic_test/one_sp_queue_traffic_test.go b/feature/experimental/qos/ate_tests/one_sp_queue_traffic_test/one_sp_queue_traffic_test.go index 38ba0d30a68..7cf24a294df 100644 --- a/feature/experimental/qos/ate_tests/one_sp_queue_traffic_test/one_sp_queue_traffic_test.go +++ b/feature/experimental/qos/ate_tests/one_sp_queue_traffic_test/one_sp_queue_traffic_test.go @@ -998,7 +998,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup string }{{ desc: "scheduler-policy-BE1", - sequence: uint32(6), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE1", inputType: oc.Input_InputType_QUEUE, @@ -1007,7 +1007,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE1", }, { desc: "scheduler-policy-BE0", - sequence: uint32(5), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE0", inputType: oc.Input_InputType_QUEUE, @@ -1016,7 +1016,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE0", }, { desc: "scheduler-policy-AF1", - sequence: uint32(4), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF1", inputType: oc.Input_InputType_QUEUE, @@ -1025,7 +1025,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF1", }, { desc: "scheduler-policy-AF2", - sequence: uint32(3), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF2", inputType: oc.Input_InputType_QUEUE, @@ -1034,7 +1034,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF2", }, { desc: "scheduler-policy-AF3", - sequence: uint32(2), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF3", inputType: oc.Input_InputType_QUEUE, diff --git a/feature/experimental/qos/ate_tests/qos_output_queue_counters_test/qos_output_queue_counters_test.go b/feature/experimental/qos/ate_tests/qos_output_queue_counters_test/qos_output_queue_counters_test.go index 54d1663e70a..707c5e07359 100644 --- a/feature/experimental/qos/ate_tests/qos_output_queue_counters_test/qos_output_queue_counters_test.go +++ b/feature/experimental/qos/ate_tests/qos_output_queue_counters_test/qos_output_queue_counters_test.go @@ -472,7 +472,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup string }{{ desc: "scheduler-policy-BE1", - sequence: uint32(6), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE1", inputType: oc.Input_InputType_QUEUE, @@ -481,7 +481,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE1", }, { desc: "scheduler-policy-BE0", - sequence: uint32(5), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE0", inputType: oc.Input_InputType_QUEUE, @@ -490,7 +490,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE0", }, { desc: "scheduler-policy-AF1", - sequence: uint32(4), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF1", inputType: oc.Input_InputType_QUEUE, @@ -499,7 +499,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF1", }, { desc: "scheduler-policy-AF2", - sequence: uint32(3), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF2", inputType: oc.Input_InputType_QUEUE, @@ -508,7 +508,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF2", }, { desc: "scheduler-policy-AF3", - sequence: uint32(2), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF3", inputType: oc.Input_InputType_QUEUE, @@ -517,7 +517,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF3", }, { desc: "scheduler-policy-AF4", - sequence: uint32(1), + sequence: uint32(0), priority: oc.Scheduler_Priority_STRICT, inputID: "AF4", inputType: oc.Input_InputType_QUEUE, diff --git a/feature/experimental/qos/ate_tests/qos_policy_config_test/README.md b/feature/experimental/qos/ate_tests/qos_policy_config_test/README.md index 9735ddb3750..2a556389500 100644 --- a/feature/experimental/qos/ate_tests/qos_policy_config_test/README.md +++ b/feature/experimental/qos/ate_tests/qos_policy_config_test/README.md @@ -84,12 +84,12 @@ Verify QoS policy feature configuration. Queue | Priority | Sequence | Weight ----- | -------- | -------- | ------ - BE1 | not set | 6 | 1 - BE0 | not set | 5 | 2 - AF1 | not set | 4 | 4 - AF2 | not set | 3 | 8 - AF3 | not set | 2 | 16 - AF4 | STRICT | 1 | 100 + BE1 | not set | 1 | 1 + BE0 | not set | 1 | 2 + AF1 | not set | 1 | 4 + AF2 | not set | 1 | 8 + AF3 | not set | 1 | 16 + AF4 | STRICT | 0 | 100 NC1 | STRICT | 0 | 200 * Validate that the following values can be configured diff --git a/feature/experimental/qos/ate_tests/qos_policy_config_test/qos_policy_config_test.go b/feature/experimental/qos/ate_tests/qos_policy_config_test/qos_policy_config_test.go index cb372711a3c..6efab07d3c0 100644 --- a/feature/experimental/qos/ate_tests/qos_policy_config_test/qos_policy_config_test.go +++ b/feature/experimental/qos/ate_tests/qos_policy_config_test/qos_policy_config_test.go @@ -386,7 +386,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup string }{{ desc: "scheduler-policy-BE1", - sequence: uint32(6), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE1", inputType: oc.Input_InputType_QUEUE, @@ -395,7 +395,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup: "target-group-BE1", }, { desc: "scheduler-policy-BE0", - sequence: uint32(5), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE0", inputType: oc.Input_InputType_QUEUE, @@ -404,7 +404,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup: "target-group-BE0", }, { desc: "scheduler-policy-AF1", - sequence: uint32(4), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF1", inputType: oc.Input_InputType_QUEUE, @@ -413,7 +413,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup: "target-group-AF1", }, { desc: "scheduler-policy-AF2", - sequence: uint32(3), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF2", inputType: oc.Input_InputType_QUEUE, @@ -422,7 +422,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup: "target-group-AF2", }, { desc: "scheduler-policy-AF3", - sequence: uint32(2), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF3", inputType: oc.Input_InputType_QUEUE, @@ -431,7 +431,7 @@ func TestSchedulerPoliciesConfig(t *testing.T) { targetGroup: "target-group-AF3", }, { desc: "scheduler-policy-AF4", - sequence: uint32(1), + sequence: uint32(0), priority: oc.Scheduler_Priority_STRICT, inputID: "AF4", inputType: oc.Input_InputType_QUEUE, diff --git a/feature/experimental/qos/ate_tests/two_sp_queue_traffic_test/two_sp_queue_traffic_test.go b/feature/experimental/qos/ate_tests/two_sp_queue_traffic_test/two_sp_queue_traffic_test.go index 252761156d5..17fe755adaa 100644 --- a/feature/experimental/qos/ate_tests/two_sp_queue_traffic_test/two_sp_queue_traffic_test.go +++ b/feature/experimental/qos/ate_tests/two_sp_queue_traffic_test/two_sp_queue_traffic_test.go @@ -1418,7 +1418,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup string }{{ desc: "scheduler-policy-BE1", - sequence: uint32(6), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE1", inputType: oc.Input_InputType_QUEUE, @@ -1427,7 +1427,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE1", }, { desc: "scheduler-policy-BE0", - sequence: uint32(5), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "BE0", inputType: oc.Input_InputType_QUEUE, @@ -1436,7 +1436,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-BE0", }, { desc: "scheduler-policy-AF1", - sequence: uint32(4), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF1", inputType: oc.Input_InputType_QUEUE, @@ -1445,7 +1445,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF1", }, { desc: "scheduler-policy-AF2", - sequence: uint32(3), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF2", inputType: oc.Input_InputType_QUEUE, @@ -1454,7 +1454,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF2", }, { desc: "scheduler-policy-AF3", - sequence: uint32(2), + sequence: uint32(1), priority: oc.Scheduler_Priority_UNSET, inputID: "AF3", inputType: oc.Input_InputType_QUEUE, @@ -1463,7 +1463,7 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) { targetGroup: "target-group-AF3", }, { desc: "scheduler-policy-AF4", - sequence: uint32(1), + sequence: uint32(0), priority: oc.Scheduler_Priority_STRICT, inputID: "AF4", inputType: oc.Input_InputType_QUEUE,