[netmod] CBOR tags for Common YANG Data Types (RFC6991/bis)

2022-07-30 Thread Michael Richardson
I had a few (well.. two) hallway conversations about RFC9164 (IPv4/IPv6) tags for CBOR this week. Specifically... in large YANG described dumps (such as a BGP FIB table) it becomes critical not spend so many bytes on some fundamental datatypes when there are hundreds of thousands of entries. "ie

Re: [netmod] CBOR tags for Common YANG Data Types (RFC6991/bis)

2022-07-30 Thread Andy Bierman
Hi, On Sat, Jul 30, 2022 at 1:54 PM Michael Richardson wrote: > > I had a few (well.. two) hallway conversations about RFC9164 (IPv4/IPv6) > tags > for CBOR this week. > > Specifically... in large YANG described dumps (such as a BGP FIB table) it > becomes critical not spend so many bytes on som

Re: [netmod] CBOR tags for Common YANG Data Types (RFC6991/bis)

2022-07-30 Thread Carsten Bormann
On 31. Jul 2022, at 02:12, Andy Bierman 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 locali