275cfcb2e2e61d09de65d596506c1d70e7d88f03
[osm/IM.git] / tests / examples / epa_sol006.yaml
1 #  Copyright 2020 Whitestack LLC
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
12 #  implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 vnfd:
17   id: epa-advanced-vnfd
18   description: vBNG VNF for performance tests, with 34 HTs
19   product-name: vbng34
20   provider: Intel
21   version: "1.0"
22   mgmt-cp: eth0-ext
23   sw-image-desc:
24     - id: intel_vbng34
25       name: intel_vbng34
26   virtual-compute-desc:
27     - id: epa-compute
28       virtual-cpu:
29         pinning: # Generic key/value pairs
30           policy: static
31           thread-policy: PREFER
32       virtual-memory:
33         size: 32
34         mempage-size: LARGE
35         numa-enabled: true # Replaces NUMA aware/unaware choice
36         numa-node-policy:
37           mem-policy: STRICT
38           node:
39             - id: "1"
40               paired-threads:
41                 num-paired-threads: "17"
42           node-cnt: "1"
43   virtual-storage-desc:
44     - id: epa-storage
45       size-of-storage: 10
46   vdu:
47     - id: epa-vdu
48       name: epa-vdu
49       sw-image-desc: intel_vbng34
50       virtual-compute-desc: epa-compute
51       virtual-storage-desc:
52         - epa-storage
53       int-cpd:
54         - id: eth0
55           virtual-network-interface-requirement:
56             - name: eth0
57               position: 1
58               virtual-interface:
59                 type: PARAVIRT
60                 bandwidth: 1000000
61                 vpci: 0000:00:0a.0
62         - id: xe0
63           virtual-network-interface-requirement:
64             - name: xe0
65               position: 2
66               virtual-interface:
67                 type: PCI-PASSTHROUGH
68                 bandwidth: 10000000000
69                 vpci: 0000:00:10.0
70         - id: xe1
71           virtual-network-interface-requirement:
72             - name: xe1
73               position: 3
74               virtual-interface:
75                 type: PCI-PASSTHROUGH
76                 bandwidth: 10000000000
77                 vpci: 0000:00:11.0
78         - id: xe2
79           virtual-network-interface-requirement:
80             - name: xe2
81               position: 4
82               virtual-interface:
83                 type: PCI-PASSTHROUGH
84                 bandwidth: 10000000000
85                 vpci: 0000:00:12.0
86         - id: xe3
87           virtual-network-interface-requirement:
88             - name: xe3
89               position: 5
90               virtual-interface:
91                 type: PCI-PASSTHROUGH
92                 bandwidth: 10000000000
93                 vpci: 0000:00:13.0
94         - id: xe4
95           virtual-network-interface-requirement:
96             - name: xe4
97               position: 6
98               virtual-interface:
99                 type: PCI-PASSTHROUGH
100                 bandwidth: 10000000000
101                 vpci: 0000:00:14.0
102         - id: xe5
103           virtual-network-interface-requirement:
104             - name: xe5
105               position: 7
106               virtual-interface:
107                 type: PCI-PASSTHROUGH
108                 bandwidth: 10000000000
109                 vpci: 0000:00:15.0
110         - id: xe6
111           virtual-network-interface-requirement:
112             - name: xe6
113               position: 8
114               virtual-interface:
115                 type: PCI-PASSTHROUGH
116                 bandwidth: 10000000000
117                 vpci: 0000:00:16.0
118         - id: xe7
119           virtual-network-interface-requirement:
120             - name: xe7
121               position: 9
122               virtual-interface:
123                 type: VIRTIO
124                 bandwidth: 10000000000
125                 vpci: 0000:00:17.0
126       supplemental-boot-data:
127         boot-data-drive: false
128   ext-cpd:
129     - id: eth0-ext
130       int-cpd:
131         vdu-id: epa-vdu
132         cpd: eth0
133     - id: xe0-ext
134       int-cpd:
135         vdu-id: epa-vdu
136         cpd: xe0
137     - id: xe1-ext
138       int-cpd:
139         vdu-id: epa-vdu
140         cpd: xe1
141     - id: xe2-ext
142       int-cpd:
143         vdu-id: epa-vdu
144         cpd: xe2
145     - id: xe3-ext
146       int-cpd:
147         vdu-id: epa-vdu
148         cpd: xe3
149     - id: xe4-ext
150       int-cpd:
151         vdu-id: epa-vdu
152         cpd: xe4
153     - id: xe5-ext
154       int-cpd:
155         vdu-id: epa-vdu
156         cpd: xe5
157     - id: xe6-ext
158       int-cpd:
159         vdu-id: epa-vdu
160         cpd: xe6
161     - id: xe7-ext
162       int-cpd:
163         vdu-id: epa-vdu
164         cpd: xe7