samples: Add generic L3 forwarder tests
[yardstick.git] / samples / vnf_samples / nsut / router / router-tg-topology-6port.yaml
1 # Copyright (c) 2016-2017 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: router-tg-topology
18         name: router-tg-topology
19         short-name: router-tg-topology
20         description: router-tg-topology
21         constituent-vnfd:
22         -   member-vnf-index: '1'
23             vnfd-id-ref: tg__0
24             VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml      #VNF type
25         -   member-vnf-index: '2'
26             vnfd-id-ref: vnf__0
27             VNF model: ../../vnf_descriptors/router_vnf.yaml      #VNF type
28
29         vld:
30         -   id: uplink_0
31             name: tg__0 to vnf__0 link 1
32             type: ELAN
33             vnfd-connection-point-ref:
34             -   member-vnf-index-ref: '1'
35                 vnfd-connection-point-ref: xe0
36                 vnfd-id-ref: tg__0
37             -   member-vnf-index-ref: '2'
38                 vnfd-connection-point-ref: xe0
39                 vnfd-id-ref: vnf__0
40         -   id: downlink_0
41             name: vnf__0 to tg__0 link 2
42             type: ELAN
43             vnfd-connection-point-ref:
44             -   member-vnf-index-ref: '2'
45                 vnfd-connection-point-ref: xe1
46                 vnfd-id-ref: vnf__0
47             -   member-vnf-index-ref: '1'
48                 vnfd-connection-point-ref: xe1
49                 vnfd-id-ref: tg__0
50
51         -   id: uplink_1
52             name: tg__0 to vnf__0 link 3
53             type: ELAN
54             vnfd-connection-point-ref:
55             -   member-vnf-index-ref: '1'
56                 vnfd-connection-point-ref: xe2
57                 vnfd-id-ref: tg__0
58             -   member-vnf-index-ref: '2'
59                 vnfd-connection-point-ref: xe2
60                 vnfd-id-ref: vnf__0
61         -   id: downlink_1
62             name: vnf__0 to tg__0 link 4
63             type: ELAN
64             vnfd-connection-point-ref:
65             -   member-vnf-index-ref: '2'
66                 vnfd-connection-point-ref: xe3
67                 vnfd-id-ref: vnf__0
68             -   member-vnf-index-ref: '1'
69                 vnfd-connection-point-ref: xe3
70                 vnfd-id-ref: tg__0
71         -   id: uplink_2
72             name: tg__0 to vnf__0 link 5
73             type: ELAN
74             vnfd-connection-point-ref:
75             -   member-vnf-index-ref: '1'
76                 vnfd-connection-point-ref: xe4
77                 vnfd-id-ref: tg__0
78             -   member-vnf-index-ref: '2'
79                 vnfd-connection-point-ref: xe4
80                 vnfd-id-ref: vnf__0
81         -   id: downlink_2
82             name: vnf__0 to tg__0 link 6
83             type: ELAN
84             vnfd-connection-point-ref:
85             -   member-vnf-index-ref: '2'
86                 vnfd-connection-point-ref: xe5
87                 vnfd-id-ref: vnf__0
88             -   member-vnf-index-ref: '1'
89                 vnfd-connection-point-ref: xe5
90                 vnfd-id-ref: tg__0