Not able to create the heat stack with resource type : OS::Neutron::ProviderNet
Hi,
Can some one please tell me what is wrong with the following stack ? The stack creation is failing !! However if I don't include one of "type: OS::Neutron::ProviderNet" or "type: OS::Neutron::Subnet" sections things seems to be working.
Thanks in advance, Vivek
description: ' HOT template to create networks that can be attached to vPFE ports.'
heat_template_version: '2013-05-23'
parameters:
mgmt_net_name:
default: mgmt_net
description: Network name for the external management network
label: Network Name
type: string
mgmt_vlan_id:
default: '301'
description: Management Network Vlan Id extended to external Switch
label: Vlan Id
type: string
resources:
mgmt_net:
type: OS::Neutron::Net
properties:
name: { get_param: mgmt_net_name }
admin_state_up: true
type: OS::Neutron::ProviderNet
properties:
admin_state_up: 'True'
name: { get_param: mgmt_net_name}
network_type: vlan
physical_network: mynetwork
segmentation_id: { get_param : mgmt_net_name }
private_subnet_0:
type: OS::Neutron::Subnet
properties:
name: { get_param: mgmt_net_name}
network_id: { get_resource : mgmt_net }
cidr: 192.168.64.0/24
enable_dhcp: False
gateway_ip: 192.168.64.254
What version of Heat are you using? What does "failing" mean? Are you getting a specific error message? What is it?
Also: your
mgmt_net
resource appears to have twotype
keys and twoproperties
keys, so either you have errors in your YAML or you have a copy-and-paste-error.