Skip to content

Function instantiation feature

José Bonnet edited this page May 25, 2017 · 5 revisions

Functions are instantiated as a consequence of the instantiation of the service they are part of (see Service instantiation), i.e., there is no way to request the instantiation of a function from the outside of the MANO Framework and it's Function Lifecycle Management component.

Function records

After having been successfully instantiated, a record is saved in a repository. Those records can be accessed, for instance, to know which IP address it has.

Private functions

add licence verification

Examples

[
    {
        "created_at": "2017-05-25T12:49:08.436+00:00", 
        "descriptor_reference": "b3ccbea1-2010-4535-821b-0a961e7baafd", 
        "descriptor_version": "vnfr-schema-01", 
        "status": "normal operation", 
        "updated_at": "2017-05-25T12:49:08.436+00:00", 
        "uuid": "aaf79036-703f-4752-8fcb-b8a07ab507b0", 
        "version": "2", 
        "virtual_deployment_units": [
            {
                "id": "vdu01", 
                "monitoring_parameters": [
                    {
                        "name": "vm_cpu_perc", 
                        "unit": "Percentage"
                    }, 
                    {
                        "name": "vm_mem_perc", 
                        "unit": "Percentage"
                    }, 
                    {
                        "name": "vm_net_rx_bps", 
                        "unit": "bps"
                    }, 
                    {
                        "name": "vm_net_tx_bps", 
                        "unit": "bps"
                    }
                ], 
                "number_of_instances": 1, 
                "resource_requirements": {
                    "cpu": {
                        "vcpus": 1
                    }, 
                    "memory": {
                        "size": 2, 
                        "size_unit": "GB"
                    }, 
                    "storage": {
                        "size": 20, 
                        "size_unit": "GB"
                    }
                }, 
                "vdu_reference": "vring-vnf:vdu01", 
                "vm_image": "eu.sonata-nfv_sonata-vring_vdu01", 
                "vnfc_instance": [
                    {
                        "connection_points": [
                            {
                                "id": "vdu01:eth0", 
                                "interface": {
                                    "address": "10.100.32.239", 
                                    "hardware_address": "fa:16:3e:40:b7:de"
                                }, 
                                "type": "management"
                            }, 
                            {
                                "id": "vdu01:eth1", 
                                "interface": {
                                    "address": "172.0.0.164", 
                                    "hardware_address": "fa:16:3e:d4:fe:aa", 
                                    "netmask": "255.255.255.248"
                                }, 
                                "type": "internal"
                            }, 
                            {
                                "id": "vdu01:eth2", 
                                "interface": {
                                    "address": "172.0.0.163", 
                                    "hardware_address": "fa:16:3e:63:f6:5f", 
                                    "netmask": "255.255.255.248"
                                }, 
                                "type": "internal"
                            }
                        ], 
                        "id": "4235c328-89b6-4c62-a238-76ad4331afa1", 
                        "vc_id": "cd6e31fb-493a-47d1-a863-32398b3f5528", 
                        "vim_id": "1111-22222222-33333333-4444"
                    }
                ]
            }
        ], 
        "virtual_links": [
            {
                "connection_points_reference": [
                    "vdu01:eth0", 
                    "vnf:mgmt"
                ], 
                "connectivity_type": "E-LAN", 
                "dhcp": true, 
                "id": "mgmt"
            }, 
            {
                "connection_points_reference": [
                    "vdu01:eth1", 
                    "vnf:input"
                ], 
                "connectivity_type": "E-Line", 
                "dhcp": false, 
                "id": "input"
            }, 
            {
                "connection_points_reference": [
                    "vdu01:eth2", 
                    "vnf:output"
                ], 
                "connectivity_type": "E-Line", 
                "dhcp": false, 
                "id": "output"
            }
        ]
    }
]

See also

Clone this wiki locally