heat-templates/cfn/Quantum_floating.template
Steven Hardy de67cecf92 Initial import of heat repo content
Initial import of content which currently exists in the main heat repo

Change-Id: I326801f7e7274a1f8b41d4e0be733da0f80ebbcc
2013-04-27 13:51:55 +01:00

53 lines
1.2 KiB
Plaintext

{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Template to test Quantum resources",
"Parameters" : {
"external_network" : {
"Description" : "UUID of an existing external network",
"Type" : "String"
},
"internal_network" : {
"Description" : "UUID of an existing internal network",
"Type" : "String"
},
"internal_subnet" : {
"Description" : "UUID of an existing internal subnet",
"Type" : "String"
}
},
"Resources" : {
"port_floating": {
"Type": "OS::Quantum::Port",
"Properties": {
"network_id": { "Ref" : "internal_network" },
"fixed_ips": [{
"subnet_id": { "Ref" : "internal_subnet" },
"ip_address": "10.0.0.10"
}]
}
},
"floating_ip": {
"Type": "OS::Quantum::FloatingIP",
"Properties": {
"floating_network_id": { "Ref" : "external_network" }
}
},
"floating_ip_assoc": {
"Type": "OS::Quantum::FloatingIPAssociation",
"Properties": {
"floatingip_id": { "Ref" : "floating_ip" },
"port_id": { "Ref" : "port_floating" }
}
}
},
"Outputs" : {
}
}