Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 15:34:47 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        "freebsd-hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Re: IFconfig libxo support
Message-ID:  <CAMXt9NYFU_3W=dfgzRfxrtbiMbX2xHNVBpeUJ2Ff9Tu78oNjHQ@mail.gmail.com>
In-Reply-To: <CAGuotKCndUYK1LjPjrUP9Gi-6hs9Hq=E6_VnUJC2cx1Kb%2B7T0g@mail.gmail.com>
References:  <CAMXt9Na5s3UsJ3Sn7ajmt3ertOh4abYGAWSFeSA5c_6cUxmeMQ@mail.gmail.com> <CAGuotKCzbtbVVbS5aKbTo_cjaR_SzQg2dXbERz-T1=NAPxb64g@mail.gmail.com> <CAGuotKCndUYK1LjPjrUP9Gi-6hs9Hq=E6_VnUJC2cx1Kb%2B7T0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 20, 2021 at 3:29 PM Ryan Moeller <ryan@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@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@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@longcount.org
> > > _______________________________________________
> > > freebsd-hackers@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> >
> >
> >
> > --
> > Ryan Moeller
> > iXsystems, Inc.
> > OS Developer
> > Email: ryan@iXsystems.com
>
>
>
> --
> Ryan Moeller
> iXsystems, Inc.
> OS Developer
> Email: ryan@iXsystems.com



-- 
mark saad | nonesuch@longcount.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NYFU_3W=dfgzRfxrtbiMbX2xHNVBpeUJ2Ff9Tu78oNjHQ>