Lines Matching refs:active_slave
49 active_slave=""
61 slowwait 5 active_slave_changed $active_slave
62 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")
63 test "$active_slave" = "$target_active_slave"
64 check_err $? "Current active slave is $active_slave but not $target_active_slave"
76 ip -n ${s_ns} link set bond0 type bond active_slave eth1
98 ip -n ${s_ns} link set $active_slave down
103 ip -n ${s_ns} link set $active_slave down
121 local pre_active_slave=$active_slave
135 ip -n ${s_ns} link set $active_slave down
154 ip -n ${s_ns} link set $active_slave down
250 …local active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_s…
256 if { [ "$arp_valid" == "null" ] || [ "eth${i}" == ${active_slave} ]; } && \
259 check_err 1 "arp_valid $arp_valid active_slave $active_slave, eth$i has mcast group"
261 elif [ "$arp_valid" != "null" ] && [ "eth${i}" != ${active_slave} ] && \
265 check_err 1 "arp_valid $arp_valid active_slave $active_slave, eth$i has mcast group"
270 ip -n ${s_ns} link set ${active_slave} down
272 slowwait 2 active_slave_changed $active_slave
273 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")
279 if { [ "$arp_valid" == "null" ] || [ "eth${i}" == ${active_slave} ]; } && \
282 check_err 1 "arp_valid $arp_valid active_slave $active_slave, eth$i has mcast group"
284 elif [ "$arp_valid" != "null" ] && [ "eth${i}" != ${active_slave} ] && \
288 check_err 1 "arp_valid $arp_valid active_slave $active_slave, eth$i has mcast group"
330 local active_slave exp_num real_num i
347 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")
348 ip -n ${s_ns} link set ${active_slave} down
351 slowwait 2 active_slave_changed $active_slave
354 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")
361 echo "$real_num garp packets sent on active slave ${active_slave}"