Update openjdk version to 19 and yang2swagger version to 2.1.0
[osm/IM.git] / tests / examples / dest_vnfd.yaml
1 #  Copyright ETSI Contributors and Others
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     description: Destination vnf descriptor
18     df:
19     - id: default-df
20       instantiation-level:
21       - id: default-instantiation-level
22         vdu-level:
23         - number-of-instances: 1
24           vdu-id: dest_vnf-VM
25       vdu-profile:
26       - id: dest_vnf-VM
27         min-number-of-instances: 1
28     ext-cpd:
29     - id: eth0-ext
30       int-cpd:
31         cpd: eth0-int
32         vdu-id: dest_vnf-VM
33     id: dest_vnf
34     mgmt-cp: eth0-ext
35     product-name: dest_vnf
36     provider: OSM
37     sw-image-desc:
38     - id: bionic
39       image: bionic
40       name: bionic
41     - id: ubuntu20.04-aws
42       name: ubuntu20.04-aws
43       image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
44       vim-type: aws
45     - id: ubuntu20.04-azure
46       name: ubuntu20.04-azure
47       image: Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest
48       vim-type: azure
49     vdu:
50     - id: dest_vnf-VM
51       cloud-init-file: cloud-config
52       description: dest_vnf-VM
53       int-cpd:
54       - id: eth0-int
55         virtual-network-interface-requirement:
56         - name: eth0
57           virtual-interface:
58             bandwidth: 0
59             type: VIRTIO
60             vpci: 0000:00:0a.0
61       name: dest_vnf-VM
62       sw-image-desc: bionic
63       alternative-sw-image-desc:
64       - ubuntu20.04-aws
65       - ubuntu20.04-azure
66       virtual-compute-desc: dest_vnf-VM-compute
67       virtual-storage-desc:
68       - dest_vnf-VM-storage
69     version: '1.0'
70     software-version: 1.2
71     virtual-compute-desc:
72     - id: dest_vnf-VM-compute
73       virtual-cpu:
74         num-virtual-cpu: 1
75       virtual-memory:
76         size: 2
77     virtual-storage-desc:
78     - id: dest_vnf-VM-storage
79       size-of-storage: 10