Refactor folder structure.
[sim/o1-interface.git] / ntsimulator / deploy / o-ran / ru-fh / edit-config-after-download.sh
diff --git a/ntsimulator/deploy/o-ran/ru-fh/edit-config-after-download.sh b/ntsimulator/deploy/o-ran/ru-fh/edit-config-after-download.sh
new file mode 100755 (executable)
index 0000000..7989808
--- /dev/null
@@ -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