Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / samples / sfc.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Ericsson AB and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 #SFC test case using Tacker as Orchestrator and Netvirt as classifier
10
11 schema: "yardstick:task:0.1"
12
13 scenarios:
14 -
15   type: sfc
16
17   host: http_client.sfc_test1
18   target: http_server.sfc_test2
19
20   runner:
21     type: Iteration
22     iterations: 1
23     interval: 1
24
25 contexts:
26 -
27   name: sfc_test1
28   user: root
29   placement_groups:
30     pgrp1:
31       policy: "availability"
32   servers:
33     http_client:
34       flavor: m1.small
35       image: sfc
36       floating_ip: true
37       placement: "pgrp1"
38   networks:
39      sfc-net_mgmt:
40        cidr: '11.0.0.0/24'
41
42 -
43
44   name: sfc_test2
45   user: root
46   placement_groups:
47     pgrp1:
48       policy: "availability"
49   servers:
50     http_server:
51       flavor: m1.small
52       image: sfc
53       floating_ip: true
54       placement: "pgrp1"
55   networks:
56      sfc-net_mgmt:
57        cidr: '11.0.0.0/24'
58