Vnfd

Vnfd
Vnfd
JSON Example
{
    "description": "string",
    "vnf": {
        "properties": {
            "descriptor_id": "string",
            "provider": "string",
            "product_name": "string",
            "version": "string",
            "id": "string",
            "software_version": "string",
            "descriptor_version": "string",
            "flavour_id": "string",
            "flavour_description": "string",
            "vnfm_info": [
                "string"
            ],
            "infra_requirements": {
                "infra_requirements": {
                    "node_components": {
                        "isNumaConfigNeeded": true,
                        "enableSMT": true,
                        "latency_sensitivity": "low",
                        "kernel": {
                            "kernel_type": {
                                "name": "linux-rt",
                                "version": "4.19.132-1.ph3"
                            }
                        }
                    }
                }
            }
        },
        "requirements": {
            "External": [
                "External",
                "virtual_link"
            ],
            "app-ext": [
                "app-ext",
                "virtual_link"
            ]
        },
        "capabilities": {},
        "metadata": {},
        "interfaces": {
            "interfaces": {
                "Vnflcm": {
                    "instantiate_start": {
                        "implementation": "../Artifacts/workflows/metallb_pre_instantiate.json",
                        "description": "Configure Metallb",
                        "inputs": [
                            {
                                "name": "USERNAME",
                                "type": "string",
                                "description": "K8s master username",
                                "required": false,
                                "default": "capv",
                                "format": "string"
                            },
                            {
                                "name": "PASSWORD",
                                "type": "password",
                                "description": "K8s master password",
                                "required": false,
                                "default": "abc",
                                "format": "password"
                            },
                            {
                                "name": "IP",
                                "type": "string",
                                "description": "K8s master ip address",
                                "required": false,
                                "default": "",
                                "format": "string"
                            },
                            {
                                "name": "K8S_NAMESPACE",
                                "type": "string",
                                "description": "K8S namespace for Metallb",
                                "required": false,
                                "default": "password",
                                "format": "string"
                            },
                            {
                                "name": "CM_FILE",
                                "type": "string",
                                "description": "The configmap file",
                                "required": false,
                                "default": "",
                                "format": "file"
                            }
                        ],
                        "outputs": [
                            {
                                "name": "nsCreateResult",
                                "type": "string",
                                "description": "",
                                "default": ""
                            },
                            {
                                "name": "copyResult",
                                "type": "string",
                                "description": "",
                                "default": ""
                            },
                            {
                                "name": "cmApplyResult",
                                "type": "string",
                                "description": "",
                                "default": ""
                            }
                        ]
                    }
                }
            }
        },
        "nodeType": "string",
        "node_spec": {}
    },
    "metadata": {},
    "inputs": {},
    "policies": [
        {
            "policies": [
                {
                    "type": "tosca.policies.nfv.SupportedVnfInterface",
                    "properties": {
                        "interface_name": "heal",
                        "interface_type": "operation",
                        "isEnabled": true
                    }
                },
                {
                    "type": "tosca.policies.nfv.VduInitialDelta",
                    "properties": {
                        "initial_delta": {
                            "number_of_instances": 1
                        }
                    },
                    "targets": [
                        "apache-httpd"
                    ]
                }
            ]
        }
    ],
    "groups": {
        "App-Web": {
            "type": "tosca.groups.nfv.PlacementGroup",
            "members": [
                "application-server",
                "web-server"
            ]
        },
        "App-Apache": {
            "type": "tosca.groups.nfv.PlacementGroup",
            "members": [
                "application-server",
                "apache-httpd"
            ]
        },
        "Web-Apache": {
            "type": "tosca.groups.nfv.PlacementGroup",
            "members": [
                "web-server",
                "apache-httpd"
            ]
        }
    },
    "basepath": "string",
    "volume_storages": [
        {}
    ],
    "vdus": [
        {
            "vdu_id": "string",
            "type": "string",
            "description": "string",
            "properties": {
                "name": "string",
                "description": "string",
                "vdu_profile": {
                    "min_number_of_instances": 0,
                    "max_number_of_instances": 0
                },
                "sw_image_data": {
                    "name": "string",
                    "version": "string",
                    "checksum": {
                        "algorithm": "string",
                        "hash": "string"
                    },
                    "container_format": "string",
                    "disk_format": "string",
                    "min_disk": "string",
                    "size": "string"
                },
                "chartName": "string",
                "chartVersion": "string",
                "helmVersion": "string",
                "configurable_properties": {
                    "additional_vnfc_configurable_properties": {
                        "type": "string",
                        "file": "string"
                    }
                }
            },
            "configurable_properties": [
                {
                    "required": false,
                    "propertyName": "string",
                    "description": "string",
                    "type": "string",
                    "format": "string"
                }
            ],
            "virtual_storages": [
                {}
            ],
            "dependencies": [
                {}
            ],
            "virtual_compute": {
                "virtual_cpu": {},
                "virtual_memory": {
                    "virtual_mem_size": "string"
                },
                "virtual_local_storage": [
                    {
                        "size_of_storage": "string"
                    }
                ]
            },
            "vls": [
                [
                    "vl1",
                    "vl2"
                ]
            ],
            "cps": [
                "string"
            ],
            "artifacts": [
                {}
            ]
        }
    ],
    "vls": [
        {}
    ],
    "cps": [
        {
            "cp_id": "string",
            "cpd_id": "string",
            "description": "string",
            "properties": {
                "description": "string",
                "layer_protocols": [
                    "string"
                ],
                "protocol": [
                    {
                        "associated_layer_protocol": "string",
                        "address_data": [
                            {
                                "address_type": "string",
                                "l3_address_data": {
                                    "ip_address_assignment": false,
                                    "floating_ip_activated": false,
                                    "ip_address_type": "string",
                                    "number_of_ip_address": 0
                                }
                            }
                        ]
                    }
                ],
                "trunk_mode": "string"
            },
            "vl_id": "string",
            "vdu_id": "string"
        }
    ],
    "vnf_exposed": {
        "external_cps": [
            {
                "key_name": "string",
                "cpd_id": "string"
            }
        ],
        "forward_cps": [
            {}
        ]
    },
    "graph": {
        "vdu1": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "ECP1": {
            "type": "array",
            "items": {
                "type": "object"
            }
        }
    },
    "vduDependencyDetails": {
        "0": [
            {}
        ]
    }
}
string
description
Optional

description

vnf
Optional

vnf

object
metadata
Optional

metadata

object
inputs
Optional

inputs

array of object
policies
Optional

policies

object
groups
Optional

groups

string
basepath
Optional

basepath

array of object
volume_storages
Optional

volume_storages

array of Vnfd_vdus
vdus
Optional

vdus

array of object
vls
Optional

vls

array of Vnfd_cps
cps
Optional

cps

vnf_exposed
Optional

vnf_exposed

object
graph
Optional

graph

vduDependencyDetails
Optional

vduDependencyDetails

Returned By