blob: 6ecbb82bdc8b5ac72fa025cb779162f2c66ca1cc [file] [log] [blame]
garciaale76f6a622020-11-19 17:57:42 -03001# 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# Using new SOL006-based OSM model
17
18vnfd:
19 id: vnfd
20 mgmt-cp: vnf-mgmt-ext
21
22 ext-cpd:
23 - id: vnf-mgmt-ext
24 int-cpd:
25 vdu-id: mgmtVM
26 cpd: vnf-mgmt-int
27 - id: vnf-data-ext
28 int-cpd:
29 vdu-id: dataVM
30 cpd: vnf-data-int
31
32 int-virtual-link-desc:
33 - id: internal
34
35 vdu:
36 - id: mgmtVM
37 int-cpd:
38 - id: vnf-mgmt-int
39 virtual-network-interface-requirement:
40 - name: mgmtVM-eth0
41 position: "1"
42 virtual-interface:
43 type: VIRTIO
44 - id: mgmtVM-internal
45 int-virtual-link-desc: internal
46 virtual-network-interface-requirement:
47 - name: mgmtVM-eth1
48 position: "2"
49 virtual-interface:
50 type: VIRTIO
51
52 - id: dataVM
53 int-cpd:
54 - id: dataVM-internal
55 int-virtual-link-desc: internal
56 virtual-network-interface-requirement:
57 - name: dataVM-eth0
58 position: "1"
59 virtual-interface:
60 type: VIRTIO
61 - id: vnf-data-int
62 virtual-network-interface-requirement:
63 - name: dataVM-xe0
64 position: "2"
65 virtual-interface:
66 type: VIRTIO