diff options
author | Edyta Krukowska <edyta.krukowska@nokia.com> | 2021-03-25 14:55:24 +0100 |
---|---|---|
committer | Edyta Krukowska <edyta.krukowska@nokia.com> | 2021-03-26 14:36:47 +0100 |
commit | 480e3de63f475477138c45f551def992ba8d8b9d (patch) | |
tree | bcb768aedee6c9eeb48c3474cbe05588d59f794a /scripts | |
parent | d8facaa17d35af37291192d09a783c620bc379c5 (diff) |
Add endopint for config change
Issue-ID: INT-1869
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: Ib016779b3539ebaac186d92d3cd95a19f81e45cd
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-netconf-server-application.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/scripts/run-netconf-server-application.sh b/scripts/run-netconf-server-application.sh index 5cc51f4..b07da8a 100755 --- a/scripts/run-netconf-server-application.sh +++ b/scripts/run-netconf-server-application.sh @@ -21,9 +21,18 @@ if [ "$#" -eq 2 ]; then - echo "Starting NETCONF server" - python3 ./application/netconf_server_application.py $1/$2 & + ## Set up variable + MODELS_CONFIG_PATH=$1 + MODELS_CONFIG_NAME=$2 + + echo "Starting NETCONF Change listener" + python3 ./application/netconf_change_listener_application.py $MODELS_CONFIG_PATH/$MODELS_CONFIG_NAME & + + + echo "Starting NETCONF Rest server" + python3 ./application/netconf_rest_application.py $MODELS_CONFIG_PATH/$MODELS_CONFIG_NAME & + else - echo "Missing argument: path to file with models to subscribe to." + echo "[ERROR] Invalid number of arguments. Please provide all required arguments." fi |