summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2019-10-18 14:35:14 +0530
committerKaspars Skels <kaspars.skels@att.com>2019-10-28 17:44:13 -0500
commit799182f0c40730e41253dc5c861857d219291c3b (patch)
tree5138ae74cbbffb8aaf47929d063254c0043773d5 /tools
parentc053e71f295dc91ee60bbdcbcf99d909923af3b0 (diff)
Site definition for Intel Pod-10
This patch adds site definition for Intel Pod-10. Updated publickeys of luc and trevor Updated site-definition Updated divingbell Modifying common parts - FOR TESTING ONLY - Will be removed Trying with only 1 disk (bootdisk) Trying with 2 disks - /dev/sda as bootdisk, /dev/sdb as datadisk Change ceph config from directory to /dev/sdb (OSD-data only) Change ceph config from directory to /dev/sdb (OSD-Journl too) Reduce footprint of osh-infra (reduce disk pressure) Move ceph to site specific manifests Fix pod10 host/hardware profiles to be site local Fix Nova/Neutron parts to be site local Fix glance cirros image pull Fix type to site layer names for moved files Rename pod10 hardware/host profiles Move ceph fully to /dev/sdb Disable SR-IOV configuration Optimize disk storage for Nova VMs (use root disk or 3T) Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I2160e56744917510d4627cefca32031904188f77
Diffstat (limited to 'tools')
-rw-r--r--tools/files/heat-public-net-deployment-pod10.yaml70
-rwxr-xr-xtools/pod10prep.sh7
2 files changed, 77 insertions, 0 deletions
diff --git a/tools/files/heat-public-net-deployment-pod10.yaml b/tools/files/heat-public-net-deployment-pod10.yaml
new file mode 100644
index 0000000..1a35a5b
--- /dev/null
+++ b/tools/files/heat-public-net-deployment-pod10.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.105.0/24
+
+ subnet_gateway:
+ type: string
+ default: 10.10.105.20
+
+ subnet_pool_start:
+ type: string
+ default: 10.10.105.29
+
+ subnet_pool_end:
+ type: string
+ default: 10.10.105.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
+
diff --git a/tools/pod10prep.sh b/tools/pod10prep.sh
new file mode 100755
index 0000000..69982ce
--- /dev/null
+++ b/tools/pod10prep.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -x
+
+sed -i 's/ens785f1/eno4/g' ../type/cntt/software/charts/osh/openstack-compute-kit/neutron.yaml
+
+cp files/heat-public-net-deployment-pod10.yaml files/heat-public-net-deployment.yaml