Merge "Add 4 port topology for agnostic vnf and Ixia tg"
[yardstick.git] / samples / vnf_samples / nsut / agnostic / agnostic_vnf_topology_trex_2ports.yaml
1 # Copyright (c) 2018 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 nsd:nsd-catalog:
15     nsd:
16     -   id: agnostic-topology
17         name: agnostic-topology
18         short-name: agnostic-topology
19         description: agnostic-topology
20         constituent-vnfd:
21         -   member-vnf-index: '1'
22             vnfd-id-ref: tg__0
23             VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml      #TG type
24         -   member-vnf-index: '2'
25             vnfd-id-ref: vnf__0
26             VNF model: ../../vnf_descriptors/agnostic_vnf.yaml      #VNF type
27
28         vld:
29         -   id: uplink_0
30             name: tg__0 to vnf__0 link 1
31             type: ELAN
32             vnfd-connection-point-ref:
33             -   member-vnf-index-ref: '1'
34                 vnfd-connection-point-ref: xe0
35                 vnfd-id-ref: tg__0
36             -   member-vnf-index-ref: '2'
37                 vnfd-connection-point-ref: xe0
38                 vnfd-id-ref: vnf__0
39
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