blob: 021b4c39c784588f5938363fb37952bd35f745dc (
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
---
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"
compass:
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"
# mano_component can be [tacker, no-mano]. When no-mano,
# then networking-sfc is used
mano_component: "no-mano"
# [OPTIONAL] Only when deploying VNFs without the default image (vxlan_tool)
# vnf_image_name: xxx
# vnf_image_format: yyy
# vnf_image_url: zzz
testcases:
sfc_one_chain_two_service_functions:
class_name: "SfcOneChainTwoServiceTC"
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"
vnf_names:
- 'testVNF1'
- 'testVNF2'
supported_installers:
- 'fuel'
- 'apex'
- 'osa'
- 'compass'
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:
class_name: "SfcTwoChainsSSHandHTTP"
enabled: true
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"
vnf_names:
- 'testVNF1'
- 'testVNF2'
supported_installers:
- 'fuel'
- 'apex'
- 'osa'
- 'compass'
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:
class_name: "SfcSymmetricChain"
enabled: true
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"
vnf_names:
- 'testVNF1'
supported_installers:
- 'fuel'
- 'apex'
- 'osa'
- 'compass'
test_vnfd: "test-symmetric-vnfd.yaml"
test_vnffgd: "test-symmetric-vnffgd.yaml"
source_port: 22222
sfc_chain_deletion:
class_name: "SfcChainDeletion"
enabled: true
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"
vnf_names:
- 'testVNF1'
supported_installers:
- 'fuel'
- 'apex'
- 'osa'
- 'compass'
test_vnfd_red: "test-one-chain-vnfd1.yaml"
test_vnffgd_red: "test-deletion-vnffgd.yaml"
|