Skip to content

Commit f017bf9

Browse files
Gfrom2016VladimirKuk
authored andcommitted
Revert "[QoS] Add tunnel pipe mode support for IPIP Decap mode to use SAI_TUN…" (sonic-net#21260)
This reverts commit da30d12.
1 parent 42deb58 commit f017bf9

File tree

7 files changed

+14
-30
lines changed

7 files changed

+14
-30
lines changed

dockers/docker-orchagent/ipinip.json.j2

+2-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,10 @@
8383
{
8484
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
8585
"tunnel_type":"IPINIP",
86-
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
8786
"dscp_mode":"uniform",
87+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
8888
"ecn_mode":"standard",
8989
{% else %}
90-
"dscp_mode":"pipe",
91-
"decap_dscp_to_tc_map":"AZURE",
9290
"ecn_mode":"copy_from_outer",
9391
{% endif %}
9492
"ttl_mode":"pipe"
@@ -138,12 +136,10 @@
138136
{
139137
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
140138
"tunnel_type":"IPINIP",
141-
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
142139
"dscp_mode":"uniform",
140+
{% if "mlnx" in DEVICE_METADATA.localhost.platform %}
143141
"ecn_mode":"standard",
144142
{% else %}
145-
"dscp_mode":"pipe",
146-
"decap_dscp_to_tc_map":"AZURE",
147143
"ecn_mode":"copy_from_outer",
148144
{% endif %}
149145
"ttl_mode":"pipe"

src/sonic-config-engine/tests/multi_npu_data/py2/ipinip.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
{
33
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
44
"tunnel_type":"IPINIP",
5-
"dscp_mode":"pipe",
6-
"decap_dscp_to_tc_map":"AZURE",
5+
"dscp_mode":"uniform",
76
"ecn_mode":"copy_from_outer",
87
"ttl_mode":"pipe"
98
},
@@ -42,8 +41,7 @@
4241
{
4342
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
4443
"tunnel_type":"IPINIP",
45-
"dscp_mode":"pipe",
46-
"decap_dscp_to_tc_map":"AZURE",
44+
"dscp_mode":"uniform",
4745
"ecn_mode":"copy_from_outer",
4846
"ttl_mode":"pipe"
4947
},

src/sonic-config-engine/tests/multi_npu_data/py3/ipinip.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
{
33
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
44
"tunnel_type":"IPINIP",
5-
"dscp_mode":"pipe",
6-
"decap_dscp_to_tc_map":"AZURE",
5+
"dscp_mode":"uniform",
76
"ecn_mode":"copy_from_outer",
87
"ttl_mode":"pipe"
98
},
@@ -42,8 +41,7 @@
4241
{
4342
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
4443
"tunnel_type":"IPINIP",
45-
"dscp_mode":"pipe",
46-
"decap_dscp_to_tc_map":"AZURE",
44+
"dscp_mode":"uniform",
4745
"ecn_mode":"copy_from_outer",
4846
"ttl_mode":"pipe"
4947
},

src/sonic-config-engine/tests/sample_output/py2/ipinip.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
{
33
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
44
"tunnel_type":"IPINIP",
5-
"dscp_mode":"pipe",
6-
"decap_dscp_to_tc_map":"AZURE",
5+
"dscp_mode":"uniform",
76
"ecn_mode":"copy_from_outer",
87
"ttl_mode":"pipe"
98
},
@@ -66,8 +65,7 @@
6665
{
6766
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
6867
"tunnel_type":"IPINIP",
69-
"dscp_mode":"pipe",
70-
"decap_dscp_to_tc_map":"AZURE",
68+
"dscp_mode":"uniform",
7169
"ecn_mode":"copy_from_outer",
7270
"ttl_mode":"pipe"
7371
},

src/sonic-config-engine/tests/sample_output/py2/ipinip_subnet_decap_enable.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
{
2626
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
2727
"tunnel_type":"IPINIP",
28-
"dscp_mode":"pipe",
29-
"decap_dscp_to_tc_map":"AZURE",
28+
"dscp_mode":"uniform",
3029
"ecn_mode":"copy_from_outer",
3130
"ttl_mode":"pipe"
3231
},
@@ -98,8 +97,7 @@
9897
{
9998
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
10099
"tunnel_type":"IPINIP",
101-
"dscp_mode":"pipe",
102-
"decap_dscp_to_tc_map":"AZURE",
100+
"dscp_mode":"uniform",
103101
"ecn_mode":"copy_from_outer",
104102
"ttl_mode":"pipe"
105103
},

src/sonic-config-engine/tests/sample_output/py3/ipinip.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
{
33
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
44
"tunnel_type":"IPINIP",
5-
"dscp_mode":"pipe",
6-
"decap_dscp_to_tc_map":"AZURE",
5+
"dscp_mode":"uniform",
76
"ecn_mode":"copy_from_outer",
87
"ttl_mode":"pipe"
98
},
@@ -66,8 +65,7 @@
6665
{
6766
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
6867
"tunnel_type":"IPINIP",
69-
"dscp_mode":"pipe",
70-
"decap_dscp_to_tc_map":"AZURE",
68+
"dscp_mode":"uniform",
7169
"ecn_mode":"copy_from_outer",
7270
"ttl_mode":"pipe"
7371
},

src/sonic-config-engine/tests/sample_output/py3/ipinip_subnet_decap_enable.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
{
2626
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : {
2727
"tunnel_type":"IPINIP",
28-
"dscp_mode":"pipe",
29-
"decap_dscp_to_tc_map":"AZURE",
28+
"dscp_mode":"uniform",
3029
"ecn_mode":"copy_from_outer",
3130
"ttl_mode":"pipe"
3231
},
@@ -98,8 +97,7 @@
9897
{
9998
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : {
10099
"tunnel_type":"IPINIP",
101-
"dscp_mode":"pipe",
102-
"decap_dscp_to_tc_map":"AZURE",
100+
"dscp_mode":"uniform",
103101
"ecn_mode":"copy_from_outer",
104102
"ttl_mode":"pipe"
105103
},

0 commit comments

Comments
 (0)