Skip to content

Commit 4b361cd

Browse files
prsunnyanand-kumar-subramanian
authored andcommitted
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 9899a9e commit 4b361cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/route_check.py

Lines changed: 1 addition & 1 deletion
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)