Closed rajdeepwalia closed 6 years ago
Hi, you can change configuration parameters while deploying a NSD. This feature is provided via REST APIs, and obviously also via Dashboard. I'm not sure, what you mean with mixed up.
Hi, I tried to deploy multiple instances of OpenIMS NSD. The VNFD for Bind9 VNF contains 'realm' parameter and during the launch via Dashboard I specified a different value for the same 'realm' parameter. After the deployment was complete I observed:
I tried to look in to the code to find out why this is happening in the checkConfigParameters () function. The function checks if there exists any existing configuration for the NSD and
As a remedy what we did was to change this function and compare the parameter already present in NSD and parameter received in body and if there is an overlap then we put the new value received in body.
I know that this is not the complete solution but just an quick fix which was sufficient for our specific case. If this is a shortcoming then I will like to work on it and propose a more complete solution.
Best regards, Rajdeep Ahluwalia
Sorry I forgot to mention that I looked in checkConfigParameters () function in https://github.com/openbaton/NFVO/blob/master/core/core-impl/src/main/java/org/openbaton/nfvo/core/api/NetworkServiceRecordManagement.java file.
Which version of Open Baton are you currently using?
I took version 3.2.0, I hope that is the latest one.
yes, it is the latest version. However, those issues may be fixed in latest develop branches...to be checked..
what's the current status of this?
@radoslavvlaskovski should have tested this 26 days ago.. Any update?
The issues concerning multiple configuration parameters with the same name were fixed on the develop branch. Concerning the issue of saving the configurations added from the GUI to the NSD checkConfigParameters () function in https://github.com/openbaton/NFVO/blob/master/core/core-impl/src/main/java/org/openbaton/nfvo/core/api/NetworkServiceRecordManagement.java needs to be fixed, because there the configuration parameters are saved to the NSD, but I have still not found the problem.
Concerning the issue of saving the configurations added from the GUI to the NSD checkConfigParameters () function in https://github.com/openbaton/NFVO/blob/master/core/core-impl/src/main/java/org/openbaton/nfvo/core/api/NetworkServiceRecordManagement.java needs to be fixed, because there the configuration parameters are saved to the NSD, but I have still not found the problem.
with @mpauls we discussed this, it is a bit more complex, need further discussions
@radoslavvlaskovski could you please confirm that such case is not happening anymore with master branch?
Hi,
Currently the configurations are treated at the NSD level meaning that if multiple instances of same NSD are created then the configuration are all mixed up and it is not possible to specify different configuration for different NSR.
I have done some code changes (quick fixes) for fixing this but it is not fully done with the changes. I will be working further on it to make a more complete solution.
Best regards, Rajdeep Ahluwalia