Lines Matching full:sudo
19 sudo ip netns delete $ns
26 sudo ip netns add $ns
27 sudo ip link add $ns.in type veth peer name $ns.out
28 sudo ip link set $ns.in netns $ns
29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
33 sudo ip addr add dev $ns.out 172.16.1.1/24
34 sudo ip link set $ns.out up
35 …sudo bash -c "PYTHONPATH=$PYTHONPATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH ip netns exec $ns $cmd $1 $2"
39 sudo bash -c "PYTHONPATH=$PYTHONPATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH $cmd $1 $2"
51 sudo)