]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: cloudlab support (part 4)
authorLoic Dachary <ldachary@redhat.com>
Wed, 6 Apr 2016 17:56:30 +0000 (19:56 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 14 Oct 2019 14:47:01 +0000 (16:47 +0200)
Hardcode network and subnet. There is no way to chose the relevant one.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/openstack/setup-openstack.sh

index 578a546a6878bbd237698ff927c8c8ef3a0cf15f..b467c361a8f0a3270b7dca234f24e3ca770dffe2 100755 (executable)
@@ -458,7 +458,7 @@ function teardown_ansible() {
 
 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
 }
@@ -631,8 +631,12 @@ function main() {
     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