Hardcode network and subnet. There is no way to chose the relevant one.
Signed-off-by: Loic Dachary <loic@dachary.org>
function remove_images() {
glance image-list --property-filter ownedby=teuthology | grep -v -e ---- -e 'Disk Format' | cut -f4 -d ' ' | while read image ; do
- echo "DELETED iamge $image"
+ echo "DELETED image $image"
glance image-delete $image
done
}
fi
case $provider in
- entercloudsuite|cloudlab)
- eval local network=$(neutron net-list -f json | jq '.[] | select(.subnets | contains("'$subnet'")) | .name')
+ entercloudsuite)
+ eval network=$(neutron net-list -f json | jq '.[] | select(.subnets | contains("'$subnet'")) | .name')
+ ;;
+ cloudlab)
+ network='flat-lan-1-net'
+ subnet='10.11.10.0/24'
;;
esac