Closed KLuka closed 6 years ago
Point 2 is probably a documentation issue because network names can be used as variables by replacing hyphens(-) with underscores(_). The network network-name
can be referred to as the variable network_name
for example.
Hi @KLuka, this suggestion has been considered and implemented partially. A new mechanism allows to save the parameters in a file "ob_parameters.sh" locally to the VM which you can read in the script by sourcing it. You can find more info in the "working progress" docs https://github.com/openbaton/docs/blob/master/docs/vnf-parameters.md#how-to-use-parameters-passed-through-a-vnf-dependency. Such mechanism could be extended to other parameters as you suggest.
Generic VNFM supports passing of variables to life-cycle event scripts, which is very useful feature. But there are some shortcomings with current implementation. Here are some suggestions what could be improved:
Example of variables passed at INSTANTIATE event for VDU with four connection points:
I was thinking of something like the bellow example.
For now you could also keep the current variables so that you don't break backwards compatibility... Any comments?