Page MenuHomeVyOS Platform
Feed Advanced Search

Aug 16 2020

thomas-mangin added a comment to T2636: get_config_dict() shall always return a list on <multi/> nodes.

Regarding (1) which is about changing the default. No issues, I was trying to break any code until someone had more time than me to test it, as the devil is always in the details.

Aug 16 2020, 4:17 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2636: get_config_dict() shall always return a list on <multi/> nodes.

From John on github:

Aug 16 2020, 4:16 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 12 2020

thomas-mangin added a comment to T2750: Use m4 as a template processor.

Yes the GCC preprocessors is limited (but works for the current use case) and m4 is indeed more powerful but not a user-friendly tool IMHO.

Aug 12 2020, 8:32 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta

Aug 7 2020

thomas-mangin added a comment to T2623: Creating sit tunnel fails with “Can not set “local” for tunnel sit tun1 at tunnel creation”.

I will have a look as this was not supported by vyatta and therefore not added to the code when converted to python

Aug 7 2020, 1:01 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin added a comment to T2768: Define a high level HTTP API.

Coming with a syntax which is not ultimately going to be as complex as the cli may be an impossible challenge. Changing the API to include in the XML what is path vs payload may indeed lead to indeed a better API tho. The example given use the word create in the path when REST would use POST.

Aug 7 2020, 12:40 PM · VyOS 1.5 Circinus

Aug 5 2020

thomas-mangin added a comment to T2759: validate-value prints error messages from validators that fail even if overall validation succeeds.

I would have expected the output generated to be an OR of the validators or regexes and allow the output if any would have passed it

Aug 5 2020, 10:08 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

Aug 4 2020

thomas-mangin added a comment to T2518: Add support for IPv6 NAT (NPTv6).

Thank you for writing some testing code using the smoketest repository. It may take a few working days for anyone to come back to you.

Aug 4 2020, 1:50 PM · VyOS 1.4 Sagitta (1.4.0-epa3)

Aug 3 2020

thomas-mangin added a comment to T2755: Requirements for partial interface setup.

Thank you for the feedback, even if it was not what I was hoping for !

Aug 3 2020, 10:48 PM · VyOS 1.3 Equuleus (1.3.6), VyOS 1.4 Sagitta
thomas-mangin added a comment to T1677: Support configuration of Ethernet SMP affinity in new Python/XML implementation.

I would not use cpu<numbe> but just <number> like is used for taskset for example, but it would be a real improvement for users.
An op command should be provided giving the affinity of CPU ( from lscpu ) and the documentation should warn about interrupt crossing numa domains (for the case where a network card is providing multiple interfaces).

Aug 3 2020, 2:13 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 2 2020

thomas-mangin updated the task description for T2755: Requirements for partial interface setup.
Aug 2 2020, 11:22 AM · VyOS 1.3 Equuleus (1.3.6), VyOS 1.4 Sagitta
thomas-mangin updated the task description for T2755: Requirements for partial interface setup.
Aug 2 2020, 9:41 AM · VyOS 1.3 Equuleus (1.3.6), VyOS 1.4 Sagitta
thomas-mangin created T2755: Requirements for partial interface setup.
Aug 2 2020, 9:32 AM · VyOS 1.3 Equuleus (1.3.6), VyOS 1.4 Sagitta

Jul 31 2020

thomas-mangin added a comment to T2750: Use m4 as a template processor.

And there are some PR pending on that exact code ..

Jul 31 2020, 4:55 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
thomas-mangin added a comment to T2750: Use m4 as a template processor.

If anything this code could/should be extracted in an internal library and then a tool created to replace what we have so the behaviour is consistent in both cases.

Jul 31 2020, 4:50 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta
thomas-mangin added a comment to T2750: Use m4 as a template processor.

There is now some python XML code to parse the XML. m4 is not a nice tool. If better pre-processing is required, which I would not argue for, please explain the issue you are trying to solve.

Jul 31 2020, 4:48 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta

Jul 30 2020

thomas-mangin added a comment to T2214: BGP peers dropping randomly.

related to T1699

Jul 30 2020, 3:08 PM · VyOS 1.2 Crux

Jul 29 2020

thomas-mangin added a comment to T2738: Modifying configuration in the "interfaces" section from VRRP transition scripts causes configuration lockup and high CPU utilization.
Jul 29 2020, 3:16 PM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin added a comment to T2245: Need to create a common logging module for Python scripts.

It may be a good idea to also have an option to hook debug logging to syslog.

Jul 29 2020, 2:36 PM · VyOS 1.5 Circinus
thomas-mangin added a comment to T2738: Modifying configuration in the "interfaces" section from VRRP transition scripts causes configuration lockup and high CPU utilization.

