aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml
diff options
context:
space:
mode:
authoruser <user@TRAFCLASS-PACKET1.fuel.local>2016-01-13 12:36:50 -0500
committerVincenzo Riccobene <vincenzox.m.riccobene@intel.com>2016-01-14 09:12:00 +0000
commit174560a6b7d4a23763564fcfc87c2dd7e60aa241 (patch)
treefae381ec8b1dc4d278990f780c3b71997ee33364 /yardstick/vTC/apexlake/heat_templates/stress_workload.yaml
parent55f7c41c927320a3dac5a0907ebf66647aafd8a8 (diff)
Fix small bugs for running Apexlake on Montreal testbed
JIRA: YARDSTICK-219 Change-Id: I5f403e6c922f5e6ea790dc9cdb589cbc98e66ded Signed-off-by: user <user@TRAFCLASS-PACKET1.fuel.local>
Diffstat (limited to 'yardstick/vTC/apexlake/heat_templates/stress_workload.yaml')
-rw-r--r--yardstick/vTC/apexlake/heat_templates/stress_workload.yaml36
1 files changed, 3 insertions, 33 deletions
diff --git a/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml b/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml
index 1a2f7dbb3..85477fe85 100644
--- a/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml
+++ b/yardstick/vTC/apexlake/heat_templates/stress_workload.yaml
@@ -2,9 +2,6 @@ heat_template_version: 2014-10-16
description: HOT template to create a DPI
parameters:
- nic_type:
- type: string
- default: normal
name:
type: string
default: cpu_stress
@@ -24,44 +21,17 @@ resources:
network_id: { get_resource: internal_net }
cidr: 10.100.0.0/24
- router:
- properties:
- admin_state_up: true
- name: router
- type: OS::Neutron::Router
-
- router_gateway:
- properties:
- network: external
- router_id: { get_resource: router }
- type: OS::Neutron::RouterGateway
-
- router_interface_0:
- properties:
- router_id: { get_resource: router }
- subnet_id: { get_resource: internal_subnet }
- type: OS::Neutron::RouterInterface
-
- vm1_port_1:
+ port:
type: OS::Neutron::Port
properties:
network: { get_resource: internal_net }
- binding:vnic_type: { get_param: nic_type }
fixed_ips:
- subnet: { get_resource: internal_subnet }
- flavor_1:
- type: OS::Nova::Flavor
- properties:
- disk: 20
- ram: 4096
- vcpus: 4
-
vm1:
type: OS::Nova::Server
properties:
name: traffic_vm1
- key_name: test
image: ubuntu1404
user_data:
str_replace:
@@ -107,6 +77,6 @@ resources:
$CORES: { get_param: cores }
$MEMORY: { get_param: memory }
- flavor: { get_resource: flavor_1 }
+ flavor: m1.small
networks:
- - port: { get_resource: vm1_port_1 }
+ - port: { get_resource: port }