[YANGTOOLS-668] [Yang 1.1] Allow "must" in "input", "output", and "notification" statements. Created: 06/Oct/16  Updated: 10/Apr/22  Resolved: 19/Dec/16

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Kajsa Assignee: Igor Foltin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-355 Milestone: Introduce support for YANG... Resolved
is blocked by YANGTOOLS-664 Extend yang statement parser to suppo... Resolved
is blocked by YANGTOOLS-699 Milestone: [Yang 1.1] Yang model API ... Resolved
External issue ID: 6871

 Comments   
Comment by Martin Ciglan [ 19/Oct/16 ]

RFC7950:
7.5.3. The "must" Statement
The "must" statement, which is optional, takes as an argument a
string that contains an XPath expression (see Section 6.4). It is
used to formally declare a constraint on valid data. The constraint
is enforced according to the rules in Section 8.
When a datastore is validated, all "must" constraints are
conceptually evaluated once for each node in the accessible tree (see
Section 6.4.1).
All such constraints MUST evaluate to "true" for the data to be
valid.

Comment by Igor Foltin [ 06/Nov/16 ]

API change - https://git.opendaylight.org/gerrit/#/c/47974/

Comment by Igor Foltin [ 14/Dec/16 ]

Implementation - https://git.opendaylight.org/gerrit/#/c/49339/

Generated at Wed Feb 07 20:53:57 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.