Page MenuHomeVyOS Platform
Feed All Stories

May 9 2020

jjakob added a comment to T2404: Cannot change MTU.

Hmm, another thing - how about hot-pluggable ethernet cards? They could be USB, or in the enterprise world servers that support PCIe hot-plug could have ethernet cards swapped on-the-fly. I'm thinking the MTU detector script would need to be executed via udev rules on 'add' events.

May 9 2020, 12:28 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2431: Python validators are slow.

Comparison of the numeric validator:

$ time sudo sh -c 'for ((n=0;n<1000;n++)); do /usr/libexec/vyos/validators/numeric 1; done'
May 9 2020, 12:13 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2431: Python validators are slow.

New tests with the OCaml validate-value (same machine as above)

$ time sudo sh -c 'for ((n=0;n<1000;n++)); do ipaddrcheck --is-any-net "192.0.2.1/24"; done'
May 9 2020, 12:07 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

My suggestion: if you do a MTU suggestor/validation should be a tool optional outsite configure

May 9 2020, 12:02 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob updated subscribers of T2434: Duplicate Address Detection Breaks Interfaces.

This is an issue with the new OCaml validator 29dee3abb55d0f0c6b91b311f30521b45d7e46b6 @dmbaturin

May 9 2020, 11:20 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob changed the status of T2434: Duplicate Address Detection Breaks Interfaces from Open to Confirmed.

Reproduced with 1.3-rolling-202005090117

May 9 2020, 11:05 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) claimed T377: DHCP-relay agent package replacement.
May 9 2020, 10:21 AM · Restricted Project, VyOS Rolling
Unknown Object (User) claimed T1978: dhcp-relay doesn't need multiple interfaces.
May 9 2020, 10:15 AM · Restricted Project, vyatta-cfg-dhcp-relay
jjakob added a comment to T2249: Interface definitions must always have the correct 'type:' set.

I see the XML format did use to have a way to set 'type', but this was regarded as unimportant and removed. It's very important for the bash completion scripts and needs to be added back.

May 9 2020, 10:15 AM · VyOS Rolling
jjakob renamed T2249: Interface definitions must always have the correct 'type:' set from Correct node types for interface definitions to Interface definitions must always have the correct 'type:' set.
May 9 2020, 10:13 AM · VyOS Rolling
Unknown Object (User) updated subscribers of T1978: dhcp-relay doesn't need multiple interfaces.

@dmbaturin @c-po
Not sure why did we merge these PRs. The isc-dhcp-relay does require at least two interfaces to work. This was discussed in details in T1276 and T2408.
As result the latest documentation is inaccurate what could make users confused.

May 9 2020, 10:13 AM · Restricted Project, vyatta-cfg-dhcp-relay
jjakob raised the priority of T2249: Interface definitions must always have the correct 'type:' set from Low to Normal.
May 9 2020, 10:12 AM · VyOS Rolling
jjakob added a comment to T2366: change the default for Interface creation to False.

I again ran into a situation where it would be nice if create=False were the default, and if we could use the Interface class without creating the physical interface. The bridge member port configuration defaults were previously stored as a dict in interfaces-bridge.py, but as I added a method Interface.add_to_bridge() that all interfaces can call on themselves, I couldn't place the default port config into BridgeIf: when creating a bridge for the first time, the physical interface doesn't exist, but we need to get the member port default config in interfaces-bridge.py get_config() without creating the physical bridge interface (this should only happen in apply()). Thus I had to put it in util.get_bridge_member_config(). If I could call BridgeIf.get_member_config() when the physical interface doesn't exist without creating the physical interface, thet code could be moved from vyos.util into BridgeIf.

May 9 2020, 9:56 AM · VyOS 1.5 Circinus
jjakob removed a parent task for T2416: Do not always delete all bond members when adding new ones: T2409: At boot, effective config should not be equal to current config.
May 9 2020, 9:43 AM · VyOS 1.3 Equuleus (1.3.9), test
jjakob removed a subtask for T2409: At boot, effective config should not be equal to current config: T2416: Do not always delete all bond members when adding new ones.
May 9 2020, 9:43 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a subtask for T2409: At boot, effective config should not be equal to current config: T2416: Do not always delete all bond members when adding new ones.
May 9 2020, 9:41 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a parent task for T2416: Do not always delete all bond members when adding new ones: T2409: At boot, effective config should not be equal to current config.
May 9 2020, 9:41 AM · VyOS 1.3 Equuleus (1.3.9), test
jjakob updated subscribers of T2410: Unify addressing and options of dummy and other interfaces.

