Thread (44 messages) 44 messages, 10 authors, 2022-09-28

Re: [RFC net-next 1/4] ynl: add intro docs for the concept

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2022-08-15 23:38:30
Also in: linux-doc

On Wed, 2022-08-10 at 19:23 -0700, Jakub Kicinski wrote:
+Note that attribute spaces do not themselves nest, nested attributes refer to their internal
+space via a ``nested-attributes`` property, so the YAML spec does not resemble the format
+of the netlink messages directly.
I find this a bit ... confusing.

I think reading the other patch I know what you mean, but if I think of
this I think more of the policy declarations than the message itself,
and there we do refer to another policy?

Maybe reword a bit and say

   Note that attribute spaces do not themselves nest, nested attributes
   refer to their internal space via a ``nested-attributes`` property
   (the name of another or the same attribute space).

or something?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help