cirros test code changes for VCD
[osm/devops.git] / descriptor-packages / vnfd / hackfest_epasriov_vnf / src / hackfest_epasriov_vnfd.yaml
1 vnfd:vnfd-catalog:
2     vnfd:
3     -   id: hackfest_epasriov-vnf
4         name: hackfest_epasriov-vnf
5         short-name: hackfest_epasriov-vnf
6         version: '1.0'
7         description: A VNF consisting of 2 VDUs with EPA capabilities connected to an internal VL, mgmtVM VDU with cloud-init
8         logo: osm.png
9         connection-point:
10         -   id: vnf-mgmt
11             name: vnf-mgmt
12             short-name: vnf-mgmt
13             type: VPORT
14         -   id: vnf-data
15             name: vnf-data
16             short-name: vnf-data
17             type: VPORT
18         mgmt-interface:
19             cp: vnf-mgmt
20         internal-vld:
21         -   id: internal
22             name: internal
23             short-name: internal
24             type: ELAN
25             internal-connection-point:
26             -   id-ref: mgmtVM-internal
27             -   id-ref: dataVM-internal
28         vdu:
29         -   id: mgmtVM
30             name: mgmtVM
31             image: hackfest3-mgmt
32             count: '1'
33             vm-flavor:
34                 vcpu-count: '1'
35                 memory-mb: '1024'
36                 storage-gb: '10'
37             guest-epa:
38                 cpu-pinning-policy: DEDICATED
39                 cpu-thread-pinning-policy: PREFER
40                 mempage-size: LARGE
41                 numa-node-policy:
42                     mem-policy: STRICT
43                     node-cnt: '1'
44                     node:
45                     -   id: '1'
46             interface:
47             -   name: mgmtVM-eth0
48                 position: '1'
49                 type: EXTERNAL
50                 virtual-interface:
51                     type: VIRTIO
52                 external-connection-point-ref: vnf-mgmt
53             -   name: mgmtVM-eth1
54                 position: '2'
55                 type: INTERNAL
56                 virtual-interface:
57                     type: VIRTIO
58                 internal-connection-point-ref: mgmtVM-internal
59             internal-connection-point:
60             -   id: mgmtVM-internal
61                 name: mgmtVM-internal
62                 short-name: mgmtVM-internal
63                 type: VPORT
64             cloud-init-file: cloud-config.txt
65         -   id: dataVM
66             name: dataVM
67             image: hackfest-pktgen
68             count: '1'
69             vm-flavor:
70                 vcpu-count: '8'
71                 memory-mb: '4096'
72                 storage-gb: '10'
73             guest-epa:
74                 cpu-pinning-policy: DEDICATED
75                 cpu-thread-pinning-policy: PREFER
76                 mempage-size: LARGE
77                 numa-node-policy:
78                     mem-policy: STRICT
79                     node-cnt: '1'
80                     node:
81                     -   id: '1'
82             interface:
83             -   name: eth0
84                 position: '1'
85                 type: INTERNAL
86                 virtual-interface:
87                     type: VIRTIO
88                 internal-connection-point-ref: dataVM-internal
89             -   name: xe0
90                 position: '2'
91                 type: EXTERNAL
92                 virtual-interface:
93                     type: SR-IOV
94                 external-connection-point-ref: vnf-data
95             internal-connection-point:
96             -   id: dataVM-internal
97                 name: dataVM-internal
98                 short-name: dataVM-internal
99                 type: VPORT
100