From c23d9ad2383839f2781c533342c2458b1aaee68a Mon Sep 17 00:00:00 2001 From: Rahul Tyagi Date: Tue, 12 Mar 2019 05:20:15 +0000 Subject: INT:885 Fixed a minor issue in pnf-sim This commit introdues a dely in pnf-sim netopeer instance so that subscribing yang model and data creation can be done successfully. Issue-ID: INT-885 Change-Id: Id26a2b6e4f201a1cbf5346ee323fcb6858c2886b Signed-off-by: Rahul Tyagi --- test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh index 4091bea7d..e0e1ac625 100755 --- a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh +++ b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh @@ -9,7 +9,11 @@ SUBSCRIBE_APP_PATH='/opt/dev/sysrepo/build/examples/application_changes_example' upload_yang_data_model() { sysrepoctl -i -g $MOUNT_PATH/mynetconf.yang + sleep 5 + echo ' subscribing to mynetconf model.' $SUBSCRIBE_APP_PATH mynetconf > /dev/null & + sleep 5 + echo ' creating data for mynetconf model.' sysrepocfg --datastore=running --format=json mynetconf --import=$MOUNT_PATH/mynetconf.data } -- cgit 1.2.3-korg