Ask Your Question

Is there a way in a Heat Template to constrain a parameter to provider nets?

asked 2019-02-13 14:20:23 -0500

Mflynn gravatar image

updated 2019-02-17 15:25:38 -0500

zaneb gravatar image

I'm trying to create a router in a heat template and want to be able to present a list of provider networks to choose from when creating the external gateway. This would be similar to the way the custom constraint shows the networks available in the project. I tried using neutron.providernet but that doesn't seem to work.

    type: string
    description: ID or name of public network for which floating IP address will be allocated
      - custom_constraint: neutron.providernet
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-17 15:31:54 -0500

zaneb gravatar image

There doesn't appear to be one, no. The complete list of available custom constraints can be found in setup.cfg. You'd be welcome to propose a new one here.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2019-02-13 14:20:23 -0500

Seen: 90 times

Last updated: Feb 17 '19