diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 20:10:20 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 20:46:46 -0700 |
commit | d455f3b56c866b0e61394a01f0a07e05831f3044 (patch) | |
tree | f1d3a289a70fb9265d6f891e4bde5fbf63d44612 /yardstick/vTC/apexlake/heat_templates/stress_workload.yaml | |
parent | 5ad208bd8d0c1798179de226f28f1e1ec03033fa (diff) |
DRAFT: remove apexlake
apexlake is unmaintained, so remove it
From some reason orchestrator/heat.py started failing
so fixup those unittests
Change-Id: Ie06508b5ab7c9dcf9fdfca83e173a188a894d564
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'yardstick/vTC/apexlake/heat_templates/stress_workload.yaml')
-rw-r--r-- | yardstick/vTC/apexlake/heat_templates/stress_workload.yaml | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml b/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml deleted file mode 100644 index 559f46d92..000000000 --- a/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright (c) 2016-2017 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -heat_template_version: 2014-10-16 -description: HOT template to create a DPI - -parameters: - name: - type: string - default: cpu_stress - cores: - type: string - memory: - type: string - network: - type: string - subnet: - type: string - -resources: - port: - type: OS::Neutron::Port - properties: - network: { get_param: network } - fixed_ips: - - subnet: { get_param: subnet } - - vm1: - type: OS::Nova::Server - properties: - name: traffic_vm1 - image: ubuntu1404 - user_data: - str_replace: - template: | - #!/bin/sh - echo "Creating custom user..." - useradd clouduser -g admin -s /bin/bash -m - echo clouduser:secrete | chpasswd - echo "Enabling ssh password login..." - sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config - service ssh restart - sleep 1 - - ifconfig eth1 up - dhclient eth1 - - sed -i 's/localhost/localhost traffic_vm1/g' /etc/hosts - touch /etc/resolvconf/resolv.conf.d/tail - echo 'nameserver 10.118.32.193' > /etc/resolvconf/resolv.conf.d/tail - resolvconf -u - echo 'nameserver 10.118.32.193' > /etc/resolv.conf - - - # Installation of stress - apt-get install -y stress - - cd /home/clouduser - - # workload setup - echo 'stress -c $CORES --vm-bytes $MEMORY' > ./stress.sh - chmod +x ./stress.sh - nohup ./stress.sh & - #nohup stress -c #CORES --vm-bytes #MEMORY - - params: - $NAME: { get_param: name } - $CORES: { get_param: cores } - $MEMORY: { get_param: memory } - - flavor: m1.small - networks: - - port: { get_resource: port } |