Added clixon_netconf command-line option -0and changed -H to -1
* `-0` means dont send hello, but fix netconf base version to 0 and use EOM framing
* `-1` means dont send hello, but fix netconf base version to 1 and use chunked framing
This commit is contained in:
parent
f11e4bad6c
commit
28bd146e5c
3 changed files with 13 additions and 4 deletions
|
|
@ -442,7 +442,7 @@ function stop_backend(){
|
|||
# Wait for restconf to stop sending 502 Bad Gateway
|
||||
function wait_backend(){
|
||||
freq=$(chunked_framing "<rpc $DEFAULTNS><ping $LIBNS/></rpc>")
|
||||
reply=$(echo "$freq" | $clixon_netconf -qHef $cfg)
|
||||
reply=$(echo "$freq" | $clixon_netconf -q1ef $cfg)
|
||||
# freply=$(chunked_framing "<rpc-reply $DEFAULTNS><ok/></rpc-reply>")
|
||||
# chunked_equal "$reply" "$freply"
|
||||
let i=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue