Lines Matching refs:gws
53 def test_rtm_multipath4(self, gws): argument
55 self._test_rtm_multipath(gws, "192.0.2")
85 def test_rtm_multipath6(self, gws): argument
87 self._test_rtm_multipath(gws, "2001:db8:")
89 def _test_rtm_multipath(self, gws, gw_prefix: str): argument
91 for gw_act in gws:
135 gws = ["192.0.2.10", "192.0.2.11", "192.0.2.11"]
136 self._test_rtm_multipath_add_same_eexist(gws)
141 gws = ["2001:db8::10", "2001:db8::11", "2001:db8::11"]
142 self._test_rtm_multipath_add_same_eexist(gws)
144 def _test_rtm_multipath_add_same_eexist(self, gws): argument
145 for idx, gw in enumerate(gws):
158 gws = ["192.0.2.10", "192.0.2.11"]
159 self._test_rtm_multipath_del_unknown_esrch(gws, "192.0.2.7")
164 gws = ["2001:db8::10", "2001:db8::11"]
165 self._test_rtm_multipath_del_unknown_esrch(gws, "2001:db8::7")
168 def _test_rtm_multipath_del_unknown_esrch(self, gws, target_gw): argument
169 for gw in gws:
183 gws = ["192.0.2.10", "192.0.2.11"]
184 self._test_rtm_multipath_change_unknown_esrch(gws, "192.0.2.7")
189 gws = ["2001:db8::10", "2001:db8::11"]
190 self._test_rtm_multipath_change_unknown_esrch(gws, "2001:db8::7")
193 def _test_rtm_multipath_change_unknown_esrch(self, gws, target_gw): argument
194 for gw in gws:
225 gws = ["192.0.2.10", "192.0.2.11", "192.0.2.13"]
226 return self._test_rtm_multipath_getroute(gws)
231 gws = ["2001:db8::10", "2001:db8::11", "2001:db8::13"]
232 return self._test_rtm_multipath_getroute(gws)
234 def _test_rtm_multipath_getroute(self, gws): argument
236 for gw in gws: