X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fx-ran%2Fedit-config-after-download.sh;fp=ntsimulator%2Fdeploy%2Fx-ran%2Fedit-config-after-download.sh;h=798980885941051f6d6410a82ad2ce7794bb22ed;hb=1f1479ff8ce3a268acb7b70a32bb789d859a915b;hp=0000000000000000000000000000000000000000;hpb=34ec819462d5f81ceeb723e47467bf50a8454f34;p=sim%2Fo1-interface.git diff --git a/ntsimulator/deploy/x-ran/edit-config-after-download.sh b/ntsimulator/deploy/x-ran/edit-config-after-download.sh new file mode 100755 index 0000000..7989808 --- /dev/null +++ b/ntsimulator/deploy/x-ran/edit-config-after-download.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-download.xml + disconnect +END +) + +echo $result +echo "Done!" + +exit 0 \ No newline at end of file