summaryrefslogtreecommitdiffstats
path: root/tools/files
diff options
context:
space:
mode:
authorKaspars Skels <kaspars.skels@att.com>2019-09-06 17:52:10 -0500
committerKaspars Skels <kaspars.skels@att.com>2019-09-06 17:56:40 -0500
commit393e530b6b8f2b14d40022f65f15a1925a0e9377 (patch)
tree86ca2785687188cb3b53a091c22b9ced3bd70b22 /tools/files
parentdb6ea6adf7028d0d04574e6d1ec196a197621ce9 (diff)
Update test/deploy scripts
Change-Id: Ia53ec842c5b56f9cc9e42f88ceaf7b45171dd8e6 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
Diffstat (limited to 'tools/files')
-rw-r--r--tools/files/heat-public-net-deployment.yaml70
1 files changed, 70 insertions, 0 deletions
diff --git a/tools/files/heat-public-net-deployment.yaml b/tools/files/heat-public-net-deployment.yaml
new file mode 100644
index 0000000..5309d1a
--- /dev/null
+++ b/tools/files/heat-public-net-deployment.yaml
@@ -0,0 +1,70 @@
+heat_template_version: ocata
+
+parameters:
+ network_name:
+ type: string
+ default: public
+
+ physical_network_name:
+ type: string
+ default: public
+
+ physical_network_interface:
+ type: string
+ default: external
+
+ subnet_name:
+ type: string
+ default: public
+
+ subnet_cidr:
+ type: string
+ default: 10.10.175.0/24
+
+ subnet_gateway:
+ type: string
+ default: 10.10.175.1
+
+ subnet_pool_start:
+ type: string
+ default: 10.10.175.11
+
+ subnet_pool_end:
+ type: string
+ default: 10.10.175.99
+
+resources:
+ public_net:
+ type: OS::Neutron::ProviderNet
+ properties:
+ admin_state_up: true
+ name:
+ get_param: network_name
+ network_type: flat
+ physical_network:
+ get_param: physical_network_interface
+ port_security_enabled: true
+ router_external: true
+ shared: true
+
+ private_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ name:
+ get_param: subnet_name
+ network:
+ get_resource: public_net
+ cidr:
+ get_param: subnet_cidr
+ gateway_ip:
+ get_param: subnet_gateway
+ enable_dhcp: true
+ allocation_pools:
+ - start:
+ get_param: subnet_pool_start
+ end:
+ get_param: subnet_pool_end
+ dns_nameservers:
+ - 8.8.8.8
+ - 8.8.4.4
+