Ask Your Question
0

trying to create networks using the for_each loop and receiving "Unknown Property rules"

asked 2020-04-27 15:16:17 -0500

GSCORREA gravatar image

updated 2020-04-27 16:23:26 -0500

heat yaml:

heat_template_version: 2018-08-31

parameters:
netName:
  type: comma_delimited_list
  label: netName
  default: "calea,diam,ss7,proxy"
  description: Network name
resources:
  networks:
  type: OS::Neutron::Net
properties:
  rules:
    repeat:
      for_each:
        <%name%>: { get_param: netName }
      template:
        name: 
          list_join: ['_', [ 'int', <%name%>, 'net']]

Error:

openstack orchestration template validate -t base.yaml ERROR: Property error: resources.networks.properties: Unknown Property rules

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-27 17:42:16 -0500

updated 2020-04-27 17:45:24 -0500

The indentation is incorrect, but I am guessing this is a typo.

More importantly, I don't see a property named rulesin OS:Neutron::Net. See the resource documentation: https://docs.openstack.org/heat/rocky....

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

1 follower

Stats

Asked: 2020-04-27 15:16:17 -0500

Seen: 89 times

Last updated: Apr 27