Skip to content

Instantly share code, notes, and snippets.

@danehans
Last active August 29, 2015 14:07
Show Gist options
  • Save danehans/9cc97918e52e72ab9422 to your computer and use it in GitHub Desktop.
Save danehans/9cc97918e52e72ab9422 to your computer and use it in GitHub Desktop.
icehouse heat neutron provider hot
heat_template_version: 2013-05-23
parameters:
# Note: You may want to remove this param and assoc resource and have Heat gen a unique name.
# Note: You may also not want to set a default.
ext_net_name:
type: string
description: name of ext net
default: ext-net
# Note: You can get fancy by resticting/validating inputs to vlan/flat.
ext_net_type:
type: string
description: type of ext net. Options are vlan and flat.
default: flat
ext_phys_net:
type: string
description: name of phys net.
default: physnet1
ext_seg_id:
type: string
description: VLAN ID/IDs to map to ext_phys_net. Defaults to none
default:
ext_net_shared:
type: boolean
description: Share this ext net with other tenants? True/False.
default: True
ext_net23:
type: OS::Neutron::ProviderNet
properties:
admin_state_up: True
name: {get_param: ext_net_name}
network_type: {get_param: ext_net_type}
physical_network: {get_param: ext_phys_net}
segmentation_id: {get_param: ext_seg_id}
shared: {get_param: ext_net_shared}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment