Subject: [netmod] if-feature details

From: Andy Bierman <[email-masked]>
Date: Wed, 03 Dec 2008 09:40:50 -0800

Hi,

There needs to be some clarifications in the draft
about some if-feature (and when-stmt) corner-cases.

The set of conditionals must match or be a proper
subset in some scenarios.

That is the criteria -- not whether any conditionals
exist at all or not.

Some issues:

   - conditionals not matched for the default case with
     its parent choice

   - conditionals not matched for a key leaf and its parent
     list

   - conditionals not matched for a unique leaf and its parent
     list

   - conditionals in an augment node which are not also in
     the the augment target node

These should be fatal errors because some combinations
will generate illegal YANG schema.

Andy

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