Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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

192.168.64.254