diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-10-17 00:48:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-17 00:48:11 +0000 |
commit | 507e8c569a699ceab085e01197a32a628c3c88d9 (patch) | |
tree | d968127732826d59b2bbd21970655998449050dd /config/SampleHeat.yaml | |
parent | 2af11e64cc8b1eb321982be9618417724d529a29 (diff) | |
parent | eddc35b497362c0c01e612d66ed19c4d5c9dd328 (diff) |
Merge "Adjust directory structure"
Diffstat (limited to 'config/SampleHeat.yaml')
-rw-r--r-- | config/SampleHeat.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/SampleHeat.yaml b/config/SampleHeat.yaml new file mode 100644 index 00000000..ae9f5667 --- /dev/null +++ b/config/SampleHeat.yaml @@ -0,0 +1,36 @@ +heat_template_version: 2014-10-16 +parameters: + + private_net_name: + type: string + default: 'private_network' + + availability_zone: + type: string + description: The AvailZone. + default: compute1 + +resources: + + private_network: + type: OS::Neutron::Net + private_subnet: + type: OS::Neutron::Subnet + properties: + network_id: { get_resource: private_network } + cidr: '10.10.17.0/24' + dns_nameservers: [ '8.8.8.8' ] + gateway_ip: '10.10.17.1' + allocation_pools: [ {"start":'10.10.17.2', "end": '10.10.17.200'} ] + router_1: + type: OS::Neutron::Router + properties: + external_gateway_info: + network: { get_param: public_network } + router_interface: + type: OS::Neutron::RouterInterface + properties: + router_id: { get_resource: router_1 } + subnet: { get_resource: private_subnet } +outputs: + description: 'none' |