aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/gen_scale_out_test.yml
blob: a76ea0ac2b18060c175e481f3716bd86767cf722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) 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.
---
- hosts: localhost
  connection: local
  vars:
    vnf_range:
      - 2
      - 4
      - 10


  tasks:
    - include: scale_out_test_templates.yml
      with_items: "{{ vnf_range }}"
="p p-Indicator">: 200 host: demeter.yardstick-TC076 target: poseidon.yardstick-TC076 - type: Nstat options: duration: 300 host: poseidon.yardstick-TC076 runner: type: Iteration iterations: 1 sla: IP_datagram_error_rate: 0.01 action: monitor context: name: yardstick-TC076 image: yardstick-image flavor: yardstick-flavor user: ubuntu placement_groups: pgrp1: policy: "availability" servers: demeter: floating_ip: true placement: "pgrp1" poseidon: floating_ip: true placement: "pgrp1" networks: test: cidr: '10.0.1.0/24' {% if provider == "vlan" %} provider: {{provider}} physical_network: {{physical_network}} {% if segmentation_id %} segmentation_id: {{segmentation_id}} {% endif %} {% endif %}