ns_relations_requires_vnfd.yaml 1.74 KiB
Newer Older
garciadav's avatar
garciadav committed
vnfd:vnfd-catalog:
    vnfd:
    -   id: ns_relations_requires-vnf
        name: ns_relations_requires-vnf
        short-name: ns_relations_requires-vnf
        version: 1.0
        description: A VNF consisting of 1 VDU connected to two external VL, and one for data and another one for management
        logo: osm.png
        connection-point:
        -   id: requires-mgmt
            name: requires-mgmt
            short-name: requires-mgmt
            type: VPORT
        mgmt-interface:
            cp: requires-mgmt
        vdu:
        -   id: simple_requires
            name: simple_requires
            image: ubuntu18.04
            count: 1
            vm-flavor:
                vcpu-count: 1
                memory-mb: 1024
                storage-gb: 10
            interface:
            -   name: simple_requires-eth0
                position: 1
                type: EXTERNAL
                virtual-interface:
                    type: PARAVIRT
                external-connection-point-ref: requires-mgmt
            cloud-init-file: cloud-config.txt
        vnf-configuration:
            juju:
                charm: simple_requires
                proxy: false
            config-access:
                ssh-access:
                    required: True
                    default-user: ubuntu
            initial-config-primitive:
            -   seq: 1
                name: touch
                parameter:
                -   name: filename
                    data-type: STRING
                    value: '/home/ubuntu/first-touch'
            config-primitive:
            -   name: touch
                parameter:
                -   name: filename
                    data-type: STRING
                    default-value: '/home/ubuntu/touched'