Lines Matching refs:netns

443 	run_cmd ip -netns "$testns" link add "$vxlan" type vxlan id 42 group 239.1.1.1 \
450 run_cmd ip -netns "$testns" addr add 10.2.11.49/24 dev "$vxlan"
451 run_cmd ip -netns "$testns" link set up dev "$vxlan"
452 run_cmd ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
455 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan vni 43
456 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan group ffe5::5 dev "$devdummy"
457 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan ttl inherit
459 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan ttl 64
460 run_cmd ip -netns "$testns" link set dev "$vxlan" type vxlan nolearning
462 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan proxy
463 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan norsc
464 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan l2miss
465 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan l3miss
466 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan external
467 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan udpcsum
468 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan udp6zerocsumtx
469 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan udp6zerocsumrx
470 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan remcsumtx
471 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan remcsumrx
472 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan gbp
473 run_cmd_fail ip -netns "$testns" link set dev "$vxlan" type vxlan gpe
474 run_cmd ip -netns "$testns" link del "$vxlan"
499 run_cmd ip -netns "$testns" fou add port 7777 ipproto 47
504 run_cmd ip -netns "$testns" fou add port 8888 ipproto 4
505 run_cmd_fail ip -netns "$testns" fou del port 9999
506 run_cmd ip -netns "$testns" fou del port 7777
515 # test various encap methods, use netns to avoid unwanted interference
524 run_cmd ip -netns "$testns" link set lo up
525 run_cmd ip -netns "$testns" link add name "$devdummy" type dummy
526 run_cmd ip -netns "$testns" link set "$devdummy" up
530 ip netns del "$testns"
858 ip netns del "$testns"
863 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type gretap seq \
867 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
868 run_cmd ip -netns "$testns" link set dev $DEV_NS up
869 run_cmd ip -netns "$testns" link del "$DEV_NS"
872 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type gretap external
873 run_cmd ip -netns "$testns" link del "$DEV_NS"
877 ip netns del "$testns"
882 ip netns del "$testns"
899 ip netns del "$testns"
904 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type ip6gretap seq \
908 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" fc00:200::1/96
909 run_cmd ip -netns "$testns" link set dev $DEV_NS up
910 run_cmd ip -netns "$testns" link del "$DEV_NS"
913 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type ip6gretap external
914 run_cmd ip -netns "$testns" link del "$DEV_NS"
918 ip netns del "$testns"
923 ip netns del "$testns"
942 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type erspan seq \
947 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
948 run_cmd ip -netns "$testns" link set dev $DEV_NS up
949 run_cmd ip -netns "$testns" link del "$DEV_NS"
952 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type erspan seq \
957 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
958 run_cmd ip -netns "$testns" link set dev $DEV_NS up
959 run_cmd ip -netns "$testns" link del "$DEV_NS"
962 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type erspan external
963 run_cmd ip -netns "$testns" link del "$DEV_NS"
967 ip netns del "$testns"
972 ip netns del "$testns"
991 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type ip6erspan seq \
996 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
997 run_cmd ip -netns "$testns" link set dev $DEV_NS up
998 run_cmd ip -netns "$testns" link del "$DEV_NS"
1001 run_cmd ip -netns "$testns" link add dev "$DEV_NS" type ip6erspan seq \
1006 run_cmd ip -netns "$testns" addr add dev "$DEV_NS" 10.1.1.100/24
1007 run_cmd ip -netns "$testns" link set dev $DEV_NS up
1008 run_cmd ip -netns "$testns" link del "$DEV_NS"
1011 run_cmd ip -netns "$testns" link add dev "$DEV_NS" \
1014 run_cmd ip -netns "$testns" link del "$DEV_NS"
1018 ip netns del "$testns"
1023 ip netns del "$testns"
1046 IP="ip -netns $testns"
1047 BRIDGE="bridge -netns $testns"
1058 ip netns del $testns &>/dev/null
1256 run_cmd ip -netns $testns link add dev $bond type bond mode balance-rr
1257 run_cmd ip -netns $testns link add dev $devdummy type dummy
1258 run_cmd ip -netns $testns link set dev $devdummy up
1259 run_cmd ip -netns $testns link set dev $devdummy master $bond down
1262 ip netns del "$testns"
1267 ip netns del "$testns"