diff options
author | ajay_dp001 <ajay.deep.singh@est.tech> | 2021-01-21 20:11:26 +0530 |
---|---|---|
committer | ajay_dp001 <ajay.deep.singh@est.tech> | 2021-01-21 21:39:49 +0530 |
commit | def30df55e27fd1eccbcda7a19f6d7f1ef9004a8 (patch) | |
tree | 76141afb7bc93efd2b5857ed36d66604a3ac6c63 /plans/usecases-config-over-netconf/config-over-netconf/teardown.sh | |
parent | ef3d76ba5ad5210f8405fcfffac191a08f6b5cba (diff) |
Fixed Config-Over-Netconf CSIT
- Added Netconf-Pnp-Simulator
- Fix, updated Config-Over-Netconf csit
Issue-ID: INT-1835
Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech>
Change-Id: Idb769fc027acfa24f82caaa27209d9f3f4084249
Diffstat (limited to 'plans/usecases-config-over-netconf/config-over-netconf/teardown.sh')
-rwxr-xr-x | plans/usecases-config-over-netconf/config-over-netconf/teardown.sh | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/plans/usecases-config-over-netconf/config-over-netconf/teardown.sh b/plans/usecases-config-over-netconf/config-over-netconf/teardown.sh index 9613e3ee..7257b366 100755 --- a/plans/usecases-config-over-netconf/config-over-netconf/teardown.sh +++ b/plans/usecases-config-over-netconf/config-over-netconf/teardown.sh @@ -1,18 +1,10 @@ #!/bin/bash -SDNC_DOCKER_COMPOSE_PATH=$SDNC_DOCKER_PATH/docker-compose.yaml -PNFSIM_DOCKER_COMPOSE_PATH=$INT_DOCKER_PATH/docker-compose.yml -CDS_DOCKER_COMPOSE_PATH=$CDS_DOCKER_PATH/docker-compose.yaml +echo 'Stop, Removing all running containers...' +docker stop $(docker ps -aq) && docker rm $(docker ps -aq) -echo "==========================blueprint-processor logs ==================================" -docker logs bp-rest +echo 'Removing Volumes...' +echo y | docker volume prune -echo "==========================sdnc-controller logs ======================================" -docker logs sdnc_controller_container - - -docker-compose -f $SDNC_DOCKER_COMPOSE_PATH down -docker-compose -f $PNFSIM_DOCKER_COMPOSE_PATH down -docker-compose -f $CDS_DOCKER_COMPOSE_PATH down - -rm -rf $WORKSPACE/temp +echo 'Removing Networks...' +echo y | docker network prune
\ No newline at end of file |