Lines Matching full:be

281  * this will be called twice by the test suites for each combination of iface type (except
297 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
306 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
308 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
309 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ready_ifaces()
318 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
327 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
336 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ready_ifaces()
338 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ready_ifaces()
339 zassert_equal(stats.dconn_iface_gen, ifb, "ifb should be blamed."); in cycle_ready_ifaces()
373 * Wait for the DAD delay since IPv6 connected events might be delayed by this amount. in cycle_ignored_iface()
379 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
381 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
383 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
392 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
394 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
396 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
408 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
410 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
412 "NET_EVENT_L4_IPV6_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
414 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
416 "NET_EVENT_L4_IPV4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
418 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
419 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
420 zassert_equal(stats.conn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
421 zassert_equal(stats.conn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
430 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
432 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
434 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
443 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
445 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
447 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
459 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
461 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
463 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
465 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
467 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
469 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
470 zassert_equal(stats.dconn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
471 zassert_equal(stats.dconn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
472 zassert_equal(stats.dconn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
484 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
486 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
488 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
500 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
502 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
504 "NET_EVENT_L4_IPV6_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
506 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
508 "NET_EVENT_L4_IPV4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
510 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired when connectivity is gained."); in cycle_ignored_iface()
511 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
512 zassert_equal(stats.conn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
513 zassert_equal(stats.conn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
522 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
524 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
526 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
536 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
538 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
540 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
552 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
554 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
556 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
558 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
560 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
562 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired when connectivity is lost."); in cycle_ignored_iface()
563 zassert_equal(stats.dconn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
564 zassert_equal(stats.dconn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
565 zassert_equal(stats.dconn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
574 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
576 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
578 "No events should be fired if connectivity availability did not change."); in cycle_ignored_iface()
590 * Ifaces can be in one of four states that are relevant to L4 readiness:
609 * This is slightly complicated by the fact that ifaces can be assigned multiple IPs, and multiple
629 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
643 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
645 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
647 "NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
650 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
653 "No IPv6 events should be fired when IPv4 connectivity is gained."); in cycle_iface_states()
654 zassert_equal(stats.conn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
655 zassert_equal(stats.conn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
664 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
666 "NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
669 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
672 "No IPv4 events should be fired when IPv6 connectivity is gained."); in cycle_iface_states()
673 zassert_equal(stats.conn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
686 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
688 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
690 "NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
693 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
696 "No IPv4 events should be fired when IPv6 connectivity is gained."); in cycle_iface_states()
697 zassert_equal(stats.conn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
698 zassert_equal(stats.conn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
707 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
709 "NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
712 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
715 "No IPv6 events should be fired when IPv4 connectivity is gained."); in cycle_iface_states()
716 zassert_equal(stats.conn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
731 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
733 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
736 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
739 "No IPv6 events should be fired when IPv4 connectivity is gained."); in cycle_iface_states()
740 zassert_equal(stats.dconn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
752 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_iface_states()
754 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity " in cycle_iface_states()
757 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
760 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
763 "No IPv4 events should be fired when IPv6 connectivity is gained."); in cycle_iface_states()
765 zassert_equal(stats.dconn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
766 zassert_equal(stats.dconn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
778 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
780 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
783 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
786 "No IPv4 events should be fired when IPv6 connectivity is gained."); in cycle_iface_states()
787 zassert_equal(stats.dconn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
799 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_iface_states()
801 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity " in cycle_iface_states()
804 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
807 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
810 "No IPv6 events should be fired when IPv4 connectivity is gained."); in cycle_iface_states()
811 zassert_equal(stats.dconn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
812 zassert_equal(stats.dconn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
826 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
828 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
830 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
854 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
856 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
858 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
872 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
874 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_iface_states()
876 "NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
879 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired when IPv4 " in cycle_iface_states()
882 "NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
885 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired when IPv6 " in cycle_iface_states()
887 zassert_equal(stats.conn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
888 zassert_equal(stats.conn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
889 zassert_equal(stats.conn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
903 "NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_iface_states()
905 "Only NET_EVENT_L4_DISCONNECTED should be fired when connectivity is lost."); in cycle_iface_states()
907 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
910 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired when IPv4 " in cycle_iface_states()
913 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
916 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired when IPv6 " in cycle_iface_states()
918 zassert_equal(stats.dconn_iface_gen, iface, "The test iface should be blamed."); in cycle_iface_states()
919 zassert_equal(stats.dconn_iface_ipv4, iface, "The test iface should be blamed."); in cycle_iface_states()
920 zassert_equal(stats.dconn_iface_ipv6, iface, "The test iface should be blamed."); in cycle_iface_states()
946 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
948 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
950 "No events should be fired if connectivity availability did not change."); in cycle_iface_states()
986 /* Make sure that a simple iface can be successfully ignored without interfering with the events
994 /* Make sure that a connectivity-enabled iface can be successfully ignored without interfering
1002 /* Make sure that a connectivity-enabled iface can be successfully ignored without interfering
1010 /* Make sure that a simple iface can be successfully ignored without interfering
1036 "No events should be fired before DAD success."); in ZTEST()
1042 "NET_EVENT_L4_CONNECTED should be fired after DAD success."); in ZTEST()
1062 "No events should be fired if connecting iface is ignored."); in ZTEST()
1064 "No events should be fired if connecting iface is ignored."); in ZTEST()
1066 "No events should be fired if connecting iface is ignored."); in ZTEST()
1078 "NET_EVENT_L4_CONNECTED should be fired when online iface is watched."); in ZTEST()
1080 "Only NET_EVENT_L4_CONNECTED should be fired."); in ZTEST()
1082 "NET_EVENT_L4_IPV4_CONNECTED should be fired when online iface is watched."); in ZTEST()
1084 "Only NET_EVENT_L4_IPV4_CONNECTED should be fired."); in ZTEST()
1086 "NET_EVENT_L4_IPV6_CONNECTED should be fired when online iface is watched."); in ZTEST()
1088 "Only NET_EVENT_L4_IPV6_CONNECTED should be fired."); in ZTEST()
1089 zassert_equal(stats.conn_iface_gen, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1090 zassert_equal(stats.conn_iface_ipv4, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1091 zassert_equal(stats.conn_iface_ipv6, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1104 "NET_EVENT_L4_DISCONNECTED should be fired when online iface is ignored."); in ZTEST()
1106 "Only NET_EVENT_L4_DISCONNECTED should be fired."); in ZTEST()
1108 "NET_EVENT_L4_IPV4_DISCONNECTED should be fired when online iface is ignored."); in ZTEST()
1110 "Only NET_EVENT_L4_IPV4_DISCONNECTED should be fired."); in ZTEST()
1112 "NET_EVENT_L4_IPV6_DISCONNECTED should be fired when online iface is ignored."); in ZTEST()
1114 "Only NET_EVENT_L4_IPV6_DISCONNECTED should be fired."); in ZTEST()
1115 zassert_equal(stats.dconn_iface_gen, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1116 zassert_equal(stats.dconn_iface_ipv4, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1117 zassert_equal(stats.dconn_iface_ipv6, if_simp_a, "if_simp_a should be blamed"); in ZTEST()
1126 "No events should be fired if disconnecting iface is ignored."); in ZTEST()
1128 "No events should be fired if disconnecting iface is ignored."); in ZTEST()
1130 "No events should be fired if disconnecting iface is ignored."); in ZTEST()
1139 "if_simp_a should be ignored."); in ZTEST()
1141 "if_simp_b should not be affected."); in ZTEST()
1146 "if_simp_b should be ignored."); in ZTEST()
1148 "if_simp_a should not be affected."); in ZTEST()
1153 "if_simp_a should be watched."); in ZTEST()
1155 "if_simp_b should not be affected."); in ZTEST()
1160 "if_simp_b should be watched."); in ZTEST()
1162 "if_simp_a should not be affected."); in ZTEST()
1167 "All DUMMY_L2 ifaces should be ignored."); in ZTEST()
1169 "All DUMMY_L2 ifaces should be ignored."); in ZTEST()
1171 "All DUMMY_L2 ifaces should be ignored."); in ZTEST()
1173 "All DUMMY_L2 ifaces should be ignored."); in ZTEST()
1175 "if_dummy_eth should not be affected."); in ZTEST()
1180 "All DUMMY_L2 ifaces should be watched."); in ZTEST()
1182 "All DUMMY_L2 ifaces should be watched."); in ZTEST()
1184 "All DUMMY_L2 ifaces should be watched."); in ZTEST()
1186 "All DUMMY_L2 ifaces should be watched."); in ZTEST()
1188 "if_dummy_eth should not be affected."); in ZTEST()