Currently if there is more than one interface (openstack port) on a single network only the first interfaces's IP address is available to the scripts as $network_name. If there is more than one subnet associated with a particular network (i.e. IPv4 and IPv6) openstack assigns IP addresses from both but the value of $network_name in the scripts is randomly assigned between the two.
Update the VNFCInstance to have not only a single ip address per network but now have all ip addresses including their subnets and interface id's if specified in the vnfd.json file.
NOTE::::::::The base code from which this was pulled did not yet have the division into BaseVimInstance, OpenstackVimInstance and AmazonVimInstance so it will NOT compile against the referenced NFVO version.
This references issue openbaton/NFVO#280 and should be pulled with openbaton/NFVO#281
Currently if there is more than one interface (openstack port) on a single network only the first interfaces's IP address is available to the scripts as $network_name. If there is more than one subnet associated with a particular network (i.e. IPv4 and IPv6) openstack assigns IP addresses from both but the value of $network_name in the scripts is randomly assigned between the two.
Update the VNFCInstance to have not only a single ip address per network but now have all ip addresses including their subnets and interface id's if specified in the vnfd.json file.
NOTE::::::::The base code from which this was pulled did not yet have the division into BaseVimInstance, OpenstackVimInstance and AmazonVimInstance so it will NOT compile against the referenced NFVO version.
This references issue openbaton/NFVO#280 and should be pulled with openbaton/NFVO#281