Thanks to @thomas-mangin there is now a common function to parse common interface options in configdict.intf_to_dict() and other common functions to get (configtree.add_to_dict()), verify and apply (ifconfig-vlan.py) vif and vif-s/vif-c configuration which simplifies things a lot. It can be used by other interfaces that support those options (all L2 interfaces, and tunnels in L2 mode). Those functions are already used by bonding, bridge, ethernet, pseudo-ethernet and wireless, it wouldn't be much work to add them to other L2-capable interfaces.

May 9 2020, 9:39 AM
jjakob closed T2367: Flush addresses from bridge members as Resolved.
May 9 2020, 9:26 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2415: Make VLAN interfaces subclasses of Interface class, a subtask of T2367: Flush addresses from bridge members, as Invalid.
May 9 2020, 9:25 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2415: Make VLAN interfaces subclasses of Interface class as Invalid.
May 9 2020, 9:25 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2404: Cannot change MTU.

How would the auto-detection work? Go through all the possible MTUs one by one? (a binary search would be way better) I'm not sure how long that would take for systems with lots of interfaces. We also need to then save this limitation somewhere permanent, and read it from the interface code, possibly a custom validator script (the shell completion can't be made dynamic). I guess this would be okay, depending on how much time it would take. The speed would depend on the interface driver. There could be drivers that are very slow, we couldn't test them and people would complain.

May 9 2020, 9:23 AM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2439: Configuration dependency problem, unable to load complex configuration after reboot.

Please test using the latest rolling ISO at https://downloads.vyos.io/?dir=rolling/current/amd64 which has multiple fixes for interfaces included. Also, I still don't understand what the exact issue is. I have a similar configuration here and I have no issues with the image from 20200509.

May 9 2020, 9:09 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2372: VLAN: error on commit if main interface is disabled.

Since the issue is resolved can this be closed?

May 9 2020, 9:04 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2427: Interface addressing broken since fix for T2372 was merged as Resolved.
May 9 2020, 9:03 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2442: Move application of STP settings for bridge members from interfaces-bridge.py to Interface.add_to_bridge() as High priority.
May 9 2020, 9:01 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2241: Changing settings on an interface causes it to fall out of bridge, a subtask of T2171: Unify creation and manipulation of interfaces, from In progress to On hold.
May 9 2020, 8:46 AM · VyOS 1.4 Sagitta
jjakob changed the status of T2241: Changing settings on an interface causes it to fall out of bridge from In progress to On hold.
May 9 2020, 8:46 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2435: Pseudo-ethernet Interfaces Broken as Resolved.
May 9 2020, 8:44 AM · VyOS 1.3 Equuleus (1.3.0)
zsdc changed the status of T2389: BGP community-list unknown command from Open to Confirmed.

The bug is produced because of deleted deprecated option in vtysh. Before FRR 7.3:

root@vyos:/home/vyos# vtysh -c "show ip community-list 10"
This config option is deprecated, and is scheduled for removal.
if you are using this please migrate to the below command.
'show bgp community-list <(1-500)|WORD> detail'
% Can't find community-list

Starting from 7.3:

root@vyos:/home/vyos# vtysh -c "show ip community-list 10"
% Unknown command: show ip community-list 10
May 9 2020, 8:43 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jjakob closed T2438: isc-dhcp-server(6).service reports startup success immediately even if dhcpd fails to start up as Resolved.
May 9 2020, 8:43 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob closed T2432: dhcpd: Can't create new lease file: Permission denied as Resolved.
May 9 2020, 8:40 AM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
Viacheslav added a comment to T2389: BGP community-list unknown command.

In VyOS 1.2.5 the same bug.

May 9 2020, 8:31 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
dmbaturin added a comment to T2267: equuleus: Autogenerating deb package version number for internal packages.

All sounds good to me.

May 9 2020, 6:36 AM

May 8 2020

kroy closed T2441: TZ validator has a parse error as Resolved.
May 8 2020, 10:08 PM · VyOS 1.3 Equuleus (1.3.0)
trae32566 added a comment to T2434: Duplicate Address Detection Breaks Interfaces.

That build was given to me to test in #lobby by Thomas Mangin, so he may be able to tell you more about it if needed.

