On 31. Jul 2022, at 02:12, Andy Bierman <[email protected]> wrote: > > leaf foo { > type inet:ipv6-address; > ext:cbor-type cbor:bin-ipv6-address; > }
This looks like the right thing to do. But it touches many moving parts, and I’m wondering whether we cannot do something with a more localized footprint. This is all about the representation; the data model doesn’t actually change (*). We don’t need to change the model to go from XML to JSON, why should we need to do that here? Maybe this could be done via a concept that looks more like a SID file. It would need to be visible in a yang-library-like model. Grüße, Carsten (*) Well, maybe it does: E.g., when using Tag 1 for a date/time, there is no way to represent a numerical offset. That is generally not needed, so the conversion would work in the majority of cases. If a numerical offset needs to be expressed, the text-based form could be used. _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
