blob: 3673bed0c1a5917bbd10bcee5b5bbd869510b46f [file] [log] [blame]
Tomás Villasecaa54e27d2020-04-21 10:34:13 -04001# 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
21 mgmt-interface:
22 cp: vnf-mgmt
23
24 ext-cpd:
25 - id: vnf-mgmt # Name and id are redundant. Merged into id.
26 short-name: vnf-mgmt
27 type: VPORT
28 - id: vnf-data
29 short-name: vnf-data
30 type: VPORT
31
32 int-virtual-link-desc:
33 - id: internal # Name and id are redundant. Merged into id.
34 short-name: internal
35 type: ELAN # Is this used? If it is I'll include it in an augment.
36
37 vdu:
38 - id: mgmtVM
39
40 interface:
41 - name: mgmtVM-eth0
42 position: "1"
43 type: EXTERNAL
44 virtual-interface:
45 type: VIRTIO
46 external-connection-point-ref: vnf-mgmt
47 - name: mgmtVM-eth1
48 position: "2"
49 type: INTERNAL
50 virtual-interface:
51 type: VIRTIO
52 internal-connection-point-ref: mgmtVM-internal
53
54 int-cpd:
55 - id: mgmtVM-internal
56 short-name: mgmtVM-internal
57 type: VPORT
58 int-virtual-link-desc: internal # In SOL006 the reference is from CPD to VLD
59
60 - id: dataVM
61
62 interface:
63 - name: dataVM-eth0
64 position: "1"
65 type: INTERNAL
66 virtual-interface:
67 type: VIRTIO
68 internal-connection-point-ref: dataVM-internal
69 - name: dataVM-xe0
70 position: "2"
71 type: EXTERNAL
72 virtual-interface:
73 type: VIRTIO
74 external-connection-point-ref: vnf-data
75
76 int-cpd:
77 - id: dataVM-eth0
78 short-name: dataVM-internal
79 type: VPORT
80 int-virtual-link-desc: internal # In SOL006 the reference is from CPD to VLD