summaryrefslogtreecommitdiffstats
path: root/scripts/remount_vpp_into_odl.sh
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2017-05-18 10:25:43 +0200
committerjuraj.linkes <jlinkes@cisco.com>2017-06-02 14:03:43 +0200
commitc0b072ee944330f97e7eb3b03df79bf9494e6b9a (patch)
tree3d7317eb0b71099932736f4fbd35df680996b077 /scripts/remount_vpp_into_odl.sh
parent6ad0c96f1b4383c3bcd651cc246843119f4e0e61 (diff)
Added script for resource cleanup
This script can be either run from jumphost or overcloud nodes. If run from jumphost, it will clean all resources on all nodes as well as openstack resources. If run from an overcloud node, it will clean resources on that node. The script supports whitelisting and exclusion of resources to be cleaned. Change-Id: I46c937dc31a1ed4b9be1d641183c9cc3b42bbb2d Signed-off-by: juraj.linkes <jlinkes@cisco.com>
Diffstat (limited to 'scripts/remount_vpp_into_odl.sh')
-rwxr-xr-xscripts/remount_vpp_into_odl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remount_vpp_into_odl.sh b/scripts/remount_vpp_into_odl.sh
index 9a67b6a..e794f23 100755
--- a/scripts/remount_vpp_into_odl.sh
+++ b/scripts/remount_vpp_into_odl.sh
@@ -1,6 +1,6 @@
#!/bin/bash
script_dir=$(dirname $0)
-. $script_dir/variables.sh
+. $script_dir/lib.sh
overcloud_node_ips=$(grep -E "$NODE_PATTERN-[^-]+-[0-9]" /etc/hosts | grep -Eo '([0-9]{1,3}.){3}[0-9]{1,3}')
for overcloud_node_ip in $overcloud_node_ips