| 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 | # Using new SOL006-based OSM model |
| 17 | |
| 18 | vnfd: |
| 19 | id: vnfd |
| 20 | mgmt-cp: vnf-mgmt-ext |
| 21 | |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 22 | sw-image-desc: |
| 23 | - id: ubuntu1804 |
| 24 | image: ubuntu1804 |
| 25 | name: ubuntu1804 |
| 26 | |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 27 | ext-cpd: |
| 28 | - id: vnf-mgmt-ext |
| 29 | int-cpd: |
| 30 | vdu-id: mgmtVM |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 31 | cpd: mgmtVM-eth0-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 32 | - id: vnf-data-ext |
| 33 | int-cpd: |
| 34 | vdu-id: dataVM |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 35 | cpd: dataVM-xe0-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 36 | |
| 37 | int-virtual-link-desc: |
| 38 | - id: internal |
| 39 | |
| 40 | vdu: |
| 41 | - id: mgmtVM |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 42 | sw-image-desc: ubuntu1804 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 43 | int-cpd: |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 44 | - id: mgmtVM-eth0-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 45 | virtual-network-interface-requirement: |
| 46 | - name: mgmtVM-eth0 |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 47 | position: 1 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 48 | virtual-interface: |
| 49 | type: VIRTIO |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 50 | - id: mgmtVM-eth1-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 51 | int-virtual-link-desc: internal |
| 52 | virtual-network-interface-requirement: |
| 53 | - name: mgmtVM-eth1 |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 54 | position: 2 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 55 | virtual-interface: |
| 56 | type: VIRTIO |
| 57 | |
| 58 | - id: dataVM |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 59 | sw-image-desc: ubuntu1804 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 60 | int-cpd: |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 61 | - id: dataVM-eth0-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 62 | int-virtual-link-desc: internal |
| 63 | virtual-network-interface-requirement: |
| 64 | - name: dataVM-eth0 |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 65 | position: 1 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 66 | virtual-interface: |
| 67 | type: VIRTIO |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 68 | - id: dataVM-xe0-int |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 69 | virtual-network-interface-requirement: |
| 70 | - name: dataVM-xe0 |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 71 | position: 2 |
| garciaale | 76f6a62 | 2020-11-19 17:57:42 -0300 | [diff] [blame] | 72 | virtual-interface: |
| 73 | type: VIRTIO |
| garciaale | 0a517b9 | 2021-01-12 15:44:44 -0300 | [diff] [blame] | 74 | |
| 75 | df: |
| 76 | - id: default-df |
| 77 | instantiation-level: |
| 78 | - id: default-instantiation-level |
| 79 | vdu-level: |
| 80 | - number-of-instances: 1 |
| 81 | vdu-id: mgmtVM |
| 82 | - number-of-instances: 1 |
| 83 | vdu-id: dataVM |
| 84 | vdu-profile: |
| 85 | - id: mgmtVM |
| 86 | min-number-of-instances: 1 |
| 87 | - id: dataVM |
| 88 | min-number-of-instances: 1 |