Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools netem show produces some interfaces twice in the show report #1849

Open
hellt opened this issue Jan 31, 2024 · 2 comments
Open

tools netem show produces some interfaces twice in the show report #1849

hellt opened this issue Jan 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hellt
Copy link
Member

hellt commented Jan 31, 2024

[root@wiso-clab-france lab]# /usr/bin/containerlab tools netem set -n clab-france-toulouse -i eth2 --delay 1000ms --jitter 0ms --rate 0 --loss 0
+-----------+-------+--------+-------------+-------------+
| Interface | Delay | Jitter | Packet Loss | Rate (kbit) |
+-----------+-------+--------+-------------+-------------+
| eth2      | 1s    | 0s     | 0.00%       |           0 |
+-----------+-------+--------+-------------+-------------+


[root@wiso-clab-france lab]# /usr/bin/containerlab tools netem show -n clab-france-toulouse
+-----------+-------+--------+-------------+-------------+
| Interface | Delay | Jitter | Packet Loss | Rate (kbit) |
+-----------+-------+--------+-------------+-------------+
| lo        | N/A   | N/A    | N/A         | N/A         |
| eth0      | N/A   | N/A    | N/A         | N/A         |
| eth2      | 1s    | 0s     | 0.00%       |           0 |
| eth2      | N/A   | N/A    | N/A         | N/A         |
| eth4      | N/A   | N/A    | N/A         | N/A         |
| eth4      | N/A   | N/A    | N/A         | N/A         |
| eth5      | N/A   | N/A    | N/A         | N/A         |
| eth5      | N/A   | N/A    | N/A         | N/A         |
| br-mgmt   | N/A   | N/A    | N/A         | N/A         |
| eth3      | N/A   | N/A    | N/A         | N/A         |
| eth3      | N/A   | N/A    | N/A         | N/A         |
| eth1      | N/A   | N/A    | N/A         | N/A         |
| eth1      | N/A   | N/A    | N/A         | N/A         |
| tap0      | N/A   | N/A    | N/A         | N/A         |
| tap1      | N/A   | N/A    | N/A         | N/A         |
| tap1      | N/A   | N/A    | N/A         | N/A         |
| tap2      | N/A   | N/A    | N/A         | N/A         |
| tap2      | N/A   | N/A    | N/A         | N/A         |
| tap3      | N/A   | N/A    | N/A         | N/A         |
| tap3      | N/A   | N/A    | N/A         | N/A         |
| tap4      | N/A   | N/A    | N/A         | N/A         |
| tap4      | N/A   | N/A    | N/A         | N/A         |
| tap5      | N/A   | N/A    | N/A         | N/A         |
| tap5      | N/A   | N/A    | N/A         | N/A         |
+-----------+-------+--------+-------------+-------------+

all interfaces appear two times for some reason

@hellt hellt added the bug Something isn't working label Jan 31, 2024
@jkary
Copy link

jkary commented Nov 19, 2024

@hellt can you provide the topology file? I am not seeing this issue:

root@jkary-lnx01:/tmp/test_graph# /home/jkary/go/bin/containerlab tools netem show -n clab-eos_mlag-ceos2
+-----------+-------+--------+-------------+-------------+
| Interface | Delay | Jitter | Packet Loss | Rate (kbit) |
+-----------+-------+--------+-------------+-------------+
| lo        | N/A   | N/A    | N/A         | N/A         |
| eth0      | N/A   | N/A    | N/A         | N/A         |
| eth46     | N/A   | N/A    | N/A         | N/A         |
| eth47     | N/A   | N/A    | N/A         | N/A         |
| eth48     | N/A   | N/A    | N/A         | N/A         |
| cpu       | N/A   | N/A    | N/A         | N/A         |
| fabric    | N/A   | N/A    | N/A         | N/A         |
| fabric1   | N/A   | N/A    | N/A         | N/A         |
| fabric2   | N/A   | N/A    | N/A         | N/A         |
| fabric3   | N/A   | N/A    | N/A         | N/A         |
| fwd0      | N/A   | N/A    | N/A         | N/A         |
| mirror0   | N/A   | N/A    | N/A         | N/A         |
| mirror1   | N/A   | N/A    | N/A         | N/A         |
| mirror2   | N/A   | N/A    | N/A         | N/A         |
| mirror3   | N/A   | N/A    | N/A         | N/A         |
| arpsnoop  | N/A   | N/A    | N/A         | N/A         |
| arpinject | N/A   | N/A    | N/A         | N/A         |
+-----------+-------+--------+-------------+-------------+

@hellt
Copy link
Member Author

hellt commented Nov 19, 2024

Mm,I think I reproduced it with a basic one. But I will have to check. It was not 100% reproducible, so I had to run the show command more than once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants