Lines Matching refs:tid
254 local tid=$3
255 local hsname=hs-t${tid}-${hs}
257 local rtveth=veth-t${tid}
275 ip -netns ${rtname} link add vrf-${tid} type vrf table ${tid}
276 ip -netns ${rtname} link set vrf-${tid} up
279 ip -netns ${rtname} link set ${rtveth} master vrf-${tid}
294 local tid=$5
296 local hssrc_name=hs-t${tid}-${hssrc}
297 local hsdst_name=hs-t${tid}-${hsdst}
300 local vpn_sid=${VPN_LOCATOR_SERVICE}:${hssrc}${hsdst}:${tid}::6004
304 ip -netns ${rtsrc_name} -4 route add ${IPv4_HS_NETWORK}.${hsdst}/32 vrf vrf-${tid} \
306 ip -netns ${rtsrc_name} -6 route add ${vpn_sid}/128 vrf vrf-${tid} \
312 encap seg6local action End.DT4 vrftable ${tid} dev vrf-${tid}
379 local tid=$3
381 ip netns exec hs-t${tid}-${hssrc} ping -c 1 -W ${PING_TIMEOUT_SEC} \
389 local tid=$3
391 check_hs_connectivity ${hssrc} ${hsdst} ${tid}
392 log_test $? 0 "Hosts connectivity: hs-t${tid}-${hssrc} -> hs-t${tid}-${hsdst} (tenant ${tid})"
411 local tid=$2
413 check_hs_connectivity ${hssrc} 254 ${tid}
414 log_test $? 0 "Hosts connectivity: hs-t${tid}-${hssrc} -> gw (tenant ${tid})"