[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread Toke Høiland-Jørgensen
Also, note that as a general point, a fe80:: address is not well-defined without the interface (as link-local addresses are always link-scoped with the same subnet for IPv6). So anytime you use such an address, you should be including the %devname bit... -- You are receiving this because you a

[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread Toke Høiland-Jørgensen
j-breyer ***@***.***> writes: > I found another workaround by setting up non-scoped IPv6 addresses on the > hosts (e.g., `a::601` and `a::e02`). > Then I added them to `/etc/hosts` with a related hostname, e.g., `a::601 > mn.h1` and `a::e02 mn.h2` > > Running now `sudo flent rrul -p all_scaled -

[Flent-users] Re: [tohojo/flent] runners: Bracket IPv6 addresses before passing to irtt (#239)

2021-09-29 Thread Toke Høiland-Jørgensen
@tohojo requested changes on this pull request. > @@ -1682,7 +1683,13 @@ def check(self): if self.ip_version is not None: args.append("-{}".format(self.ip_version)) -args.append(self.host) +try: +ipaddress.IPv6Address(self.h

[Flent-users] Re: [tohojo/flent] Questions (and Error) regarding rrul_prio (#240)

2021-09-29 Thread Toke Høiland-Jørgensen
j-breyer ***@***.***> writes: > Hi! I'm currently trying a couple different tests provided in flent, and > stumbled across the `rrul_prio` test. > > Firstly, I'm curious as to what the labels `BE`, `BE2`, `BE3` and > `BE4` stand for - I suppose, the BE should be Best Effort(?) Yeah; those would

[Flent-users] [tohojo/flent] Questions (and Error) regarding rrul_prio (#240)

2021-09-29 Thread j-breyer
Hi! I'm currently trying a couple different tests provided in flent, and stumbled across the `rrul_prio` test. Firstly, I'm curious as to what the labels `BE`, `BE2`, `BE3` and `BE4` stand for - I suppose, the BE should be Best Effort(?) And for the ping section - the difference between `BE1` an

[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread j-breyer
I found another workaround by setting up non-scoped IPv6 addresses on the hosts (e.g., `a::601` and `a::e02`). Then I added them to `/etc/hosts` with a related hostname, e.g., `a::601 mn.h1` and `a::e02 mn.h2` Running now `sudo flent rrul -p all_scaled -6 --local-bind mn.h1 -l 60 -H mn.h2 -o rr

[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread Pete Heist
The proposed fix is in pull request #239. I tested an rrul test briefly and successfully passed in a link local IPv6 address containing a scope (%dev), so that should work at least as far as irtt is concerned. -- You are receiving this because you are subscribed to this thread. Reply to this e

[Flent-users] [tohojo/flent] runners: Bracket IPv6 addresses before passing to irtt (#239)

2021-09-29 Thread Pete Heist
irtt currently only accepts IPv6 addresses surrounded by brackets. If the host contains an IPv6 address literal (as identified by ipaddress.IPv6Address), surround the host with brackets before passing to irtt. This should address #238. You can view, comment on, or merge this pull request online at

[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread j-breyer
>Perhaps a workaround would be to detect IPv6 addresses using Python's >ipaddress module and surround it with brackets if necessary before passing it >to irtt? I could add that to flent at some point if so... That'd be very helpful for the moment! I am also having troubles with other tests, e.g.

[Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)

2021-09-29 Thread Pete Heist
Hi, I guess that creates a bit of a hassle on the flent side as it needs to know the address type in order to surround it with brackets. It comes from Go's requirement for brackets around IPv6 address literals in net.Dial(). I added an issue for irtt, but I don't know if/when that will ever get