diff options
Diffstat (limited to 'test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh')
-rwxr-xr-x | test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh index 30be458c6..4091bea7d 100755 --- a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh +++ b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh @@ -1,5 +1,5 @@ #!/bin/bash - +sleep 20 NETOPEER_CONFIG_PATH='/opt/dev/Netopeer2/server/configuration' MOUNT_PATH='/netopeer_tls_cfg' KEY_PATH='/usr/local/etc/keystored/keys' @@ -8,9 +8,9 @@ SUBSCRIBE_APP_PATH='/opt/dev/sysrepo/build/examples/application_changes_example' # This function uploads test_data and model into netopeer2 server upload_yang_data_model() { - sysrepoctl -i -g $MOUNT_PATH/building.yang - $SUBSCRIBE_APP_PATH building > /dev/null & - sysrepocfg --datastore=running --format=json building --import=$MOUNT_PATH/building.data + sysrepoctl -i -g $MOUNT_PATH/mynetconf.yang + $SUBSCRIBE_APP_PATH mynetconf > /dev/null & + sysrepocfg --datastore=running --format=json mynetconf --import=$MOUNT_PATH/mynetconf.data } # This function configures server/trusted certificates into Netopeer |