Skip to content

Commit a1d1718

Browse files
lolyumssonicbld
authored andcommitted
[decap] Fix test_decap by using new db schema (#13629)
Fixes #19381
1 parent f0315b9 commit a1d1718

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

ansible/roles/test/templates/decap_conf.j2

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
[
22
{% if outer_ipv4 %}
3+
{
4+
"TUNNEL_DECAP_TERM_TABLE:TEST_IPINIP_V4_TUNNEL:{{ lo_ip }}" : {
5+
"term_type":"P2MP"
6+
},
7+
"OP": "{{ op }}"
8+
},
39
{
410
"TUNNEL_DECAP_TABLE:TEST_IPINIP_V4_TUNNEL" : {
511
"tunnel_type":"IPINIP",
6-
"dst_ip":"{{ lo_ip }}",
712
"dscp_mode":"{{ dscp_mode }}",
813
"ecn_mode":"{{ ecn_mode }}",
914
"ttl_mode":"{{ ttl_mode }}"
@@ -14,10 +19,15 @@
1419
{% if outer_ipv6 and outer_ipv4 %} ,
1520
{% endif %}
1621
{% if outer_ipv6 %}
22+
{
23+
"TUNNEL_DECAP_TERM_TABLE:TEST_IPINIP_V6_TUNNEL:{{ lo_ipv6 }}" : {
24+
"term_type":"P2MP"
25+
},
26+
"OP": "{{ op }}"
27+
},
1728
{
1829
"TUNNEL_DECAP_TABLE:TEST_IPINIP_V6_TUNNEL" : {
1930
"tunnel_type":"IPINIP",
20-
"dst_ip":"{{ lo_ipv6 }}",
2131
"dscp_mode":"{{ dscp_mode }}",
2232
"ecn_mode":"{{ ecn_mode }}",
2333
"ttl_mode":"{{ ttl_mode }}"

0 commit comments

Comments
 (0)