[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZSA8CVP6+DnPrHly@nanopsycho>
Date: Fri, 6 Oct 2023 18:55:37 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net,
edumazet@...gle.com, donald.hunter@...il.com
Subject: Re: [patch net-next v3 1/2] tools: ynl-gen: lift type requirement
for attribute subsets
Fri, Oct 06, 2023 at 05:00:39PM CEST, kuba@...nel.org wrote:
>On Fri, 6 Oct 2023 13:44:35 +0200 Jiri Pirko wrote:
>> + # type property is only required if not in subset definition
>> + if:
>> + properties:
>> + subset-of:
>> + not:
>> + type: string
>> + then:
>> + properties:
>> + attributes:
>> + items:
>> + required: [ type ]
>
>Nice!
Took me like 3 hours debugging this. These json schemas are from
different world than I am...
>
>Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists