1 # Copyright (c) 2017 Intel Corporation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 - include: ubuntu_server_baremetal_deploy_samplevnfs.yml
21 - install_dependencies
24 - include: build_yardstick_image.yml
28 when: openrc_file is defined
30 - include: clean_images.yml
31 when: openrc_file is defined
36 name: yardstick-samplevnfs
39 container_format: bare
40 filename: "{{ raw_imgfile }}"
41 environment: "{{ openrc }}"
42 when: openrc_file is defined
44 - name: Start yardstick container
47 image: opnfv/yardstick:latest
50 restart_policy: always
54 - "{{ openrc_file|default('/dev/null') }}:/etc/yardstick/openstack.creds:ro"
55 - /var/run/docker.sock:/var/run/docker.sock