#!/bin/bash
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2017 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
# Todo: As a safe check we could obtain the list of active jobs from Jenkins and
# compute the checksum from $JOB_NAME to check if any active nodes exist and
# 24H timeout in place for all jobs therefore all jobs are expected to complete
# within the timeout.
-lftools openstack --os-cloud rackspace \
+lftools openstack --os-cloud vex \
server list --days=1
-lftools openstack --os-cloud rackspace \
+lftools openstack --os-cloud vex \
server cleanup --days=1