Hi Michael, 

You should run it with "--tree-print-structures".

Cheers,
Med

> -----Message d'origine-----
> De : Anima <anima-boun...@ietf.org> De la part de Michael
> Richardson
> Envoyé : jeudi 24 novembre 2022 00:31
> À : netmod@ietf.org
> Cc : an...@ietf.org; mbj+i...@4668.se; a...@yumaworks.com
> Objet : [Anima] how to process RFC8791 examples
> 
> 
> Hi, I've been looking at how to move RFC8366 from YANG-
> DATA/RFC8040 to RFC8791.
> I think that maybe we can solve the multiple inclusion/derivation
> problem in
> 8791 space rather than 8040 space.
> 
> I extracted the A.1. "structure" Example to a file and ran:
>    pyang
>    --path=.../yang/modules/ietf
>    -f tree --tree-print-groupings example-module.yang
> 
> and I get nothing out, because that example module doesn't
> actually express something, just defines a structure.
> At least, that's what I think. Maybe I'm doing it wrong.
> 
> I look back at what I did with draft-ietf-core-sid, and actually I
> don't see any clear difference.  So how do I get the tree
> structure printed from the examples in RFC8791?
> 
> --
> Michael Richardson <mcr+i...@sandelman.ca>   . o O ( IPv6 IøT
> consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to