Migrate Trex TG to use new NSPerf-RFC2544 scenario
[yardstick.git] / samples / vnf_samples / nsut / vfw / vfw-tg-topology-3node-4.yaml
1 # Copyright (c) 2016 Intel Corporation
2 #
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
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 ---
15 nsd:nsd-catalog:
16   nsd:
17     - id: 4-vnf-correlated
18       name: 4-vnf-correlated
19       short-name: 4-vnf-correlated
20       description: 4-vnf-correlated
21       constituent-vnfd:
22         - member-vnf-index: '0'
23           vnfd-id-ref: tg__0
24           VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml      #VNF type
25         - member-vnf-index: '1'
26           vnfd-id-ref: tg__1
27           VNF model: ../../vnf_descriptors/udp_replay_vnf.yaml      #VNF type
28         - member-vnf-index: '2'
29           vnfd-id-ref: vnf__0
30           VNF model: ../../vnf_descriptors/vfw_vnf.yaml      #VNF type
31         - member-vnf-index: '3'
32           vnfd-id-ref: vnf__1
33           VNF model: ../../vnf_descriptors/vfw_vnf.yaml      #VNF type
34         - member-vnf-index: '4'
35           vnfd-id-ref: vnf__2
36           VNF model: ../../vnf_descriptors/vfw_vnf.yaml      #VNF type
37         - member-vnf-index: '5'
38           vnfd-id-ref: vnf__3
39           VNF model: ../../vnf_descriptors/vfw_vnf.yaml      #VNF type
40
41       vld:
42         - id: uplink_0
43           name: "tg__0 to vnf__0 link 0"
44           type: ELAN
45           vnfd-connection-point-ref:
46             - member-vnf-index-ref: '0'
47               vnfd-connection-point-ref: xe0
48               vnfd-id-ref: tg__0
49             - member-vnf-index-ref: '2'
50               vnfd-connection-point-ref: xe0
51               vnfd-id-ref: vnf__0
52         - id: downlink_0
53           name: "vnf__0 to tg__1 link 0"
54           type: ELAN
55           vnfd-connection-point-ref:
56             - member-vnf-index-ref: '2'
57               vnfd-connection-point-ref: xe1
58               vnfd-id-ref: vnf__0
59             - member-vnf-index-ref: '1'
60               vnfd-connection-point-ref: xe0
61               vnfd-id-ref: tg__1
62         - id: uplink_1
63           name: "tg__0 to vnf__1 link 1"
64           type: ELAN
65           vnfd-connection-point-ref:
66             - member-vnf-index-ref: '0'
67               vnfd-connection-point-ref: xe1
68               vnfd-id-ref: tg__0
69             - member-vnf-index-ref: '3'
70               vnfd-connection-point-ref: xe0
71               vnfd-id-ref: vnf__1
72         - id: downlink_1
73           name: "vnf__1 to tg__1 link 1"
74           type: ELAN
75           vnfd-connection-point-ref:
76             - member-vnf-index-ref: '3'
77               vnfd-connection-point-ref: xe1
78               vnfd-id-ref: vnf__1
79             - member-vnf-index-ref: '1'
80               vnfd-connection-point-ref: xe1
81               vnfd-id-ref: tg__1
82         - id: uplink_2
83           name: "tg__0 to vnf__2 link 2"
84           type: ELAN
85           vnfd-connection-point-ref:
86             - member-vnf-index-ref: '0'
87               vnfd-connection-point-ref: xe2
88               vnfd-id-ref: tg__0
89             - member-vnf-index-ref: '4'
90               vnfd-connection-point-ref: xe0
91               vnfd-id-ref: vnf__2
92         - id: downlink_2
93           name: "vnf__2 to tg__1 link 2"
94           type: ELAN
95           vnfd-connection-point-ref:
96             - member-vnf-index-ref: '4'
97               vnfd-connection-point-ref: xe1
98               vnfd-id-ref: vnf__2
99             - member-vnf-index-ref: '1'
100               vnfd-connection-point-ref: xe2
101               vnfd-id-ref: tg__1
102         - id: uplink_3
103           name: "tg__0 to vnf__3 link 3"
104           type: ELAN
105           vnfd-connection-point-ref:
106             - member-vnf-index-ref: '0'
107               vnfd-connection-point-ref: xe3
108               vnfd-id-ref: tg__0
109             - member-vnf-index-ref: '5'
110               vnfd-connection-point-ref: xe0
111               vnfd-id-ref: vnf__3
112         - id: downlink_3
113           name: "vnf__3 to tg__1 link 3"
114           type: ELAN
115           vnfd-connection-point-ref:
116             - member-vnf-index-ref: '5'
117               vnfd-connection-point-ref: xe1
118               vnfd-id-ref: vnf__3
119             - member-vnf-index-ref: '1'
120               vnfd-connection-point-ref: xe3
121               vnfd-id-ref: tg__1
122