| tosca_definitions_version: tosca_simple_yaml_1_0 |
| * Adds OpenCloud Sites, Deployments, and Controllers. |
| type: tosca.nodes.Deployment |
| flavors: m1.large, m1.medium, m1.small |
| type: tosca.nodes.Controller |
| relationship: tosca.relationships.ControllerDeployment |
| auth_url: { get_script_env: [ SELF, adminrc, OS_AUTH_URL, LOCAL_FILE] } |
| admin_user: { get_script_env: [ SELF, adminrc, OS_USERNAME, LOCAL_FILE] } |
| admin_password: { get_script_env: [ SELF, adminrc, OS_PASSWORD, LOCAL_FILE] } |
| admin_tenant: { get_script_env: [ SELF, adminrc, OS_TENANT_NAME, LOCAL_FILE] } |
| adminrc: /root/setup/admin-openrc.sh |
| site_url: http://xosproject.org/ |
| relationship: tosca.relationships.SiteDeployment |
| relationship: tosca.relationships.UsesController |
| # This user already exists in XOS with this password |
| # It's an example of how to create new users |
| relationship: tosca.relationships.MemberOfSite |