Martin Bjorklund <m...@tail-f.com> writes:

> Hi,
>
> Currently we have an inconsistency in
> draft-ietf-netmod-rfc6020bis-05.  With Y35, we allow type empty in
> unions.  But section 7.8.2 says:
>
>    A leaf that is part of the key can be of any built-in or derived
>    type, except it MUST NOT be the built-in type "empty".
>
> This means that this is legal:
>
>   typedef my-empty {
>     type union {
>       type empty;
>     }
>   }
>
>   list foo {
>     key id;
>     leaf id {
>       type my-empty;
>     }
>     ...
>   }
>
>
> I suggest we allow type empty also in keys:
>
> NEW:
>
>    A leaf that is part of the key can be of any built-in or derived
>    type.
>

I support this.

Lada

>
> /martin
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to