File tree Expand file tree Collapse file tree 7 files changed +52
-16
lines changed
src/sonic-config-engine/tests Expand file tree Collapse file tree 7 files changed +52
-16
lines changed Original file line number Diff line number Diff line change 65
65
{
66
66
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : {
67
67
"tunnel_type":"IPINIP",
68
+ {% if "broadcom" in asic_type %}
68
69
"dscp_mode":"uniform",
70
+ {% else %}
71
+ "dscp_mode":"pipe",
72
+ "decap_dscp_to_tc_map":"AZURE",
73
+ {% endif %}
69
74
{% if "mlnx" in DEVICE_METADATA .localhost .platform %}
70
75
"ecn_mode":"standard",
71
76
{% else %}
88
93
{
89
94
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
90
95
"tunnel_type":"IPINIP",
96
+ {% if "broadcom" in asic_type %}
91
97
"dscp_mode":"uniform",
98
+ {% else %}
99
+ "dscp_mode":"pipe",
100
+ "decap_dscp_to_tc_map":"AZURE",
101
+ {% endif %}
92
102
{% if "mlnx" in DEVICE_METADATA .localhost .platform %}
93
103
"ecn_mode":"standard",
94
104
{% else %}
118
128
{
119
129
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET_V6" : {
120
130
"tunnel_type":"IPINIP",
131
+ {% if "broadcom" in asic_type %}
121
132
"dscp_mode":"uniform",
133
+ {% else %}
134
+ "dscp_mode":"pipe",
135
+ "decap_dscp_to_tc_map":"AZURE",
136
+ {% endif %}
122
137
{% if "mlnx" in DEVICE_METADATA .localhost .platform %}
123
138
"ecn_mode":"standard",
124
139
{% else %}
141
156
{
142
157
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
143
158
"tunnel_type":"IPINIP",
159
+ {% if "broadcom" in asic_type %}
144
160
"dscp_mode":"uniform",
161
+ {% else %}
162
+ "dscp_mode":"pipe",
163
+ "decap_dscp_to_tc_map":"AZURE",
164
+ {% endif %}
145
165
{% if "mlnx" in DEVICE_METADATA .localhost .platform %}
146
166
"ecn_mode":"standard",
147
167
{% else %}
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
41
42
{
42
43
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
43
44
"tunnel_type" :" IPINIP" ,
44
- "dscp_mode" :" uniform" ,
45
+ "dscp_mode" :" pipe" ,
46
+ "decap_dscp_to_tc_map" :" AZURE" ,
45
47
"ecn_mode" :" copy_from_outer" ,
46
48
"ttl_mode" :" pipe"
47
49
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
41
42
{
42
43
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
43
44
"tunnel_type" :" IPINIP" ,
44
- "dscp_mode" :" uniform" ,
45
+ "dscp_mode" :" pipe" ,
46
+ "decap_dscp_to_tc_map" :" AZURE" ,
45
47
"ecn_mode" :" copy_from_outer" ,
46
48
"ttl_mode" :" pipe"
47
49
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
65
66
{
66
67
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
67
68
"tunnel_type" :" IPINIP" ,
68
- "dscp_mode" :" uniform" ,
69
+ "dscp_mode" :" pipe" ,
70
+ "decap_dscp_to_tc_map" :" AZURE" ,
69
71
"ecn_mode" :" copy_from_outer" ,
70
72
"ttl_mode" :" pipe"
71
73
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
25
26
{
26
27
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
27
28
"tunnel_type" :" IPINIP" ,
28
- "dscp_mode" :" uniform" ,
29
+ "dscp_mode" :" pipe" ,
30
+ "decap_dscp_to_tc_map" :" AZURE" ,
29
31
"ecn_mode" :" copy_from_outer" ,
30
32
"ttl_mode" :" pipe"
31
33
},
88
90
{
89
91
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET_V6" : {
90
92
"tunnel_type" :" IPINIP" ,
91
- "dscp_mode" :" uniform" ,
93
+ "dscp_mode" :" pipe" ,
94
+ "decap_dscp_to_tc_map" :" AZURE" ,
92
95
"ecn_mode" :" copy_from_outer" ,
93
96
"ttl_mode" :" pipe"
94
97
},
97
100
{
98
101
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
99
102
"tunnel_type" :" IPINIP" ,
100
- "dscp_mode" :" uniform" ,
103
+ "dscp_mode" :" pipe" ,
104
+ "decap_dscp_to_tc_map" :" AZURE" ,
101
105
"ecn_mode" :" copy_from_outer" ,
102
106
"ttl_mode" :" pipe"
103
107
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
65
66
{
66
67
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
67
68
"tunnel_type" :" IPINIP" ,
68
- "dscp_mode" :" uniform" ,
69
+ "dscp_mode" :" pipe" ,
70
+ "decap_dscp_to_tc_map" :" AZURE" ,
69
71
"ecn_mode" :" copy_from_outer" ,
70
72
"ttl_mode" :" pipe"
71
73
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : {
4
4
"tunnel_type" :" IPINIP" ,
5
- "dscp_mode" :" uniform" ,
5
+ "dscp_mode" :" pipe" ,
6
+ "decap_dscp_to_tc_map" :" AZURE" ,
6
7
"ecn_mode" :" copy_from_outer" ,
7
8
"ttl_mode" :" pipe"
8
9
},
25
26
{
26
27
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
27
28
"tunnel_type" :" IPINIP" ,
28
- "dscp_mode" :" uniform" ,
29
+ "dscp_mode" :" pipe" ,
30
+ "decap_dscp_to_tc_map" :" AZURE" ,
29
31
"ecn_mode" :" copy_from_outer" ,
30
32
"ttl_mode" :" pipe"
31
33
},
88
90
{
89
91
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET_V6" : {
90
92
"tunnel_type" :" IPINIP" ,
91
- "dscp_mode" :" uniform" ,
93
+ "dscp_mode" :" pipe" ,
94
+ "decap_dscp_to_tc_map" :" AZURE" ,
92
95
"ecn_mode" :" copy_from_outer" ,
93
96
"ttl_mode" :" pipe"
94
97
},
97
100
{
98
101
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
99
102
"tunnel_type" :" IPINIP" ,
100
- "dscp_mode" :" uniform" ,
103
+ "dscp_mode" :" pipe" ,
104
+ "decap_dscp_to_tc_map" :" AZURE" ,
101
105
"ecn_mode" :" copy_from_outer" ,
102
106
"ttl_mode" :" pipe"
103
107
},
You can’t perform that action at this time.
0 commit comments