Hello all,

So to make sure I understood this correctly, YANG data structures cannot be 
nested in another YANG Data Structures?! But they can be used inside YANG data 
nodes?! Because in Section 2 it states:

This does not mean a YANG data structure, once defined, has to be
   used as a top-level protocol message or other top-level data
   structure.


Best,
-Ahmed

On 08.07.2025, 15:23, "Michal Vasko" <mvasko=40cesnet...@dmarc.ietf.org 
<mailto:40cesnet...@dmarc.ietf.org>> wrote:




Be aware: This is an external email.






Hi Kent,


sorry for bothering, should have looked at the examples before. Thanks
for pointing it out and I think my actual question was answered. I
wanted to know whether the structure could be nested in some YANG data
and it seems not.


Regards,
Michal


On 8. 7. 2025 15:09, Kent Watsen wrote:
>> Can someone please give me an example of the extension "being nested
>> within some other data structure"? Thanks.
>
> Is this it? https://www.rfc-editor.org/rfc/rfc8791.html#section-a.5 
> <https://www.rfc-editor.org/rfc/rfc8791.html#section-a.5>
>
>
> Kent
>



_______________________________________________
netmod mailing list -- netmod@ietf.org
To unsubscribe send an email to netmod-le...@ietf.org

Reply via email to