Fixed warning in test_python.py: yaml.safe_load instead of load
[osm/IM.git] / tests / examples / alternative_image_im.yaml
1 #  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 vnfd:vnfd-catalog:
17   vnfd:
18     - id: hackfest_basic-vnf
19       name: hackfest_basic-vnf
20       short-name: hackfest_basic-vnf
21       version: "1.0"
22       description: A basic VNF descriptor w/ one VDU
23       logo: osm.png
24       connection-point:
25         - name: vnf-cp0
26
27       vdu:
28         - id: hackfest_basic-VM
29           name: hackfest_basic-VM
30           image: ubuntu1604
31           alternative-images:
32             - vim-type: aws
33               image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
34           count: "1"
35           vm-flavor:
36             vcpu-count: "1"
37             memory-mb: "1024"
38             storage-gb: "10"
39           interface:
40             - name: vdu-eth0
41               type: EXTERNAL
42               virtual-interface:
43                 type: PARAVIRT
44               external-connection-point-ref: vnf-cp0
45       mgmt-interface:
46         cp: vnf-cp0