X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Fhoneynode%2F2.2.1%2Fminimal-distribution-core%2Fsrc%2Fmain%2Fresources%2Fhoneycomb-minimal-resources%2Fhoneycomb-tpce;fp=tests%2Fhoneynode%2F2.2.1%2Fminimal-distribution-core%2Fsrc%2Fmain%2Fresources%2Fhoneycomb-minimal-resources%2Fhoneycomb-tpce;h=e4e2afc29e3d84093dc9938a599cb2915e9b3833;hb=73405f1ac101d67f21c1b8c0b16b1f3e21638640;hp=3edbe885240c10433ec36e28960a3387a93308e2;hpb=3b1ac780f9fed4cddd3076a245746d48f74a6181;p=transportpce.git diff --git a/tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce b/tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce index 3edbe8852..e4e2afc29 100755 --- a/tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce +++ b/tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce @@ -32,20 +32,22 @@ then filename=$(basename -- "$CONFIG") device=$(basename "$CONFIG" .xml) echo "changing netconf port with $PORT in netconf.json file ..." - sed -i "/netconf-ssh-binding-port/c\ \"netconf-ssh-binding-port\" : "$PORT"," $(dirname $0)/config/netconf.json + sed -i' ' "/netconf-ssh-binding-port/c\ \"netconf-ssh-binding-port\" : "$PORT"," $(dirname $0)/config/netconf.json echo "changing restconf http port with $REST_HTTP in restconf.json file ..." - sed -i "/restconf-port/c\ \"restconf-port\" : "$REST_HTTP"," $(dirname $0)/config/restconf.json + sed -i' ' "/restconf-port/c\ \"restconf-port\" : "$REST_HTTP"," $(dirname $0)/config/restconf.json echo "changing restconf websocket with $REST_WEBSOCKET in restconf.json file ..." - sed -i "/restconf-websocket-port/c\ \"restconf-websocket-port\" : "$REST_WEBSOCKET"," $(dirname $0)/config/restconf.json + sed -i' ' "/restconf-websocket-port/c\ \"restconf-websocket-port\" : "$REST_WEBSOCKET"," $(dirname $0)/config/restconf.json echo "changing restconf-https-enabled to false in restconf.json file ..." - sed -i "/restconf-https-enabled/c\ \"restconf-https-enabled\" : \"false\"," $(dirname $0)/config/restconf.json + sed -i' ' "/restconf-https-enabled/c\ \"restconf-https-enabled\" : \"false\"," $(dirname $0)/config/restconf.json echo "changing persist-context and persist-config to false in honeycomb.json file ..." - sed -i "/persist-context/c\ \"persist-context\" : \"false\"," $(dirname $0)/config/honeycomb.json - sed -i "/persist-config/c\ \"persist-config\" : \"false\"," $(dirname $0)/config/honeycomb.json + sed -i' ' "/persist-context/c\ \"persist-context\" : \"false\"," $(dirname $0)/config/honeycomb.json + sed -i' ' "/persist-config/c\ \"persist-config\" : \"false\"," $(dirname $0)/config/honeycomb.json echo "changing netconf-initial-config-xml location with $CONFIG in honeycomb.json file ..." - sed -i "/netconf-initial-config-xml/c\ \"netconf-initial-config-xml\" : \"device/$filename\"," $(dirname $0)/config/honeycomb.json + sed -i' ' "/netconf-initial-config-xml/c\ \"netconf-initial-config-xml\" : \"device/$filename\"," $(dirname $0)/config/honeycomb.json while [ $STATUS -eq 100 ] do + . $(dirname $0)/../../../../../../reflectwarn.sh + # needed to remove JDK11 reflective access warning "$JAVA_CMD" -DDEVICE=${device} -Dlogback.logs.directory=$(dirname $0)/logs -Xms512m -Xmn512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -jar $(dirname $0)/honeynode-distribution-1.19.04.jar STATUS=$? echo "Honeycomb exited with status: $STATUS"