[netmod] “case” shorthand

2017-03-20 Thread Peter Kajsa -X (pkajsa - PANTHEON TECHNOLOGIES at Cisco)
Hi, RFC7950 section 7.9.2. says that if a “case” statement is omitted (i.e. “case” shorthand) and implicit “case” node is created, schema node identifiers MUST always explicitly include the implicit “case” node identifiers. So the following snippet from yang model (below) is valid for Yang 1.1.

[netmod] Augmentation of mandatory nodes issue

2016-02-29 Thread Peter Kajsa -X (pkajsa - PANTHEON TECHNOLOGIES at Cisco)
Hi everybody, we have encountered the following issue: augment "/other:module" { container foo { presence "some reason"; leaf bar { mandatory true; } } } We assume the augment is incorrect due to mandatory leaf "bar" and target node in another module. Is it