Lines Matching full:down

44 	/* Some tests can leave the iface in a bad state where it is admin-down but not dormant */  in reset_test_iface_networking()
66 /* Disable auto-connect and auto-down */ in reset_test_iface_state()
285 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
310 zassert_false(net_if_is_up(ifb), "ifb should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
332 zassert_false(net_if_is_up(ifa2), "ifa2 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
383 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
392 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
423 zassert_false(net_if_is_up(ifa1), "ifa1 should be oper-down after conn_mgr_if_disconnect"); in ZTEST()
428 /* Verify that calling connect on a down iface automatically takes the iface up. */
446 /* Verify that calling disconnect on a down iface has no effect and raises no error. */
455 /* Verify iface is still down */ in ZTEST()
456 zassert_false(net_if_is_admin_up(ifa1), "ifa1 should be still be admin-down."); in ZTEST()
916 /* Take the iface down */ in ZTEST()
930 /* Verify that if auto-down is enabled, disconnecting an iface also takes it down,
931 * regardless of whether persistence is enabled, but only if auto-down is disabled.
938 /* Enable auto-down, disable persistence */ in ZTEST()
953 /* Verify down */ in ZTEST()
956 "Auto-down should trigger on direct disconnect."); in ZTEST()
974 /* Verify down */ in ZTEST()
977 "Auto-down should trigger on direct disconnect, even if persistence is enabled."); in ZTEST()
981 /* Disable auto-down */ in ZTEST()
997 "Auto-down should not trigger if it is disabled."); in ZTEST()
1000 /* Verify that auto-down takes an iface down if connection is lost, but only if persistence is not
1001 * enabled, and only if auto-down is enabled.
1008 /* Enable auto-down, disable persistence */ in ZTEST()
1022 /* Verify down */ in ZTEST()
1025 "Auto-down should trigger on connection loss if persistence is disabled."); in ZTEST()
1043 "Auto-down should not trigger on connection loss if persistence is enabled."); in ZTEST()
1045 /* Disable persistence and disable auto-down*/ in ZTEST()
1062 "Auto-down should not trigger on connection loss if it is disabled."); in ZTEST()
1065 /* Verify that timeout takes the iface down, even if
1066 * persistence is enabled, but only if auto-down is enabled.
1075 /* Enable auto-down and persistence*/ in ZTEST()
1085 /* Verify iface down after timeout */ in ZTEST()
1088 "Auto-down should trigger on connection timeout, even if persistence is enabled."); in ZTEST()
1090 /* Disable auto-down */ in ZTEST()
1099 "Auto-down should not trigger on connection timeout if it is disabled."); in ZTEST()
1103 /* Verify that fatal error takes the iface down, even if
1104 * persistence is enabled, but only if auto-down is enabled.
1111 /* Enable auto-down and persistence */ in ZTEST()
1125 /* Verify iface down after fatal error */ in ZTEST()
1128 "Auto-down should trigger on fatal error, even if persistence is enabled."); in ZTEST()
1130 /* Disable auto-down */ in ZTEST()
1146 "Auto-down should not trigger on fatal error if it is disabled."); in ZTEST()
1170 /* Manually take all ifaces down */ in ZTEST()
1220 /* Manually take all ifaces down */ in ZTEST()
1244 zassert_false(net_if_is_admin_up(ifa1), "All ignored ifaces should be admin-down."); in ZTEST()
1245 zassert_false(net_if_is_admin_up(ifnone), "All ignored ifaces should be admin-down."); in ZTEST()
1255 /* Verify that all_if_down takes all ifaces down, but only if they are not ignored,
1272 /* Take all ifaces down (do not skip ignored) */ in ZTEST()
1276 /* Verify all ifaces are down */ in ZTEST()
1277 zassert_false(net_if_is_admin_up(ifa1), "All ifaces should be admin-down."); in ZTEST()
1278 zassert_false(net_if_is_admin_up(ifa2), "All ifaces should be admin-down."); in ZTEST()
1279 zassert_false(net_if_is_admin_up(ifb), "All ifaces should be admin-down."); in ZTEST()
1280 zassert_false(net_if_is_admin_up(ifni), "All ifaces should be admin-down."); in ZTEST()
1281 zassert_false(net_if_is_admin_up(ifnull), "All ifaces should be admin-down."); in ZTEST()
1282 zassert_false(net_if_is_admin_up(ifnone), "All ifaces should be admin-down."); in ZTEST()
1293 /* Take all ifaces down (skip ignored) */ in ZTEST()
1297 /* Verify that all except the ignored iface is down */ in ZTEST()
1298 zassert_false(net_if_is_admin_up(ifa2), "All non-ignored ifaces should be admin-down."); in ZTEST()
1299 zassert_false(net_if_is_admin_up(ifb), "All non-ignored ifaces should be admin-down."); in ZTEST()
1300 zassert_false(net_if_is_admin_up(ifni), "All non-ignored ifaces should be admin-down."); in ZTEST()
1301 zassert_false(net_if_is_admin_up(ifnull), "All non-ignored ifaces should be admin-down."); in ZTEST()
1302 zassert_false(net_if_is_admin_up(ifnone), "All non-ignored ifaces should be admin-down."); in ZTEST()
1407 /* Take all ifaces down twice in a row */ in ZTEST()
1419 /* Verify all ifaces are down */ in ZTEST()
1420 zassert_false(net_if_is_admin_up(ifa1), "All ifaces should be admin-down."); in ZTEST()
1421 zassert_false(net_if_is_admin_up(ifa2), "All ifaces should be admin-down."); in ZTEST()
1422 zassert_false(net_if_is_admin_up(ifb), "All ifaces should be admin-down."); in ZTEST()
1423 zassert_false(net_if_is_admin_up(ifni), "All ifaces should be admin-down."); in ZTEST()
1424 zassert_false(net_if_is_admin_up(ifnull), "All ifaces should be admin-down."); in ZTEST()
1425 zassert_false(net_if_is_admin_up(ifnone), "All ifaces should be admin-down."); in ZTEST()