Lines Matching refs:r1
73 r1 = wpan.Node() variable
86 r1.form("prefix-route")
88 r1.allowlist_node(r2)
89 r2.allowlist_node(r1)
90 r2.join_node(r1, wpan.JOIN_TYPE_ROUTER)
121 verify(r1.get(wpan.WPAN_DAEMON_ON_MESH_PREFIX_AUTO_ADD_AS_INTERFACE_ROUTE) == 'true')
123 r1.set(wpan.WPAN_DAEMON_OFF_MESH_ROUTE_AUTO_ADD_ON_INTERFACE, 'false')
124 verify(r1.get(wpan.WPAN_DAEMON_OFF_MESH_ROUTE_AUTO_ADD_ON_INTERFACE) == 'false')
135 verify_interface_routes(r1, [(PREFIX1, LEN1, MEDIUM_METRIC), (PREFIX2, LEN2, MEDIUM_METRIC)])
149 verify_interface_routes(r1, [])
157 r1.add_ip6_address_on_interface(ADDRESS1, prefix_len=LEN1)
162 verify_interface_routes(r1, [(PREFIX1, LEN1, MEDIUM_METRIC)])
167 r1.remove_ip6_address_on_interface(ADDRESS1, prefix_len=LEN1)
177 r1.set(wpan.WPAN_DAEMON_OFF_MESH_ROUTE_AUTO_ADD_ON_INTERFACE, 'true')
178 verify(r1.get(wpan.WPAN_DAEMON_OFF_MESH_ROUTE_AUTO_ADD_ON_INTERFACE) == 'true')
182 r1.add_prefix(PREFIX3, prefix_len=LEN3, on_mesh=True, slaac=False)
187 verify_interface_routes(r1, route_list)
193 r1.remove_prefix(PREFIX3, prefix_len=LEN3)
197 verify_interface_routes(r1, [(ROUTE4, LEN4, MEDIUM_METRIC)])
205 r1.set(wpan.WPAN_DAEMON_ON_MESH_PREFIX_AUTO_ADD_AS_INTERFACE_ROUTE, 'false')
206 verify(r1.get(wpan.WPAN_DAEMON_ON_MESH_PREFIX_AUTO_ADD_AS_INTERFACE_ROUTE) == 'false')
208 r1.add_prefix(PREFIX3, prefix_len=LEN3, on_mesh=True, slaac=False)