Fix: Restconf service did not close when restconf config was removed

This commit is contained in:
Olof hagsand 2021-04-09 12:34:41 +02:00
parent 15d01c58d8
commit 9f5176adf5
4 changed files with 241 additions and 19 deletions

View file

@ -72,8 +72,10 @@ testname=
# eg logging to a file: RCLOG="-l f/www-data/restconf.log"
: ${RCLOG:=}
BASENS='urn:ietf:params:xml:ns:netconf:base:1.0'
# Default netconf namespace statement, typically as placed on top-level <rpc xmlns=""
DEFAULTONLY='xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"'
DEFAULTONLY="xmlns=\"$BASENS\""
# Default netconf namespace + message-id
DEFAULTNS="$DEFAULTONLY message-id=\"42\""