On Fri, May 08, 2020 at 10:48:06AM -0700, Jim Schaad wrote:

> Does yang consider that there is a difference between a bit being
> present and zero and a bit being absent?

In YANG every bit in the bit set is either 0 or 1. The xml / json
encodings send the position of the 1 bits (actually the names bound to
the position). All other bits default to 0.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to