Skip to content

Commit 9ac47e5

Browse files
authored
Skip route check for tun0 interfaces (sonic-net#1399)
As part of dual-tor features, kernel tunnel interface (tun0) is being created. The routes over this is intended for kernel forwarding and not expected to be installed in ASIC. Ref PR - sonic-net/sonic-swss#1615
1 parent ba68aed commit 9ac47e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/route_check.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def filter_out_local_interfaces(keys):
320320
:return keys filtered out of local
321321
"""
322322
rt = []
323-
local_if_re = ['eth0', 'lo', 'docker0', 'Loopback\d+']
323+
local_if_re = ['eth0', 'lo', 'docker0', 'tun0', 'Loopback\d+']
324324

325325
db = swsscommon.DBConnector(APPL_DB_NAME, 0)
326326
tbl = swsscommon.Table(db, 'ROUTE_TABLE')

0 commit comments

Comments
 (0)