diff options
author | Rahul Tyagi <rahul.tyagi@ericsson.com> | 2019-03-12 05:20:15 +0000 |
---|---|---|
committer | Rahul Tyagi <rahul.tyagi@ericsson.com> | 2019-03-12 05:20:30 +0000 |
commit | c23d9ad2383839f2781c533342c2458b1aaee68a (patch) | |
tree | 0d026d57312ff7052e9c1aee6b999910fb3fa39d /test/mocks/pnfsimulator | |
parent | 6e0db7ba355bf89a8bdeb00bd1087b73e16f557c (diff) |
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 <rahul.tyagi@ericsson.com>
Diffstat (limited to 'test/mocks/pnfsimulator')
-rwxr-xr-x | test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |