IFconfig libxo support

Mark Saad nonesuch at longcount.org
Tue Apr 20 19:35:00 UTC 2021


On Tue, Apr 20, 2021 at 3:29 PM Ryan Moeller <ryan at ixsystems.com> wrote:
>
> Haha nevermind, that has not been committed yet. Here's the raw code
> here for now:
> - https://gitlab.com/freqlabs/lua-libifconfig
> - https://reviews.freebsd.org/D25447
>
So any reason that ifconfig is going this way over how say netstat has
--libxo as an output option ?

> On Tue, Apr 20, 2021 at 3:25 PM Ryan Moeller <ryan at ixsystems.com> wrote:
> >
> > There is no work to that end that I'm aware of, but there is some info
> > available via libifconfig and flua. See
> > /usr/share/examples/flua/libifconfig.lua for sample code that will
> > dump a good amount of ifconfig state to json.
> >
> > On Tue, Apr 20, 2021 at 3:13 PM Mark Saad <nonesuch at longcount.org> wrote:
> > >
> > > Hi All
> > >   Does anyone know if there is any work on getting ifconfig to emit
> > > output via libxo ?
> > > I am trying to simplify some code I have to audit configs. Libxo here
> > > would help.
> > >
> > > --
> > > mark saad | nonesuch at longcount.org
> > > _______________________________________________
> > > freebsd-hackers at freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> >
> >
> >
> > --
> > Ryan Moeller
> > iXsystems, Inc.
> > OS Developer
> > Email: ryan at iXsystems.com
>
>
>
> --
> Ryan Moeller
> iXsystems, Inc.
> OS Developer
> Email: ryan at iXsystems.com



-- 
mark saad | nonesuch at longcount.org


More information about the freebsd-hackers mailing list