Ask Your Question
0

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 neutron.network custom constraint shows the networks available in the project. I tried using neutron.providernet but that doesn't seem to work.

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

1 answer

Sort by ยป oldest newest most voted
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 21 times

Last updated: Feb 17