You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
Creating a limitation is successful then I delete the rule with the id and want afterwards create a rule again fails with following output:
tcset p2p4 --rate 480000000bps --direction incoming
[WARNING] failed to add ip link: ip link already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': ingress qdisc already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': qdisc already exists (dev ifb5899, handle=170b:, algo=htb). try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
Expected behavior
A clear and concise description of what you expected to happen.
the second add command should be possible, because tcshow is showing:
{
"p2p4": {
"outgoing": {},
"incoming": {}
}
}
tcset p2p4 --rate 480000000bps --direction incoming
[WARNING] failed to add ip link: ip link already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': ingress qdisc already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': qdisc already exists (dev ifb5899, handle=170b:, algo=htb). try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Creating a limitation is successful then I delete the rule with the id and want afterwards create a rule again fails with following output:
tcset p2p4 --rate 480000000bps --direction incoming
[WARNING] failed to add ip link: ip link already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': ingress qdisc already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': qdisc already exists (dev ifb5899, handle=170b:, algo=htb). try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
Expected behavior
A clear and concise description of what you expected to happen.
the second add command should be possible, because tcshow is showing:
{
"p2p4": {
"outgoing": {},
"incoming": {}
}
}
To Reproduce
Steps to reproduce the behavior:
Environments
Please execute the following command and past the output:
Environment: Centos 7 (2003)
Kernel: Linux 3.10.0-1127.19.1.el7.x86_64
tcconfig: 0.26.0
and complete the following information:
pip3
Additional context
Add any other context (logs, error output, etc.) about the problem here.
tcset p2p4 --rate 480000000bps --direction incoming
tcshow
usage: tcshow [-h] [-V] [--tc-command | --tc-script] [--debug | --quiet]
[--debug-query] [--stacktrace] [--ipv6] [--docker] [--color]
[--export EXPORT_PATH] [--exclude-filter-id]
[--dump-db DUMP_DB_PATH]
device [device ...]
tcshow: error: the following arguments are required: device
tcshow p2p4
{
"p2p4": {
"outgoing": {},
"incoming": {
"protocol=ip": {
"filter_id": "800::800",
"rate": "480Mbps"
}
}
}
}
tcdel p2p4 --id 800::800 --direction incoming
[INFO] delete a shaping rule: {'device': 'ifb5899', 'filter_id': '800::800', 'flowid': '170b:2', 'protocol': 'ip', 'priority': 5, 'src-network': '0.0.0.0/0', 'dst-network': '0.0.0.0/0'}
tcshow p2p4
{
"p2p4": {
"outgoing": {},
"incoming": {}
}
}
tcset p2p4 --rate 480000000bps --direction incoming
[WARNING] failed to add ip link: ip link already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': ingress qdisc already exists. try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
[WARNING] failed to '/usr/sbin/tc qdisc add': qdisc already exists (dev ifb5899, handle=170b:, algo=htb). try to execute with:
(a) --overwrite option if you want to overwrite the existing rule.
(b) --add option if you want to add a new rule in addition to the existing rules.
(c) --change option if you want to change the existing rule parameter.
The text was updated successfully, but these errors were encountered: