diff options
author | 2016-10-12 15:32:52 +0800 | |
---|---|---|
committer | 2016-10-14 17:16:00 +0800 | |
commit | eddc35b497362c0c01e612d66ed19c4d5c9dd328 (patch) | |
tree | 9a9c792a002fce40782158b9d645e597d3606f1b /config/SampleHeat.yaml | |
parent | 975e241de4d4bf3839c788ad743d0cc077e23bd4 (diff) |
Adjust directory structure
qtip
!
+---- scripts
! !
! +----ref_result # python scripts to generate results report
! +----fetch_compute_ips.sh
! +----fetch_os_creds.sh
! +----file_permission.sh
! +----get_env_info.sh
! +----qtip_creds.sh
! +----ssh_exch.exp
!
+---- config
! !
! +---- Qtip_key
! +---- Qtip_key.pub
! +---- SampleHeat.yaml
!
+---- utils
! !
! +---- logger_utils.py
! +---- report # generate pdf report file
Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
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' |