#!/usr/bin/env bash # Create restconf backend config with a single socket # ipv4 no-ssl RESTCONFIG=$(cat < false password default
0.0.0.0
80false
EOF ) new "netconf edit config" expecteof "$clixon_netconf -qf $cfg" 0 "$RESTCONFIG]]>]]>" "^]]>]]>$" new "netconf commit" expecteof "$clixon_netconf -qf $cfg" 0 "]]>]]>" "^]]>]]>$"