Hello, I propose a small clarification to the yang draft as described below. regards Balazs -------- Forwarded Message --------
Balazs Lengyel <balazs.leng...@ericsson.com> wrote: > Hello Martin, > Any thoughts on this? > regards Balazs > > > Hello Martin, > If I have a leafref with require-instance=false which references an > uint8 with range 1..10, and the leafref contains the value 20, can > this be a valid configuration? > As I see it, there is nothing in the draft that says this is not > allowed. > > IMHO this should not be valid. You could add something like: > "The leafref must have a value that is a possible allowed value for > the referenced leaf." I agree, this makes sense! /martin -- Balazs Lengyel Ericsson Hungary Ltd. Senior Specialist ECN: 831 7320 Mobile: +36-70-330-7909 email: balazs.leng...@ericsson.com |
_______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod