727a59e512
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
14 lines
441 B
Plaintext
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" }
|
|
}
|
|
}
|