* 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
|
|
@ -44,8 +44,8 @@ EOF
|
|||
cat <<EOF > $fyang2
|
||||
module A{
|
||||
prefix a;
|
||||
revision 2021-01-01;
|
||||
namespace "urn:example:a";
|
||||
revision 2021-01-01;
|
||||
container upgraded{
|
||||
}
|
||||
}
|
||||
|
|
@ -95,8 +95,8 @@ for oldyang in true false; do
|
|||
cat <<EOF > $fyang1
|
||||
module A{
|
||||
prefix a;
|
||||
revision 2016-01-01;
|
||||
namespace "urn:example:a";
|
||||
revision 2016-01-01;
|
||||
container old{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue