Update openjdk version to 19 and yang2swagger version to 2.1.0
[osm/IM.git] / tests / examples / src_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: Source 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: src_vnf-VM
25       vdu-profile:
26       - id: src_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: src_vnf-VM
33     id: src_vnf
34     mgmt-cp: eth0-ext
35     product-name: src_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: src_vnf-VM
51       cloud-init-file: cloud-config
52       description: src_vnf-VM
53       id: src_vnf-VM
54       int-cpd:
55       - id: eth0-int
56         virtual-network-interface-requirement:
57         - name: eth0
58           virtual-interface:
59             bandwidth: 0
60             type: VIRTIO
61             vpci: 0000:00:0a.0
62       name: src_vnf_vnfd-VM
63       sw-image-desc: bionic
64       alternative-sw-image-desc:
65       - ubuntu20.04-aws
66       - ubuntu20.04-azure
67       virtual-compute-desc: src_vnf-VM-compute
68       virtual-storage-desc:
69       - src_vnf-VM-storage
70     version: '1.0'
71     software-version: 1.2
72     virtual-compute-desc:
73     - id: src_vnf-VM-compute
74       virtual-cpu:
75         num-virtual-cpu: 1
76       virtual-memory:
77         size: 2
78     virtual-storage-desc:
79     - id: src_vnf-VM-storage
80       size-of-storage: 10