Page MenuHomeVyOS Platform

vyatta-cfgProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

This package has the Vyatta configuration system, including the configuration
back-end, the base configuration templates, and the config-mode CLI completion
mechanism.

Recent Activity

Mon, Sep 16

dmbaturin placed T4394: Improve VYOS_DEBUG profiling support up for grabs.
Mon, Sep 16, 3:53 PM · VyOS 1.5 Circinus, vyatta-cfg

May 3 2024

Viacheslav added a parent task for T4394: Improve VYOS_DEBUG profiling support: T6302: The root task for bugs and improvements related to commit time and boot.
May 3 2024, 12:44 PM · VyOS 1.5 Circinus, vyatta-cfg

Apr 12 2024

dmbaturin edited projects for T4394: Improve VYOS_DEBUG profiling support, added: VyOS 1.5 Circinus; removed VyOS 1.4 Sagitta.
Apr 12 2024, 12:13 PM · VyOS 1.5 Circinus, vyatta-cfg

Jan 9 2024

dmbaturin triaged T4394: Improve VYOS_DEBUG profiling support as High priority.
Jan 9 2024, 8:53 PM · VyOS 1.5 Circinus, vyatta-cfg

Jul 20 2022

daniil closed T4056: Traffic policy not set in live configuration as Resolved.
Jul 20 2022, 3:45 PM · vyatta-cfg, VyOS 1.4 Sagitta
Viacheslav added a comment to T4056: Traffic policy not set in live configuration.

@daniil Could you re-check it?

Jul 20 2022, 3:44 PM · vyatta-cfg, VyOS 1.4 Sagitta

Jul 14 2022

daniil added a comment to T4056: Traffic policy not set in live configuration.

PR https://github.com/vyos/vyos-1x/pull/1413

Jul 14 2022, 2:21 PM · vyatta-cfg, VyOS 1.4 Sagitta
daniil added a comment to T4056: Traffic policy not set in live configuration.

I propose a patch to fix this issue:

Jul 14 2022, 2:11 PM · vyatta-cfg, VyOS 1.4 Sagitta
daniil reopened T4056: Traffic policy not set in live configuration as "Open".

Similar problem in the latest rolling releases (vyos-1.4-rolling-202207111030). Traffic policy (limiter) not set in live configuration.

Jul 14 2022, 1:45 PM · vyatta-cfg, VyOS 1.4 Sagitta

Jun 21 2022

v.huti updated subscribers of T4394: Improve VYOS_DEBUG profiling support.

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"
Jun 21 2022, 10:49 PM · VyOS 1.5 Circinus, vyatta-cfg
v.huti added a comment to T4394: Improve VYOS_DEBUG profiling support.

Analysis:

I have collected the profiling data for the following configurations:

Jun 21 2022, 10:48 PM · VyOS 1.5 Circinus, vyatta-cfg
v.huti added a comment to T4394: Improve VYOS_DEBUG profiling support.

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
Jun 21 2022, 10:47 PM · VyOS 1.5 Circinus, vyatta-cfg
v.huti added a comment to T4394: Improve VYOS_DEBUG profiling support.
NOTE: by default, the perf binary is not installed on the ISO image.
Jun 21 2022, 10:45 PM · VyOS 1.5 Circinus, vyatta-cfg

May 2 2022

v.huti added a comment to T4394: Improve VYOS_DEBUG profiling support.

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.

May 2 2022, 8:55 AM · VyOS 1.5 Circinus, vyatta-cfg

Apr 25 2022

v.huti claimed T4394: Improve VYOS_DEBUG profiling support.
Apr 25 2022, 2:45 PM · VyOS 1.5 Circinus, vyatta-cfg
v.huti updated the task description for T4394: Improve VYOS_DEBUG profiling support.
Apr 25 2022, 6:50 AM · VyOS 1.5 Circinus, vyatta-cfg
v.huti updated the task description for T4394: Improve VYOS_DEBUG profiling support.
Apr 25 2022, 6:40 AM · VyOS 1.5 Circinus, vyatta-cfg
v.huti updated the task description for T4394: Improve VYOS_DEBUG profiling support.
Apr 25 2022, 6:39 AM · VyOS 1.5 Circinus, vyatta-cfg
v.huti created T4394: Improve VYOS_DEBUG profiling support.
Apr 25 2022, 6:35 AM · VyOS 1.5 Circinus, vyatta-cfg

Jan 27 2022

sarthurdev closed T3495: Modernising port/protocol definitions as Resolved.

The new firewall niw has no such restrictions on port definitions, going to close this as resolved.

Jan 27 2022, 3:25 PM · vyatta-cfg, VyOS 1.4 Sagitta

Dec 22 2021

Viacheslav closed T4056: Traffic policy not set in live configuration as Resolved.
Dec 22 2021, 2:13 PM · vyatta-cfg, VyOS 1.4 Sagitta
daniil added a comment to T4056: Traffic policy not set in live configuration.

Thank you, problem solved!

Dec 22 2021, 1:59 PM · vyatta-cfg, VyOS 1.4 Sagitta

Dec 21 2021

Viacheslav added a comment to T4056: Traffic policy not set in live configuration.

PR https://github.com/vyos/vyos-1x/pull/1117

Dec 21 2021, 9:59 PM · vyatta-cfg, VyOS 1.4 Sagitta
Viacheslav added a comment to T4056: Traffic policy not set in live configuration.

@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
Dec 21 2021, 9:20 PM · vyatta-cfg, VyOS 1.4 Sagitta
daniil added a comment to T4056: Traffic policy not set in live configuration.
# show traffic-policy 
 limiter 1G {
     default {
         bandwidth 1gbit
         burst 188kb
     }
}
Dec 21 2021, 4:09 PM · vyatta-cfg, VyOS 1.4 Sagitta
Viacheslav added a comment to T4056: Traffic policy not set in live configuration.

@daniil Can you share an example of traffic-policy 1G?

Dec 21 2021, 3:59 PM · vyatta-cfg, VyOS 1.4 Sagitta

Dec 6 2021

daniil created T4056: Traffic policy not set in live configuration.
Dec 6 2021, 1:02 PM · vyatta-cfg, VyOS 1.4 Sagitta

Apr 25 2021

c-po added a parent task for T3495: Modernising port/protocol definitions: T2199: Rewrite firewall in new XML/Python style.
Apr 25 2021, 9:44 AM · vyatta-cfg, VyOS 1.4 Sagitta

Apr 24 2021

FileGo created T3495: Modernising port/protocol definitions.
Apr 24 2021, 2:23 PM · vyatta-cfg, VyOS 1.4 Sagitta

Oct 27 2018

Maetthi created T942: L2TPv3 interface configuration is not loaded after reboot with a configuration error.
Oct 27 2018, 9:32 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

Jul 24 2017

syncer created vyatta-cfg.
Jul 24 2017, 6:26 PM