[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <42743fe6-476a-4b88-b6f4-930d048472f9@redhat.com>
Date: Tue, 22 Oct 2024 09:55:08 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Joe Damato <jdamato@...tly.com>, David Ahern <dsahern@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: yaml gen NL families support in iproute2?
On 10/21/24 22:58, Joe Damato wrote:
> On Thu, Oct 17, 2024 at 12:36:47PM -0600, David Ahern wrote:
>> On 10/17/24 11:41 AM, Paolo Abeni wrote:
>>> Hi all,
>>>
>>> please allow me to [re?]start this conversation.
>>>
>>> I think it would be very useful to bring yaml gennl families support in
>>> iproute2, so that end-users/admins could consolidated
>>> administration/setup in a single tool - as opposed to current status
>>> where something is only doable with iproute2 and something with the
>>> yml-cli tool bundled in the kernel sources.
>>>
>>> Code wise it could be implemented extending a bit the auto-generated
>>> code generation to provide even text/argument to NL parsing, so that the
>>> iproute-specific glue (and maintenance effort) could be minimal.
>>>
>>> WDYT?
>>
>> I would like to see the yaml files integrated into iproute2, but I have
>> not had time to look into doing it.
>
> I agree with David, but likewise have not had time to look into it.
>
> It would be nice to use one tool instead of a combination of
> multiple tools, if that were at all possible.
FTR I'm investigating the idea of using a tool similar to ynl-gen-rst.py
and ynl-gen-c.py to generate the man page and the command line parsing
code to build the NL request and glue libynl.a with an iproute2 like
interface.
Currently I'm stuck at my inferior python skills and -ENOTIME, but
perhaps someone else is interested/willing to step in...
/P
Powered by blists - more mailing lists