|
7 | 7 | #include "orch.h" |
8 | 8 | #include "portsorch.h" |
9 | 9 |
|
10 | | -const string dscp_to_tc_field_name = "dscp_to_tc_map"; |
11 | | -const string pfc_to_pg_map_name = "pfc_to_pg_map"; |
12 | | -const string pfc_to_queue_map_name = "pfc_to_queue_map"; |
13 | | -const string pfc_enable_name = "pfc_enable"; |
14 | | -const string tc_to_pg_map_field_name = "tc_to_pg_map"; |
15 | | -const string tc_to_queue_field_name = "tc_to_queue_map"; |
16 | | -const string scheduler_field_name = "scheduler"; |
17 | | -const string red_max_threshold_field_name = "red_max_threshold"; |
18 | | -const string red_min_threshold_field_name = "red_min_threshold"; |
19 | | -const string yellow_max_threshold_field_name = "yellow_max_threshold"; |
20 | | -const string yellow_min_threshold_field_name = "yellow_min_threshold"; |
21 | | -const string green_max_threshold_field_name = "green_max_threshold"; |
22 | | -const string green_min_threshold_field_name = "green_min_threshold"; |
23 | | - |
24 | | -const string wred_profile_field_name = "wred_profile"; |
25 | | -const string wred_red_enable_field_name = "wred_red_enable"; |
26 | | -const string wred_yellow_enable_field_name = "wred_yellow_enable"; |
27 | | -const string wred_green_enable_field_name = "wred_green_enable"; |
28 | | - |
29 | | -const string scheduler_algo_type_field_name = "type"; |
30 | | -const string scheduler_algo_DWRR = "DWRR"; |
31 | | -const string scheduler_algo_WRR = "WRR"; |
32 | | -const string scheduler_algo_STRICT = "STRICT"; |
33 | | -const string scheduler_weight_field_name = "weight"; |
34 | | -const string scheduler_priority_field_name = "priority"; |
35 | | - |
36 | | -const string ecn_field_name = "ecn"; |
37 | | -const string ecn_none = "ecn_none"; |
38 | | -const string ecn_red = "ecn_red"; |
39 | | -const string ecn_yellow = "ecn_yellow"; |
40 | | -const string ecn_yellow_red = "ecn_yellow_red"; |
41 | | -const string ecn_green = "ecn_green"; |
42 | | -const string ecn_green_red = "ecn_green_red"; |
43 | | -const string ecn_green_yellow = "ecn_green_yellow"; |
44 | | -const string ecn_all = "ecn_all"; |
| 10 | +const string dscp_to_tc_field_name = "dscp_to_tc_map"; |
| 11 | +const string pfc_to_pg_map_name = "pfc_to_pg_map"; |
| 12 | +const string pfc_to_queue_map_name = "pfc_to_queue_map"; |
| 13 | +const string pfc_enable_name = "pfc_enable"; |
| 14 | +const string tc_to_pg_map_field_name = "tc_to_pg_map"; |
| 15 | +const string tc_to_queue_field_name = "tc_to_queue_map"; |
| 16 | +const string scheduler_field_name = "scheduler"; |
| 17 | +const string red_max_threshold_field_name = "red_max_threshold"; |
| 18 | +const string red_min_threshold_field_name = "red_min_threshold"; |
| 19 | +const string yellow_max_threshold_field_name = "yellow_max_threshold"; |
| 20 | +const string yellow_min_threshold_field_name = "yellow_min_threshold"; |
| 21 | +const string green_max_threshold_field_name = "green_max_threshold"; |
| 22 | +const string green_min_threshold_field_name = "green_min_threshold"; |
| 23 | +const string red_drop_probability_field_name = "red_drop_probability"; |
| 24 | +const string yellow_drop_probability_field_name = "yellow_drop_probability"; |
| 25 | +const string green_drop_probability_field_name = "green_drop_probability"; |
| 26 | + |
| 27 | +const string wred_profile_field_name = "wred_profile"; |
| 28 | +const string wred_red_enable_field_name = "wred_red_enable"; |
| 29 | +const string wred_yellow_enable_field_name = "wred_yellow_enable"; |
| 30 | +const string wred_green_enable_field_name = "wred_green_enable"; |
| 31 | + |
| 32 | +const string scheduler_algo_type_field_name = "type"; |
| 33 | +const string scheduler_algo_DWRR = "DWRR"; |
| 34 | +const string scheduler_algo_WRR = "WRR"; |
| 35 | +const string scheduler_algo_STRICT = "STRICT"; |
| 36 | +const string scheduler_weight_field_name = "weight"; |
| 37 | +const string scheduler_priority_field_name = "priority"; |
| 38 | + |
| 39 | +const string ecn_field_name = "ecn"; |
| 40 | +const string ecn_none = "ecn_none"; |
| 41 | +const string ecn_red = "ecn_red"; |
| 42 | +const string ecn_yellow = "ecn_yellow"; |
| 43 | +const string ecn_yellow_red = "ecn_yellow_red"; |
| 44 | +const string ecn_green = "ecn_green"; |
| 45 | +const string ecn_green_red = "ecn_green_red"; |
| 46 | +const string ecn_green_yellow = "ecn_green_yellow"; |
| 47 | +const string ecn_all = "ecn_all"; |
45 | 48 |
|
46 | 49 | class QosMapHandler |
47 | 50 | { |
|
0 commit comments