This network service is composed by two VNF (iperf-server and iperf-client), which the iperf-client is composed by two VNFC.

Note: no vnf package is used in this example. Only a link to reach the scripts. Basically could be a link to a git repository in which there are all the scripts.

{
   "name":"iperf-NS",
   "vendor":"Fokus",
   "version":"0.1",
   "vnfd":[
      {
         "vendor":"tbr",
         "version":"0.1",
         "name":"iperf-server",
         "type":"server",
         "endpoint":"generic",
         "configurations":{
            "name":"config_name",
            "configurationParameters":[]
         },
         "vdu":[
            {
               "vm_image":[
                  "ubuntu-14.04-server-cloudimg-amd64-disk1"
               ],
               "vimInstanceName":[],
               "scale_in_out":1,
               "vnfc":[
                  {
                     "connection_point":[
                        {
                           "virtual_link_reference":"private",
                           "interfaceId":0
                        }
                     ]
                  }
               ]
            }
         ],
         "virtual_link":[
            {
               "name":"private"
            }
         ],
         "lifecycle_event":[
            {
               "event":"INSTANTIATE",
               "lifecycle_events":[
                  "install.sh",
          "start-srv.sh"
               ]
            }
         ],
         "deployment_flavour":[
            {
               "flavour_key":"m1.small"
            }
         ],
            "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git"

      },
      {
         "vendor":"tbr",
         "version":"0.1",
         "name":"iperf-client",
         "type":"client",
         "endpoint":"generic",
         "configurations":{
            "name":"config_name",
            "configurationParameters":[

            ]
         },
         "vdu":[
            {
               "vm_image":[
                  "ubuntu-14.04-server-cloudimg-amd64-disk1"
               ],
               "vimInstanceName":[],
               "scale_in_out":2,
               "vnfc":[
                  {
                     "connection_point":[
                        {
                           "floatingIp":"random",
                           "virtual_link_reference":"private",
                           "interfaceId":0
                        }
                     ]
                  },
                  {
                     "connection_point":[
                        {
                           "floatingIp":"random",
                           "virtual_link_reference":"private",
                           "interfaceId":0
                        }
                     ]
                  }
               ]
            }
         ],
         "virtual_link":[
            {
               "name":"private"
            }
         ],
         "lifecycle_event":[
            {
               "event":"INSTANTIATE",
               "lifecycle_events":[
                  "install.sh"
               ]
            },
            {
               "event":"CONFIGURE",
               "lifecycle_events":[
                  "server_start-clt.sh"
               ]
            }
         ],
         "deployment_flavour":[
            {
               "flavour_key":"m1.small"
            }
         ],
          "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git"
      }
   ],
   "vnffgd":[

   ],
   "vld":[
      {
         "name":"private"
      }
   ],
   "vnf_dependency":[
      {
         "source":{
            "name":"iperf-server"
         },
         "target":{
            "name":"iperf-client"
         },
         "parameters":[
            "private"
         ]
      }
   ]
}