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.


/martin

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

Reply via email to