-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image value mappings fixes #114
Image value mappings fixes #114
Conversation
I've spent a while looking at this and concluded that the AOSM design for this is all way too complicated and prone to error. It's taken me ages of reading old teams threads and looking at the pez codebase to work out what all the various fields do, and I'm still not sure I've got it right in my head. Having done this, I'm not convinced this is complete. The title of the bug "NF location and the resources deployed by NF has to be same" indicates we need to do more:
What we want to do (I think), is have a single deployment parameter which is used for all 3 of: NF location, image azureDeployLocation and VM template resource locations. We should warn the user if their VM template doesn't contain a parameter named location and get them to change it so that one deployParameter fills in all values. And then another thing. Do we currently care about NFDV location (networkFunctionDefinitionOfferingLocation) matching NF location? I cannot remember what AOSMs current limitations are in this area. It's too flipping complicated, that's what I think!! Finally, it would be wonderful if you could make sure the swagger descriptions for all these fields are descriptive enough that the next time we come to this nobody has to do the same code trawl. I couldn't remember where the GA swagger was, so I haven't checked myself. That clearly isn't part of this story, but if you could check and raise a new story if it isn't clear that would be marvellous. Going to go and lie down in a dark room now.... |
This PR is to address two issues around the generated VHD parameters for the VNF build path:
azureDeployLocation
. This value should always be configurable.These values are set to defaults by NFM when they are not provided but it is necessary that we give publishers the option to configure them
I have also made the VNF publish and delete test a live test only. This is because it was causing issues for people when running the UTs doe to an underlying issue with the test framework. Please chat to Patryk for more context.
I am planning to merge this into the
add-aosm-extension
branch and then have a separate PR to add this to the pre-release branch.