summaryrefslogtreecommitdiffstats
path: root/samples/ping6.yaml
blob: bc7cb27a255377e006cfa377637a2a31bcc03b2f (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample test case for ipv6

schema: "yardstick:task:0.1"

scenarios:
-
  type: Ping6
  options:
    packetsize: 200
    ping_count: 5
    host: host1,host2,host3,host4,host5
  nodes:
    host1: node1.IPV6
    host2: node2.IPV6
    host3: node3.IPV6
    host4: node4.IPV6
    host5: node5.IPV6
  runner:
    type: Iteration
    iterations: 1
    interval: 1
    run_step: 'setup,run,teardown'
  sla:
    max_rtt: 10
    action: monitor


context:
  type: Node
  name: IPV6
  file: /root/yardstick/etc/yardstick/nodes/compass_sclab_virtual/pod.yaml
an class="si">} RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/storperf ${STORPERF_REPO_DIR} RUN ansible-playbook -i ${YARDSTICK_REPO_DIR}/ansible/install-inventory.ini -c local -vvv -e INSTALLATION_MODE="container" ${YARDSTICK_REPO_DIR}/ansible/install.yaml RUN ${YARDSTICK_REPO_DIR}/docker/supervisor.sh RUN echo "daemon off;" >> /etc/nginx/nginx.conf # nginx=5000, rabbitmq=5672 EXPOSE 5000 5672 ADD http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img ${IMAGE_DIR} ADD http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img ${IMAGE_DIR} # For developers: when `docker build ...` is running from YARDSTICK_REPO_DIR, please change # path `./exec_tests.sh` -> `./docker/exec_tests.sh``. COPY ./exec_tests.sh /usr/local/bin/ ENV NSB_DIR="/opt/nsb_bin" ENV PYTHONPATH="${PYTHONPATH}:${NSB_DIR}/trex_client:${NSB_DIR}/trex_client/stl" WORKDIR ${REPOS_DIR} CMD ["/usr/bin/supervisord"]