Hi,
I want to do the following:
Use the CPU field in a Custom Form and then give it a maximum that depends on a vRO value.
So I use an action in vRO that returns type Number and just does return 4; nothing fancy just testing at this stage....but the error throws me.
My Blueprint has for CPU values between 1 and 16 so I get where it comes from but that smells like a bug to me.
Anyone any Idea?
So...I made some progress in digging into this issue:
What works..but its bloody stupid is the following:
The two MAJOR problem with that method.
1) it goes behind vRAs Resource Management system. vRA will thing that you are provisioning a VM with 1CPU and 1GB...but then you change it before its build...so you have to be careful with that.
2) the Values of the VCACVM entity isn't updated....so you need to add a function to update them as well.
Hi Daniel,
You can workaround this by using External Validations tab.
The custom validation will be triggered when the submit button is clicked, and all other validations are executed before that.
For more details you can look at my blogpost for using the Custom Forms at: Customizing request forms using the new Custom Forms - VMware Cloud Management
You can find more details for the Custom Validations at the end of the blogpost.