Yes, it would solve the issue ... but ... currently, we re-apply the whole interface setting, so there is no change to have the vyos and live configuration not sync'ed.
This would be lost. It is a trade-off, but it could be done. It would be however the only sub-system working that way.

Jul 29 2020, 2:23 PM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin placed T2738: Modifying configuration in the "interfaces" section from VRRP transition scripts causes configuration lockup and high CPU utilization up for grabs.

Ideally which interface is master/slave should be recorded and handled by VyOS so that users do not have to put some workaround like this one to know.

Jul 29 2020, 2:00 PM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin added a comment to T2738: Modifying configuration in the "interfaces" section from VRRP transition scripts causes configuration lockup and high CPU utilization.

I do not have a lab to reproduce this ATM.

Jul 29 2020, 10:55 AM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin claimed T2738: Modifying configuration in the "interfaces" section from VRRP transition scripts causes configuration lockup and high CPU utilization.
Jul 29 2020, 9:53 AM · VyOS 1.4 Sagitta, VyOS 1.3 Equuleus (1.3.0-epa1)

Jul 25 2020

thomas-mangin added a comment to T2723: Support tcptraceroute.

Sorry on behalf of the team. The process of PR review is not ideal. I appreciate that you have asked for merge, and would be probably expecting some feedback As it was not, and that you got neither yet. I know it can be a bit frustrating .. I also have PRs waiting! 🥱
Hopefully there will be more regular review going forward, in the meanwhile please be assured that your contribution is appreciated and again sorry for the wait.

Jul 25 2020, 6:01 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 24 2020

thomas-mangin added a comment to T2719: Standardized op mode script structure.

@efficiosoft understood. We tend to all hangout there to help each other. If you have another way I/we can relate to you to support you (but here) let us know.

Jul 24 2020, 9:18 AM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta

Jul 23 2020

thomas-mangin added a comment to T2719: Standardized op mode script structure.

@efficiosoft are you on our slack channel ?

Jul 23 2020, 2:52 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta
thomas-mangin added a comment to T2719: Standardized op mode script structure.

Well, it would be trivial to add an --auto-reload switch to the daemon for development purposes which could enable an inotify watcher over the XML files.

Jul 23 2020, 1:41 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta
thomas-mangin added a comment to T2719: Standardized op mode script structure.

@efficiosoft asking users to fire a daemon is not really user-friendly :-) Once a daemon is loaded, whatever change is done to any initialisation data on the disk will not affect it. Should a tool exist loading the same data each time, then changes can be tested without affecting the running daemon.

Jul 23 2020, 8:44 AM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta

Jul 22 2020

thomas-mangin added a comment to T2719: Standardized op mode script structure.

Thank you for the offer, having read your patch it seems you are indeed fluent in Python and as there is lots to do so I am sure you will be able to help :-)
As @dmbaturin started this, I will let him come back to you about what could be done.

Jul 22 2020, 10:19 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta

Jul 16 2020

thomas-mangin added a comment to T2658: Interface description comment display error.

@SrividyaA the task is assigned to you, if you are going to fix it, all good, otherwise happy to do so.

Jul 16 2020, 9:01 AM · VyOS 1.3 Equuleus (1.3.0)

Jul 13 2020

thomas-mangin added a comment to T2666: Packet Processing with eBPF and XDP.

https://lwn.net/Articles/822744/

Jul 13 2020, 1:46 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 7 2020

thomas-mangin added a comment to T2689: Add helper functions to query changes between session and effective configs.

As I click "sail", I just realise that as there is only one config per router, ConfigDict could be a subclass of Config which could be itself singleton. So even if it is subclassed, all instances could/would share the same underlying data and could be used inter-exchangeably for the content of the config.

Jul 7 2020, 8:44 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2689: Add helper functions to query changes between session and effective configs.

@jestabro I would like to hear why you advocate this API and why you believe it is better than the one I have suggested.

Jul 7 2020, 8:40 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2689: Add helper functions to query changes between session and effective configs.

Regarding the API proposed, most of these functions are also syntactic sugar for the same operations. Looking at the use cases, there is two: getting information about a leaf value, or getting information about tagNode changes.

Jul 7 2020, 9:27 AM · VyOS 1.3 Equuleus (1.3.0)

Jul 6 2020

thomas-mangin added a comment to T2665: vyos.xml.defaults for tag nodes.

Ok, I will look at how we can use the current configuration to insert the tagNode name when we generate the default configuration

Jul 6 2020, 7:06 AM · VyOS 1.4 Sagitta

Jul 5 2020

thomas-mangin created T2688: add xml definition to router.
Jul 5 2020, 2:22 PM · VyOS 1.5 Circinus