Enhance CLI NS launch with config parameter
[osm/devops.git] / descriptor-packages / vnfd / hackfest_epasriov_vnf / src / hackfest_epasriov_vnfd.yaml
1 # -*- coding: utf-8 -*-
2
3 ##
4 # Copyright 2019 ETSI
5 #
6 # All Rights Reserved.
7 #
8 # Licensed under the Apache License, Version 2.0 (the "License"); you may
9 # not use this file except in compliance with the License. You may obtain
10 # a copy of the License at
11 #
12 #         http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
17 # License for the specific language governing permissions and limitations
18 # under the License.
19 ##
20
21 ## Change log:
22 # 1. Feature 7829: Mrityunjay Yadav, Jayant Madavi : MY00514913@techmahindra.com
23 # 19-aug-2019 : changed vdu image from hackfest3-mgmt & hackfest-pktgen to ubuntu1604
24 ##
25
26 vnfd:vnfd-catalog:
27     vnfd:
28     -   id: hackfest_epasriov-vnf
29         name: hackfest_epasriov-vnf
30         short-name: hackfest_epasriov-vnf
31         version: '1.0'
32         description: A VNF consisting of 2 VDUs with EPA capabilities connected to an internal VL, mgmtVM VDU with cloud-init
33         logo: osm.png
34         connection-point:
35         -   id: vnf-mgmt
36             name: vnf-mgmt
37             short-name: vnf-mgmt
38
39         -   id: vnf-data
40             name: vnf-data
41             short-name: vnf-data
42
43         mgmt-interface:
44             cp: vnf-mgmt
45         internal-vld:
46         -   id: internal
47             name: internal
48             short-name: internal
49             type: ELAN
50             internal-connection-point:
51             -   id-ref: mgmtVM-internal
52             -   id-ref: dataVM-internal
53         vdu:
54         -   id: mgmtVM
55             name: mgmtVM
56             image: ubuntu1604
57             count: '1'
58             vm-flavor:
59                 vcpu-count: '1'
60                 memory-mb: '1024'
61                 storage-gb: '10'
62             guest-epa:
63                 cpu-pinning-policy: DEDICATED
64                 cpu-thread-pinning-policy: PREFER
65                 mempage-size: LARGE
66                 numa-node-policy:
67                     mem-policy: STRICT
68                     node-cnt: '1'
69                     node:
70                     -   id: '1'
71             interface:
72             -   name: mgmtVM-eth0
73                 position: '1'
74                 type: EXTERNAL
75                 virtual-interface:
76                     type: PARAVIRT
77                 external-connection-point-ref: vnf-mgmt
78             -   name: mgmtVM-eth1
79                 position: '2'
80                 type: INTERNAL
81                 virtual-interface:
82                     type: PARAVIRT
83                 internal-connection-point-ref: mgmtVM-internal
84             internal-connection-point:
85             -   id: mgmtVM-internal
86                 name: mgmtVM-internal
87                 short-name: mgmtVM-internal
88
89             cloud-init-file: cloud-config.txt
90         -   id: dataVM
91             name: dataVM
92             image: ubuntu1604
93             count: '1'
94             vm-flavor:
95                 vcpu-count: '8'
96                 memory-mb: '4096'
97                 storage-gb: '10'
98             guest-epa:
99                 cpu-pinning-policy: DEDICATED
100                 cpu-thread-pinning-policy: PREFER
101                 mempage-size: LARGE
102                 numa-node-policy:
103                     mem-policy: STRICT
104                     node-cnt: '1'
105                     node:
106                     -   id: '1'
107             interface:
108             -   name: eth0
109                 position: '1'
110                 type: INTERNAL
111                 virtual-interface:
112                     type: PARAVIRT
113                 internal-connection-point-ref: dataVM-internal
114             -   name: xe0
115                 position: '2'
116                 type: EXTERNAL
117                 virtual-interface:
118                     type: SR-IOV
119                 external-connection-point-ref: vnf-data
120             internal-connection-point:
121             -   id: dataVM-internal
122                 name: dataVM-internal
123                 short-name: dataVM-internal
124
125