* Added check of old config in upgrade scenarios.

* Added to clixon-config.yang `CLICON_XMLDB_UPGRADE_CHECKOLD`, set to false to keep less strict check
This commit is contained in:
Olof hagsand 2021-04-12 21:03:20 +02:00
parent 21a65d4a75
commit 5af7ea9b38
16 changed files with 71 additions and 47 deletions

View file

@ -116,11 +116,11 @@ new "cli check load"
expectpart "$($clixon_cli -1 -f $cfg -l o show conf cli)" 0 "interfaces interface eth/0/0 ipv4 enabled true"
new "cli debug set"
expectpart "$($clixon_cli -1 -f $cfg -l o debug level 1)" 0 "^$"
expectpart "$($clixon_cli -1 -f $cfg -l o debug cli 1)" 0 "^$"
# How to test this?
new "cli debug reset"
expectpart "$($clixon_cli -1 -f $cfg -l o debug level 0)" 0 "^$"
expectpart "$($clixon_cli -1 -f $cfg -l o debug cli 0)" 0 "^$"
new "cli rpc"
# We dont know which message-id the cli app uses