May 8 2020, 10:07 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
GitHub <noreply@github.com> committed rVYOSONEX4ca0e563861f: Merge pull request #405 from kroy-the-rabbit/patch-1 (authored by dmbaturin).
May 8 2020, 10:04 PM
kroy changed the status of T2441: TZ validator has a parse error from Open to In progress.
May 8 2020, 10:03 PM · VyOS 1.3 Equuleus (1.3.0)
kroy claimed T2441: TZ validator has a parse error.

PR405 corrects this

May 8 2020, 10:03 PM · VyOS 1.3 Equuleus (1.3.0)
kroy created T2441: TZ validator has a parse error.
May 8 2020, 10:02 PM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin committed rVYOSONEX42033d3cc133: Merge branch 'current' of https://github.com/vyos/vyos-1x into current.
May 8 2020, 9:06 PM
dmbaturin committed rVYOSONEX57ad1420ead3: T2431: remove the numeric validator for it now lives in vyos-utils..
May 8 2020, 9:06 PM
c-po committed rVYOSONEXeb94721a996a: validator: T2417: remove src/validators/mac-address.
May 8 2020, 8:51 PM
Unknown Object (User) added a comment to T2440: VyOS on Proxmox.

I forget - I did not observe any disability in router behavior. At least with simple configuration that I tested.
Observed messages may be a bit worrying for users at the very beginning of using VyOS.

May 8 2020, 7:54 PM · VyOS 1.2 Crux
Unknown Object (User) created T2440: VyOS on Proxmox.
May 8 2020, 7:39 PM · VyOS 1.2 Crux
Unknown Object (User) merged T1945: FRR: Committing large number of peers in configuration results in temporarily incomplete config resulting in route leaks into T2215: Make “default no-ipv4-unicast” the default setting.
May 8 2020, 7:09 PM · VyOS 1.3 Equuleus (1.3.6)
Unknown Object (User) merged task T1945: FRR: Committing large number of peers in configuration results in temporarily incomplete config resulting in route leaks into T2215: Make “default no-ipv4-unicast” the default setting.
May 8 2020, 7:09 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T1945: FRR: Committing large number of peers in configuration results in temporarily incomplete config resulting in route leaks.

This can be mitigated by:

  1. add to ALL ipv4 peers "address-family ipv4-unicast" set
May 8 2020, 7:08 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) merged T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied) into T1945: FRR: Committing large number of peers in configuration results in temporarily incomplete config resulting in route leaks.
May 8 2020, 6:41 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) merged task T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied) into T1945: FRR: Committing large number of peers in configuration results in temporarily incomplete config resulting in route leaks.
May 8 2020, 6:41 PM
Unknown Object (User) added a comment to T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).

I confirm that this can be mitigated by:

  1. add to ALL ipv4 peers "address-family ipv4-unicast" set
set protocols bgp xxxxxx neighbor x.x.x.x address-family ipv4-unicast
  1. disable default ipv4 peering
set protocols bgp xxxxxx parameters default no-ipv4-unicast
May 8 2020, 6:40 PM
GitHub <noreply@github.com> committed rVYOSONEX2f2b28347b9a: Merge pull request #395 from thomas-mangin/T2417 (authored by c-po).
May 8 2020, 6:27 PM
GitHub <noreply@github.com> committed rVYOSONEX2c69daf94cbe: Merge pull request #401 from runborg/T2436 (authored by c-po).
May 8 2020, 4:53 PM
c-po committed rVYOSONEX903e576f6be0: Merge branch 'dhcpd-permissions-T2432' of https://github.com/jjakob/vyos-1x….
May 8 2020, 4:52 PM
GitHub <noreply@github.com> committed rVYOSONEXa6a9602551e8: Merge pull request #399 from jjakob/disable-address-fix-T2427 (authored by c-po).
May 8 2020, 4:39 PM
GitHub <noreply@github.com> committed rVYOSONEXb77c470e4470: Merge pull request #398 from jjakob/bridge-fix-T2241 (authored by c-po).
May 8 2020, 4:38 PM
GitHub <noreply@github.com> committed rVYOSONEX088cfcfde416: Merge pull request #402 from jjakob/fix-syntax-T2435 (authored by c-po).
May 8 2020, 4:37 PM
GitHub <noreply@github.com> committed rVYOSONEX991ff167d53a: Merge pull request #404 from jjakob/dhcp-systemd-improve-T2438 (authored by c-po).
May 8 2020, 4:35 PM
jestabro claimed T2409: At boot, effective config should not be equal to current config.

Okay @jjakob, thanks for pinpointing the concern: (quoting from above) 'IMO this should not read config.boot, but return an empty config' --- this is a reasonable position; I will test this modification, along with a consistent change to get_config_dict, and we can discuss.

