Github user andreaturli commented on a diff in the pull request:
https://github.com/apache/brooklyn-docs/pull/81#discussion_r68553079
--- Diff: guide/ops/locations/_more-clouds.md ---
@@ -300,7 +306,94 @@ Configuration of floating IPs is as networks; specify
the pools to use as anothe
- "pool name"
+### Basic Location Structure
+
+This is a basic inline YAML template for an OpenStack location:
+
+```
+location:
+ jclouds:clouds:openstack-nova:
+ endpoint: http://x.x.x.x:5000/v2.0/
+ identity: "your-tenant:your-username"
+ credential: your-password
+
+ imageId: your-region-name/your-image-id
+ hardwareId: your-region-name/your-flavor-id
+ loginUser: 'ubuntu'
+ loginUser.privateKeyFile: /path/to/your/privatekey
+ jclouds.openstack-nova.auto-generate-keypairs: false
+ jclouds.openstack-nova.auto-create-floating-ips: true
+
+ templateOptions:
+ networks: [ "your-network-id" ]
+ floatingIpPoolNames: [ "your-floatingIp-pool" ]
+ securityGroups: ['your-security-group']
+ keyPairName: "your-keypair"
--- End diff --
with `jclouds.openstack-nova.auto-generate-keypairs: false` then you may
want to specify a `keyPairName` otherwise keyPairName is optional. We should
find a better way to make it explicit
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---