Searched refs:s_ns (Results 1 – 4 of 4) sorted by relevance
24 ip -n ${s_ns} link set eth0 type bond_slave prio 1028 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"39 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}43 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"46 ip -n ${s_ns} link del bond155 local new_active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" \64 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")78 ip -n ${s_ns} link set bond0 type bond active_slave eth181 ip -n ${s_ns} link set eth0 type bond_slave prio 082 ip -n ${s_ns} link set eth1 type bond_slave prio 10[all …]
33 s_ns="s-$(mktemp -u XXXXXX)"62 ip netns add ${s_ns}63 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 10066 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns}67 ip -n "${s_ns}" link set "eth${i}" addr "${mac[$i]}"71 ip -n ${s_ns} link set eth${i} master bond076 ip -n ${s_ns} link set bond0 up77 ip -n ${s_ns} addr add ${s_ip4}/24 dev bond078 ip -n ${s_ns} addr add ${s_ip6}/24 dev bond0 nodad86 local link_num=$(ip -n ${s_ns} -br link show | grep -c "^eth")[all …]
36 setup_ns c_ns s_ns39 ip -n "${c_ns}" link add eth0 type veth peer name eth0 netns "${s_ns}"40 ip -n "${c_ns}" link add eth1 type veth peer name eth1 netns "${s_ns}"45 tc -n "${s_ns}" qdisc add dev eth1 clsact46 tc -n "${s_ns}" filter add dev eth1 egress handle 101 protocol 0x8809 matchall action pass48 ip -n "${s_ns}" link add bond0 type bond mode 802.3ad lacp_active on lacp_rate fast49 ip -n "${s_ns}" link set eth0 master bond050 ip -n "${s_ns}" link set eth1 master bond070 ip -n "${s_ns}" link set bond0 up78 slowwait 2 check_port_state "${s_ns}" "eth0" "active" || RET=1[all …]
39 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns}40 ip -n "${s_ns}" link set "eth${i}" addr "${mac[$i]}"43 ip -n ${s_ns} link set eth${i} master bond0