Home
last modified time | relevance | path

Searched refs:testns (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/
H A Drtnetlink.sh486 run_cmd ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \
493 run_cmd ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
494 run_cmd ip -netns "$testns" link set up dev "$vxlan"
495 run_cmd ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
498 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43
499 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy"
500 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit
502 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
503 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan nolearning
505 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan proxy
[all …]
H A Dvrf_strict_mode_test.sh248 setup_ns testns
253 ip netns del $testns 2>/dev/null
298 vrf_strict_mode_check_support $testns
300 strict_mode_check_default $testns
302 enable_strict_mode_and_check $testns
304 add_vrf_and_check $testns vrf100 100
305 config_vrf_and_check $testns 10.0.100.1/24 vrf100
307 add_vrf_and_check_fail $testns vrf101 100
309 add_vrf_and_check_fail $testns vrf102 100
311 add_vrf_and_check $testns vrf200 200
[all …]
H A Dfib_rule_tests.sh57 setup_ns testns
58 IP="ip -netns $testns"
71 cleanup_ns $testns
82 ip link add name veth0 netns $testns type veth \
404 nettest -q -6 -B -t 5 -N $testns -O $peerns -U -D \
408 nettest -q -6 -B -t 5 -N $testns -O $peerns -Q "${dsfield}" \
415 nettest -q -6 -B -t 5 -N $testns -O $peerns -U -D \
419 nettest -q -6 -B -t 5 -N $testns -O $peerns -Q 0x20 \
434 nettest -q -6 -B -t 5 -N $testns -O $peerns -U -D -Q 0xfc \
438 nettest -q -6 -B -t 5 -N $testns -O $peerns -Q 0xfc \
[all …]
H A Dtest_vxlan_vnifiltering.sh301 ip link add veth-host type veth peer name veth-testns
302 setup_ns testns
303 ip link set veth-testns netns $testns
309 ip netns del $testns 2>/dev/null || true
327 …run_cmd "ip -netns $testns link add vxlan100 type vxlan id 100 local $localip dev veth-testns dstp…
331 …run_cmd "ip -netns $testns link add vxlan-ext1 type vxlan vnifilter local $localip dev veth-testns…
334 …run_cmd "ip -netns $testns link add vxlan-ext1 type vxlan external vnifilter local $localip dev ve…
337 run_cmd "bridge -netns $testns vni add dev vxlan-ext1 vni 100"
340 run_cmd "bridge -netns $testns vni add dev vxlan-ext1 vni 200"
343 …run_cmd "ip -netns $testns link add vxlan-ext2 type vxlan external vnifilter local $localip dev ve…
[all …]