Skip to content
Snippets Groups Projects
ubuntu-cloudinit_vnfd.yaml 1.52 KiB
Newer Older
# Copyright 2019 ETSI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

vnfd:vnfd-catalog:
    vnfd:
    -   id: ubuntu-cloudinit_vnfd
        name: ubuntu-cloudinit_vnfd
        short-name: ubuntu-cloudinit_vnfd
        description: Generated by OSM package generator
        vendor: OSM
        version: '1.0'

        # Management interface
        mgmt-interface:
            cp: vnf-cp0

        vdu:
        -   id: ubuntu-cloudinit_vnfd-VM
            name: ubuntu-cloudinit_vnfd-VM
            description: ubuntu-cloudinit_vnfd-VM
            count: 1
            cloud-init-file: cloud-init.cfg

            vm-flavor:
                vcpu-count: 2
                memory-mb: 2048
                storage-gb: 10

            # Image including the full path
            image: 'ubuntu1604'

            interface:
            -   name: eth0
                type: EXTERNAL
                virtual-interface:
                    type: PARAVIRT
                external-connection-point-ref: vnf-cp0

        connection-point:
        -   name: vnf-cp0