Guest User

Untitled

a guest
May 31st, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. resources:
  2. mysql_virtual_ip_port:
  3. type: OS::Neutron::Port
  4. properties:
  5. fixed_ips: [{"ip_address": { get_param: mysql_virtual_ip }, "subnet_id": { get_param: data_network_subnet }}]
  6. network: { get_param: data_network }
  7.  
  8. mysql_port:
  9. type: OS::Neutron::Port
  10. properties:
  11. network: { get_param: data_network }
  12. allowed_address_pairs: [ { get_attr: [mysql_virtual_ip_port,fixed_ips,0,ip_address] } ]
  13.  
  14. test_vm:
  15. type: OS::Nova::Server
  16. properties:
  17. name: test
  18. image: cirros
  19. flavor: m1.tiny
  20. networks: [ { port: { get_resource: mysql_port } } ]
  21. key_name: testkey
  22. #security_groups: [default]
  23. user_data: { get_param: vm_user_data }
Add Comment
Please, Sign In to add comment