May 8 2020, 2:54 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2185: Start daemons with systemd units instead of with start-stop-daemon.

I've fixed the service files for isc-dhcp (in T2438), other service files still ned to be moved to Type=forking or a suitable type (notify/dbus...) to fix their behavior, unless they already are.

May 8 2020, 1:39 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2438: isc-dhcp-server(6).service reports startup success immediately even if dhcpd fails to start up.

https://github.com/vyos/vyos-1x/pull/404

May 8 2020, 1:31 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T2439: Configuration dependency problem, unable to load complex configuration after reboot.

After relevant tests, it is highly suspected that the configuration dependency problem can be solved by manually loading the following instructions:

May 8 2020, 1:28 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T2439: Configuration dependency problem, unable to load complex configuration after reboot.

Because the problem is that in the process of loading config.boot after the vyos system is restarted, the configuration dependency of the sequential application configuration is not considered, so the accurate error reporting information cannot be provided. You can use the above configuration structure to reproduce.

May 8 2020, 1:26 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T2439: Configuration dependency problem, unable to load complex configuration after reboot.

Due to configuration dependency, accurate error information cannot be provided, but there is no problem using the following order:

May 8 2020, 1:24 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2439: Configuration dependency problem, unable to load complex configuration after reboot.

202005051136 has multiple issues, there are multiple PRs waiting to be applied on vyos-1x to fix them. You didn't append the exact error messages.

May 8 2020, 12:56 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 triaged T2439: Configuration dependency problem, unable to load complex configuration after reboot as High priority.
May 8 2020, 12:11 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 created T2439: Configuration dependency problem, unable to load complex configuration after reboot.
May 8 2020, 12:10 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 closed T2429: Vyos cannot apply VLAN sub interface to bridge as Resolved.
May 8 2020, 12:06 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2417: Python validator cleanup.

https://github.com/vyos/vyos-1x/pull/395

May 8 2020, 11:51 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin reopened T2417: Python validator cleanup as "In progress".
May 8 2020, 11:50 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2438: isc-dhcp-server(6).service reports startup success immediately even if dhcpd fails to start up from Open to In progress.
May 8 2020, 11:34 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob created T2438: isc-dhcp-server(6).service reports startup success immediately even if dhcpd fails to start up.
May 8 2020, 11:33 AM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) claimed T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).
May 8 2020, 10:54 AM
thomas-mangin created T2437: New Config Code in the library.
May 8 2020, 10:53 AM · VyOS 1.4 Sagitta
syncer added a member for Maintainers: Unknown Object (User).
May 8 2020, 10:53 AM
thomas-mangin added a comment to T2409: At boot, effective config should not be equal to current config.

@jjakob it does nothing about the boot case but it would be much easier to add it to that code than what we do ATM.

May 8 2020, 10:51 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2436: equuleus: Testing: vyos-1x: syntax checking Python scripts in PR.

It seems that github has special rules for the .github file and that no PR can be done for it:
https://github.com/thomas-mangin/vyos-1x/blob/T2436/.github/workflows/pythonapp.yml

May 8 2020, 10:22 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2409: At boot, effective config should not be equal to current config.

@thomas-mangin I saw that and I think it's a good idea, to even make it into a common library we could use from all interface scripts. Does it work correctly on boot however? I see it uses exactly the same config.py methods that I'm talking about above that would return incorrect values on boot. I didn't try it but I'm highly suspecting it doesn't.

May 8 2020, 10:00 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2436: equuleus: Testing: vyos-1x: syntax checking Python scripts in PR.

I would also suggest doing the same using github actions so that on push to your local repository to get a warning from github.

May 8 2020, 9:54 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2372: VLAN: error on commit if main interface is disabled.

Why do we need to remove all addresses from the interface when it is disabled?

May 8 2020, 9:43 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin closed T2417: Python validator cleanup as Resolved.
May 8 2020, 9:42 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2409: At boot, effective config should not be equal to current config.

Can I throw https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/interfaces-tunnel.py#L32 into the mix?

May 8 2020, 9:26 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2436: equuleus: Testing: vyos-1x: syntax checking Python scripts in PR.

The fix for the error for openvpn is already waiting in PR since yesterday, fix for pseudo-ethernet and vxlan will be ready right now.

May 8 2020, 8:19 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2436: equuleus: Testing: vyos-1x: syntax checking Python scripts in PR.

