summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/config.yaml
blob: 5bbba65f7a5787cce62a816f40a4a48e7bee9837 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
defaults:
  # odl-sfc uses custom flavors as per below params
  flavor: custom
  ram_size_in_mb: 500
  disk_size_in_gb: 1
  vcpu_count: 1
  image_name: sfc_nsh_fraser
  installer:
    fuel:
      user: root
      password: r00tme
      cluster: 1  # Change this to the id of the desired fuel env (1, 2, 3...)
    apex:
      user: stack
      pkey_file: "/root/.ssh/id_rsa"
    osa:
      user: root
      pkey_file: "/root/.ssh/id_rsa"
  image_format: qcow2
  image_url: "http://artifacts.opnfv.org/sfc/images/sfc_nsh_fraser.qcow2"
  vnfd-dir: "vnfd-templates"
  vnfd-default-params-file: "test-vnfd-default-params.yaml"


testcases:
  sfc_one_chain_two_service_functions:
    enabled: true
    order: 0
    description: "ODL-SFC Testing SFs when they are located on the same chain"
    net_name: example-net
    subnet_name: example-subnet
    router_name: example-router
    subnet_cidr: "11.0.0.0/24"
    secgroup_name: "example-sg"
    secgroup_descr: "Example Security group"
    test_vnfd_red: "test-one-chain-vnfd1.yaml"
    test_vnfd_blue: "test-one-chain-vnfd2.yaml"
    test_vnffgd_red: "test-one-chain-vnffgd.yaml"

  sfc_two_chains_SSH_and_HTTP:
    enabled: false
    order: 1
    description: "ODL-SFC tests with two chains and one SF per chain"
    net_name: example-net
    subnet_name: example-subnet
    router_name: example-router
    subnet_cidr: "11.0.0.0/24"
    secgroup_name: "example-sg"
    secgroup_descr: "Example Security group"
    test_vnfd_red: "test-two-chains-vnfd1.yaml"
    test_vnfd_blue: "test-two-chains-vnfd2.yaml"
    test_vnffgd_red: "test-two-chains-vnffgd1.yaml"
    test_vnffgd_blue: "test-two-chains-vnffgd2.yaml"

  sfc_symmetric_chain:
    enabled: false
    order: 2
    description: "Verify the behavior of a symmetric service chain"
    net_name: example-net
    subnet_name: example-subnet
    router_name: example-router
    subnet_cidr: "11.0.0.0/24"
    secgroup_name: "example-sg"
    secgroup_descr: "Example Security group"
    test_vnfd: "test-symmetric-vnfd.yaml"
    allowed_source_port: 22222
    blocked_source_port: 33333

  sfc_chain_deletion:
    enabled: false
    order: 3
    description: "Verify if chains work correctly after deleting one"
    net_name: example-net
    subnet_name: example-subnet
    router_name: example-router
    subnet_cidr: "11.0.0.0/24"
    secgroup_name: "example-sg"
    secgroup_descr: "Example Security group"
    test_vnfd_red: "test-one-chain-vnfd1.yaml"
    test_vnffgd_red: "test-deletion-vnffgd.yaml"