deb-sahara/sahara/resources/nova-floating.heat
Sergey Reshetnyak 727a59e512 Fix working sahara with heat and nova-network
Uses OS::Nova::FloatingIP and OS::Nova::FloatingIPAssociation
heat resources for assignment floating ip

Added two unit tests:
* for nova-network with autoassignment floating ip
* for nova-network without autoassignment floating ip

Change-Id: I82a28759bc13992d765969ef8143bd364dc7cf2d
Closes-bug: #1259176
2014-05-22 14:51:35 +04:00

14 lines
441 B
Plaintext

"%(floating_ip_name)s": {
"Type": "OS::Nova::FloatingIP",
"Properties": {
"pool": "%(pool)s"
}
},
"%(floating_ip_assoc_name)s": {
"Type": "OS::Nova::FloatingIPAssociation",
"Properties": {
"floating_ip": { "Ref" : "%(floating_ip_name)s" },
"server_id": { "Ref" : "%(instance_name)s" }
}
}