Wouldn't it be better to add it to the vyos-1x Makefile so we could test it ourselves, before committing, making a PR, it being merged, and only then figuring out it's a problem?

May 8 2020, 8:18 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2434: Duplicate Address Detection Breaks Interfaces.

I couldn't reproduce this on my own build I made yesterday, I'll try it with the above ISO

May 8 2020, 8:14 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob changed the status of T2435: Pseudo-ethernet Interfaces Broken from Open to In progress.
May 8 2020, 8:10 AM · VyOS 1.3 Equuleus (1.3.0)
runar created T2436: equuleus: Testing: vyos-1x: syntax checking Python scripts in PR.
May 8 2020, 7:51 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2409: At boot, effective config should not be equal to current config.

I suggest you ignore T2030 for a moment --- I recall discussing that issue with the author, but I think the code comments are leading you astray ... we can return to that later.

You appear to equate active with the saved config file, in your first comment above;

No, I am not equating the active config with the saved config file.

that will be the case, after the boot commit completes, which begs the question: what do mean 'at boot' --- at some point during the boot process (in vyos-router), a config session is initialized, the config file (or a default if first boot after install) is loaded, and committed. Between load and commit during boot, there is no active of effective config defined, nor can you query it without error, as it is meaningless; on the other hand, between load and commit, the proposed config (showConfig --show-working-only) is what you would expect; after commit, one has active/effective == proposed, assuming no error.

This is exactly what I had in mind, but maybe my terminology was inaccurate: between load and the end of the commit, during the commit, we have the proposed config, which can be queried with get_value() etc., and the effective config, which can be queried with get_effective_value() etc.
Currently the interface scripts take the proposed config and apply it, but there are some places where they already compare it with effective config, to see what the differences are and what to apply.
For example:
https://github.com/vyos/vyos-1x/blob/current/python/vyos/configdict.py#L299-L315
This takes the difference between get_values and get_effective values to see what addresses to remove.

May 8 2020, 7:45 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2409: At boot, effective config should not be equal to current config.

I suggest you ignore T2030 for a moment --- I recall discussing that issue with the author, but I think the code comments are leading you astray ... we can return to that later.

May 8 2020, 7:03 AM · VyOS 1.3 Equuleus (1.3.0)
trae32566 created T2435: Pseudo-ethernet Interfaces Broken.
May 8 2020, 5:31 AM · VyOS 1.3 Equuleus (1.3.0)

May 7 2020

trae32566 created T2434: Duplicate Address Detection Breaks Interfaces.
May 7 2020, 11:07 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin updated the task description for T2407: alternate installation for the vyos-1x python code.
May 7 2020, 9:14 PM
thomas-mangin added a comment to T2407: alternate installation for the vyos-1x python code.

How this can be implemented in practice was tested with https://github.com/thomas-mangin/vyos-extra

  • the program can be installed using pip/setuptools and the "vyosextra.main:main" entry point, generating a "vyos" program.
  • the "release" program in the root folder generates a self-contained executable (using the builtin python3 zipapp library) which can be place before in the path, taking precedence over the installed version.
  • each feature "vyos ssh", "vyos update" is a single program and could be installed independently using other entry points
  • dropping a program in the folder automatically registers it to the main "vyos" program, each program has a "def main()" with a docstring used for the "-h"
  • the assets in the data folder are converted into python dict and used when the program is a zipapp.
May 7 2020, 9:13 PM
thomas-mangin created T2433: Improve CLI value validator performance.
May 7 2020, 8:41 PM · VyOS 1.4 Sagitta (1.4.0-epa1)
dmbaturin committed rVYOSONEX29dee3abb55d: T2431: use native versions of validate-value and numeric validator..
May 7 2020, 8:06 PM
jjakob added a comment to T2432: dhcpd: Can't create new lease file: Permission denied.

Changing this to

chown nobody:vyattacfg /config/dhcpd.leases*; \
chmod 664 /config/dhcpd.leases*; \

(note the *)
has fixed the error with dhcpd. The same needs to be done to dhcpv6.

May 7 2020, 7:26 PM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
jjakob triaged T2432: dhcpd: Can't create new lease file: Permission denied as High priority.
May 7 2020, 7:23 PM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
jjakob added a comment to T2431: Python validators are slow.

https://github.com/vyos/vyos-1x/pull/400

May 7 2020, 6:57 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob updated the task description for T2431: Python validators are slow.
May 7 2020, 6:52 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob created T2431: Python validators are slow.
May 7 2020, 6:50 PM · VyOS 1.3 Equuleus (1.3.6)