* 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:
Olof hagsand 2021-06-24 21:56:36 +02:00
parent caf396cbda
commit 940f4d4fb9
14 changed files with 404 additions and 374 deletions

View file

@ -46,10 +46,10 @@ cat <<EOF > $fyang
module nacm-example{
yang-version 1.1;
namespace "urn:example:nacm";
prefix nacm;
import clixon-example {
prefix ex;
}
prefix nacm;
container authentication {
presence "To keep this from auto-expanding";
description "Example code for enabling www basic auth and some example