Thanks for the quick fix!
Dec 7 2020
Dec 5 2020
Sep 8 2020
Ok, so this now waits for T2854. I've already drafted some partial implementation and would like to base it on the architecture introduced in that task.
Sep 4 2020
And PR for vyos-1x: https://github.com/vyos/vyos-1x/pull/540
PR for vyos-build: https://github.com/vyos/vyos-build/pull/123
Sep 3 2020
Jul 29 2020
This is because our other daemons are written using zeromq and the fact that pynng is not a part of the upstream debian source.
Here is a draft of what I meant when I said reworking the XML schema.
Jul 24 2020
@thomas-mangin Thanks. I've joined the channel yesterday. It'll be fine for asking around every now and then.
Jul 23 2020
No, not yet. But generally I don't like it too much because I'm blind and their desktop client isn't very accessible, and writing things like code examples on a smartphone, well, is something I try to avoid ;-).
Yes, it would be a solution. However the behaviour the daemon should really be "fixed" when loaded. It may be simpler to have a reload feature on SIGHUP. This would allow changing the file on disk when developing, testing it without breaking things, and only when confident that it is right, then asking for the reload.
One thing to keep in mind however when sticking with the XML definitions are the nodes that exist twice, once as tag and once as non-tag node, as @dmbaturin mentioned.
@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 22 2020
Providing a way to run the op. code without the daemon would allow people to design their own XML add it to the router, test it without reloading "the stable" code in the daemon, and only when happy that it is working cause a restart of the daemon.
Thanks @thomas-mangin for sharing your thoughts on this.
I like this idea of building a vyos-opd daemon in Python.
Jul 21 2020
Here you go.
Jul 20 2020
As this is my first Phabricator experience, is there anything else I have to do?