changes default net in scale-out added destroy

This commit is contained in:
Sebastian Rieger
2018-04-21 00:41:40 +02:00
parent 5626737624
commit bd537c8106
2 changed files with 101 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import getpass
import os
import libcloud.security
#import libcloud.security
import time
from libcloud.compute.providers import get_driver
from libcloud.compute.types import Provider
@ -28,7 +28,7 @@ ubuntu_image_name = "Ubuntu 14.04 - Trusty Tahr - 64-bit - Cloud Based Image"
flavor_name = 'm1.small'
network_name = "ai-netlab-pro-net"
network_name = "CloudCompX-net"
keypair_name = 'srieger-pub'
pub_key_file = '~/.ssh/id_rsa.pub'
@ -52,7 +52,7 @@ def main():
#
###########################################################################
libcloud.security.VERIFY_SSL_CERT = False
#libcloud.security.VERIFY_SSL_CERT = False
provider = get_driver(Provider.OPENSTACK)
conn = provider(auth_username,