Re: [netmod] Must expression: how to test all instances?

2022-08-17 Thread Kent Watsen
Lada made this comment more than a year ago: It depends on how the constraint is written. If you have e.g. must "list/non-key-leaf = 42"; then it is sufficient that at least one instance on non-key-leaf exist non-key-leaf exist with that value. In con

[netmod] Must expression: how to test all instances?

2022-08-17 Thread Kent Watsen
Given a must-expression like this: uses ts:local-or-truststore-public-keys-grouping { refine "local-or-truststore/truststore/truststore-reference" { must 'derived-from-or-self(deref(.)/../ts:public-key/ts:public-key-format, "ct:ssh-public-key-format")'; } } Where "t

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

2022-08-17 Thread Michael Richardson
Andy Bierman wrote: >> 2) some kind of extension where when I *use* yang:ipv6-address that I >> say that it should be encoded in CBOR using tag . Also specific >> to that document/module, but the YANG knows. Russ speculated on the >> ways in which one could use the right yang ex

Re: [netmod] Internet standard and normative reference against YANG

2022-08-17 Thread tom petch
From: netmod on behalf of Toerless Eckert Sent: 03 August 2022 15:51 Was wondering if we (IETF) have granted RFCs internet standard status when they used YANG (RFC7950) given how that is only proposed standard (downref). (too lazy to look through st