Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am trying to create networks using the for_each loop and receiveing unknown properties rules

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 -f json -t base.yaml ERROR: Property error: resources.networks.properties: Unknown Property rules

I am trying to create networks using the for_each loop and receiveing unknown properties rules

heat yaml:

heat_template_version: 2018-08-31

parameters: netName: type: comma_delimited_list label: netName default: "calea,diam,ss7,proxy" description: Network name

name resources: networks: type: OS::Neutron::Net properties: rules: repeat: for_each: <%name%>: { get_param: netName } template: name: list_join: ['_', [ 'int', <%name%>, 'net']]

'net']]

Error:

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

I am trying to create networks using the for_each loop and receiveing unknown properties rules

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 -f json -t base.yaml ERROR: Property error: resources.networks.properties: Unknown Property rules

I am trying to create networks using the for_each loop and receiveing unknown properties rules

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 -f json -t base.yaml ERROR: Property error: resources.networks.properties: Unknown Property rules

I am trying to create networks using the for_each loop and receiveing unknown properties rulesreceiving "Unknown Property rules"

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 -f json -t base.yaml ERROR: Property error: resources.networks.properties: Unknown Property rules