On Fri, Mar 25, 2022 at 3:17 PM Robert Varga <[email protected]> wrote: > On 17/03/2022 17:32, tom petch wrote: > > <tp> > > When the data definition language that we know as YANG was being > specified, the question did arise of how object-oriented it should be and > the consensus was that it should not be. Seeking to retrofit such a > concept might be a bit like finding late in the day that the class > definitions that have been chosen do not go high up enough the tree:-( > > > > An interesting idea but I am not sure how feasible it will prove to be. > > RFC6095 might be a starting point for that sort of work. I am not sure > anybody ever implement that, though. > > This issues way back (at least) to the SMI-NG days circa 2002 https://tools.ietf.org/search/rfc3780
SMIv2 was never replaced for the very reasons cited in this thread. But NETCONF was intended for configuration, and CLI is hierarchical. So YANG is hierarchical. It is not that hard to unfold nested lists into an SMIv2-style table. You may have to rename key leafs and table names so they are unique. Regards, > Robert > Andy > _______________________________________________ > netmod mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/netmod >
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
