aboutsummaryrefslogtreecommitdiffstats
path: root/samples/sfc.yaml
blob: 8b1e89ffc158aaf54ebed7e8c0785564143527a7 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
##############################################################################
# Copyright (c) 2017 Ericsson AB 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
##############################################################################
#SFC test case using Tacker as Orchestrator and Netvirt as classifier

schema: "yardstick:task:0.1"

scenarios:
-
  type: sfc

  host: http_client.sfc_test1
  target: http_server.sfc_test2

  runner:
    type: Iteration
    iterations: 1
    interval: 1

contexts:
-
  name: sfc_test1
  user: root
  placement_groups:
    pgrp1:
      policy: "availability"
  servers:
    http_client:
      flavor: m1.small
      image: sfc
      floating_ip: true
      placement: "pgrp1"
  networks:
     sfc-net_mgmt:
       cidr: '11.0.0.0/24'

-

  name: sfc_test2
  user: root
  placement_groups:
    pgrp1:
      policy: "availability"
  servers:
    http_server:
      flavor: m1.small
      image: sfc
      floating_ip: true
      placement: "pgrp1"
  networks:
     sfc-net_mgmt:
       cidr: '11.0.0.0/24'