Hi Julien, I have had the opportunity to have a quick chat with Roopa here at Linux Plumbers about an ifupdown2 renderer for netplan.
Any news on your work? Mathieu Trudel-Lapierre <[email protected]> Freenode: cyphermox, Jabber: [email protected] 4096R/65B58DA1 818A D123 0992 275B 23C2 CF89 C67B B4D6 65B5 8DA1 On Wed, May 9, 2018 at 5:13 PM Julien Fortin <[email protected]> wrote: > > On Tue, May 8, 2018 at 3:03 PM, Mathieu Trudel-Lapierre > <[email protected]> wrote: >> >> On Mon, May 7, 2018 at 3:09 PM, Julien Fortin >> <[email protected]> wrote: >> > Hello Mathieu! >> > >> > I'm Julien Fortin, debian maintainer of ifupdown2 >> > (https://packages.debian.org/stretch/ifupdown2). Ifupdown2 is a python >> > re-write of ifupdown. It comes with many new features and bug fixes >> > (vxlans, >> > vrfs, templating, interface dependencies etc...) while keeping backward >> > compatibility with ifupdown syntax. >> > >> > We would like to offer netplan support to our community by adding a new >> > ifupdown2 renderer to netplan. >> > I'm ready to get my hands dirty and write C code to implement the ifupdown2 >> > renderer, I just need some guidance :) >> > >> >> I'm familiar with ifupdown2, I have seen presentations about it at >> DebConf (and possibly elsewhere) in the past. >> >> There isn't much to writing a backend, you want to update >> src/generate.c to make sure things can be pushed to your backend (in >> nd_iterator()), and everything else in one file for the methods that >> will write the configuration. You will also need to update parse.{c,h} >> to allow the new backend name to be recognized. >> >> The rest depends on how you'll write the configuration itself; but >> your function will be passed a net_definition object which contains >> all the details about a single interface. > > > Thanks for the information. That sounds easier than I thought. > I'll take a look at it and try it out. I'll send a PR when the ifupdown2 will > be ready. > > Regards, Julien. > >> >> Kindly, >> >> Mathieu Trudel-Lapierre <[email protected]> >> Freenode: cyphermox, Jabber: [email protected] >> 4096R/65B58DA1 818A D123 0992 275B 23C2 CF89 C67B B4D6 65B5 8DA1 > > -- Mailing list: https://launchpad.net/~netplan-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~netplan-developers More help : https://help.launchpad.net/ListHelp

