| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 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: |
| 17 | id: hackfest_basic-vnf |
| 18 | product-name: hackfest_basic-vnf |
| 19 | description: A basic VNF descriptor w/ one VDU |
| 20 | version: "1.0" |
| 21 | mgmt-cp: vnf-cp0 |
| 22 | |
| 23 | virtual-compute-desc: |
| 24 | - id: cirros-compute |
| 25 | virtual-cpu: |
| 26 | num-virtual-cpu: 1 |
| 27 | virtual-memory: |
| 28 | size: 1 # Memory size in GB |
| 29 | |
| 30 | virtual-storage-desc: |
| 31 | - id: cirros-storage |
| 32 | size-of-storage: 10 |
| 33 | |
| 34 | sw-image-desc: |
| 35 | - id: ubuntu1604 |
| 36 | name: ubuntu1604 |
| 37 | checksum: |
| 38 | hash: # Mandatory? |
| 39 | - id: ubuntu1604-aws |
| 40 | name: ubuntu1604-aws |
| 41 | image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509 |
| 42 | vim-type: aws |
| 43 | checksum: |
| 44 | hash: # Mandatory? |
| 45 | |
| 46 | vdu: |
| 47 | - id: hackfest_basic-VM |
| 48 | name: hackfest_basic-VM |
| 49 | virtual-compute-desc: cirros-compute |
| 50 | virtual-storage-desc: |
| 51 | - cirros-storage |
| 52 | sw-image-desc: ubuntu1604 |
| 53 | alternative-sw-image-desc: |
| 54 | - ubuntu1604-aws |
| 55 | int-cpd: |
| 56 | - id: eth0-int |
| 57 | virtual-network-interface-requirement: |
| 58 | - name: vdu-eth0 |
| 59 | virtual-interface: |
| 60 | type: PARAVIRT |
| 61 | |
| 62 | df: |
| 63 | - id: cirros_default |
| 64 | vdu-profile: |
| 65 | - id: hackfest_basic-VM |
| 66 | min-number-of-instances: 1 |
| 67 | instantiation-level: |
| 68 | - id: default |
| 69 | vdu-level: |
| 70 | - vdu-id: hackfest_basic-VM |
| 71 | number-of-instances: 1 |
| 72 | |
| 73 | ext-cpd: |
| 74 | - id: vnf-cp0 |
| 75 | int-cpd: # Connection to int-cpd |
| 76 | vdu-id: hackfest_basic-VM |
| 77 | cpd: eth0-int |