On Github fghaas / openstackisrael2016
Deploying
on
Writing the
Leveraging
from
A
to
to the rescue!
Enter
<vertical url_name="lab_introduction">
<hastexo
url_name="lab_introduction"
stack_template_path="hot_lab.yaml"
stack_user_name="training"
os_auth_url="https://ops.elastx.net:5000/v2.0"
os_tenant_name="example.com"
os_username="demo@example.com"
os_password="foobarfoobarfoofoo" />
</vertical>
This is how a course author invokes the hastexo XBlock, using OLX. Here
you can see the standard OpenStack authentication variables, and also the asset
file name of the Heat template that should be uploaded to the data store. The
user name that will be used to connect to the stack via SSH should also be
defined here, and match what the Heat template creates.outputs:
public_ip:
description: Floating IP address of deploy in public network
value: { get_attr: [ deploy_floating_ip, floating_ip_address ] }
private_key:
description: Training private key
value: { get_attr: [ training_key, private_key ] }
Connecting the
to the
Use the