Browse Source

fixed demo to add additional workers

master
Sebastian Rieger 6 years ago
parent
commit
7e4f9ae020
  1. 6
      demo4-scale-out-add-worker.py

6
demo4-scale-out-add-worker.py

@ -15,9 +15,9 @@ from libcloud.compute.types import Provider
# web service endpoint of the private cloud infrastructure # web service endpoint of the private cloud infrastructure
auth_url = 'https://private-cloud2.informatik.hs-fulda.de:5000' auth_url = 'https://private-cloud2.informatik.hs-fulda.de:5000'
# your username in OpenStack # your username in OpenStack
auth_username = 'CloudComp30'
auth_username = 'CloudCompX'
# your project in OpenStack # your project in OpenStack
project_name = 'CloudCompGrp30'
project_name = 'CloudCompGrpX'
# default region # default region
region_name = 'RegionOne' region_name = 'RegionOne'
@ -29,7 +29,7 @@ ubuntu_image_name = "Ubuntu 14.04 - Trusty Tahr - 64-bit - Cloud Based Image"
flavor_name = 'm1.small' flavor_name = 'm1.small'
network_name = "CloudCompGrp30-net"
network_name = "CloudCompGrpX-net"
keypair_name = 'srieger-pub' keypair_name = 'srieger-pub'
pub_key_file = '~/.ssh/id_rsa.pub' pub_key_file = '~/.ssh/id_rsa.pub'

Loading…
Cancel
Save