* Added ordering sanity check for YANG modules and sub-modules
* If YANG sub-statements are placed in wrong order, clixon fails on error.
This commit is contained in:
parent
caf396cbda
commit
940f4d4fb9
14 changed files with 404 additions and 374 deletions
|
|
@ -37,8 +37,8 @@ EOF
|
|||
cat <<EOF > $fyangA
|
||||
module A{
|
||||
prefix a;
|
||||
revision 2020-02-11;
|
||||
namespace "urn:example:a";
|
||||
revision 2020-02-11;
|
||||
container x {
|
||||
container y {
|
||||
}
|
||||
|
|
@ -56,11 +56,11 @@ EOF
|
|||
cat <<EOF > $fyangB
|
||||
module B{
|
||||
prefix b;
|
||||
revision 2020-02-11;
|
||||
namespace "urn:example:b";
|
||||
import A {
|
||||
prefix "a";
|
||||
}
|
||||
revision 2020-02-11;
|
||||
augment "/a:x/a:y" {
|
||||
container z {
|
||||
leaf w {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue