Merge "Unify CGNAPT testcases TG and VNF names"
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / cgnapt-vnf-topology-3node-2.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: 2-vnf-correlated
18       name: 2-vnf-correlated
19       short-name: 2-vnf-correlated
20       description: 2-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/cgnapt_vnf.yaml      #VNF type
31         - member-vnf-index: '3'
32           vnfd-id-ref: vnf__1
33           VNF model: ../../vnf_descriptors/cgnapt_vnf.yaml      #VNF type
34
35       vld:
36         - id: uplink_0
37           name: "tg__0 to vnf__0 link 0"
38           type: ELAN
39           vnfd-connection-point-ref:
40             - member-vnf-index-ref: '0'
41               vnfd-connection-point-ref: xe0
42               vnfd-id-ref: tg__0
43             - member-vnf-index-ref: '2'
44               vnfd-connection-point-ref: xe0
45               vnfd-id-ref: vnf__0
46         - id: downlink_0
47           name: "vnf__0 to tg__1 link 0"
48           type: ELAN
49           vnfd-connection-point-ref:
50             - member-vnf-index-ref: '2'
51               vnfd-connection-point-ref: xe1
52               vnfd-id-ref: vnf__0
53             - member-vnf-index-ref: '1'
54               vnfd-connection-point-ref: xe0
55               vnfd-id-ref: tg__1
56         - id: uplink_1
57           name: "tg__0 to vnf__1 link 1"
58           type: ELAN
59           vnfd-connection-point-ref:
60             - member-vnf-index-ref: '0'
61               vnfd-connection-point-ref: xe1
62               vnfd-id-ref: tg__0
63             - member-vnf-index-ref: '3'
64               vnfd-connection-point-ref: xe0
65               vnfd-id-ref: vnf__1
66         - id: downlink_1
67           name: "vnf__1 to tg__1 link 1"
68           type: ELAN
69           vnfd-connection-point-ref:
70             - member-vnf-index-ref: '3'
71               vnfd-connection-point-ref: xe1
72               vnfd-id-ref: vnf__1
73             - member-vnf-index-ref: '1'
74               vnfd-connection-point-ref: xe1
75               vnfd-id-ref: tg__1
76