X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fo-ran%2Fru-fh%2Fedit-config-after-activate.sh;fp=ntsimulator%2Fdeploy%2Fo-ran%2Fru-fh%2Fedit-config-after-activate.sh;h=98816952a2eaacc8dd75b7d586fb355fb2d609ab;hb=1f1479ff8ce3a268acb7b70a32bb789d859a915b;hp=0000000000000000000000000000000000000000;hpb=34ec819462d5f81ceeb723e47467bf50a8454f34;p=sim%2Fo1-interface.git diff --git a/ntsimulator/deploy/o-ran/ru-fh/edit-config-after-activate.sh b/ntsimulator/deploy/o-ran/ru-fh/edit-config-after-activate.sh new file mode 100755 index 0000000..9881695 --- /dev/null +++ b/ntsimulator/deploy/o-ran/ru-fh/edit-config-after-activate.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +echo "Loading config data into the NETCONF Server..." + +result=$(netopeer2-cli <<-END + connect --host 127.0.0.1 --login netconf + user-rpc --content=/opt/dev/edit-config-after-activate.xml + disconnect +END +) + +echo $result +echo "Done!" + +exit 0