How to attach an interface to existing router in heat template ?
See the following snnipet of my .yaml file My requirement is to attach new interfaces to existing router only in my openstack project. If I hard-code router uuid like listed below, it works fine. But when I provide using "get_param: Router id" by putting router_id at command line parameter, it gives error while creating heat stack saying Router : <router id=""> not found..! Please help me, I'm not getting how to resolve it! I am using version 2014-10-16 heat template.
resources :
router_interface1:
type: OS::Neutron::RouterInterface
properties:
#router_id: "e66e15c2-984b-42fe-9bcc-e36779f9b930"
router_id: { get_param: Router_id }
subnet_id: { get_resource: Management_subnet }
router_interface2:
type: OS::Neutron::RouterInterface
properties:
#router_id: "e66e15c2-984b-42fe-9bcc-e36779f9b930"
router_id: { get_param: Router_id }
subnet_id: { get_param: AP-WLC_subnet_id }
This ought to work. Can you include the parameters section of your template as well? It sounds like
get_param
is evaluating to an empty string for some reason.