This package has the Vyatta configuration system, including the configuration
back-end, the base configuration templates, and the config-mode CLI completion
mechanism.
Details
Mon, Sep 16
May 3 2024
Apr 12 2024
Jan 9 2024
Jul 20 2022
@daniil Could you re-check it?
Jul 14 2022
I propose a patch to fix this issue:
Similar problem in the latest rolling releases (vyos-1.4-rolling-202207111030). Traffic policy (limiter) not set in live configuration.
Jun 21 2022
Memray:
In order to keep useful tracing/debugging tooling in a single place, the @jestabro has created the repo:
https://github.com/jestabro/profiling-tools
Since there is no vyatta package yet, you need to either compile it by hand or install it from the apt
as explained before. Some examples to play around with:
# NOTE: I had to downgrade this package to resolve the installation conflict # sudo apt-get install python3-pkg-resources=45.2.0-1 sudo apt-get install python3-pip sudo python3 -m pip install memray PATH+=":/home/vyos/.local/bin"
Analysis:
I have collected the profiling data for the following configurations:
Gotchas:
If you are running a small QEMU device and it has run out of the memory, the scenario is following:
- The boot process has failed, the prompt is stuck, bash is not initialized - You reboot the device, it tries to read the config, fails once again as there is no free memory - Config was not loaded, you cannot log in; it is a loop
May 2 2022
There was some effort to introduce profiling into the system before, but nothing was developed.
The ticket was opened to verify that the timing values displayed in /var/log/vyatta are correct.
The vyos-debug flag enables tracing for actions described in the templates.
This will be a step-by-step walkthrough of the system profiling, as I have found this to have a bunch of non-obvious technical nuances that might get you stuck.
Apr 25 2022
Jan 27 2022
The new firewall niw has no such restrictions on port definitions, going to close this as resolved.
Dec 22 2021
Thank you, problem solved!
Dec 21 2021
@daniil can you edit one file?
sudo nano -c +1308 /usr/lib/python3/dist-packages/vyos/ifconfig/interface.py
And replace string:
if not 'redirect' in self._config:
To string:
if not 'redirect' in self._config and not 'traffic_policy' in self._config:
save and reboot the router or just restart vyos-configd
sudo systemctl restart vyos-configd
# show traffic-policy limiter 1G { default { bandwidth 1gbit burst 188kb } }
@daniil Can you share an example of traffic-policy 1G?