VMware Cloud Community
Sabareeswar
Contributor
Contributor

Validations on OVF Properties


Hi,

I am customizing an OVF template XML by adding OVF properties.  I have a few questions related to validating the properties.

1) If a property doesn't succeed the validation test (say, it falls short of a MinLength check), then I see a red warning right below the field (while deploying the OVF in a vCenter). But the user is still able to proceed and click Submit. Is there a way to stop the user from proceeding when any validation criteria is not met?

2) One of my OVF properties is an FQDN and I am looking for a way to validate the format of the FQDN. I want it to be of the format (hostprefix + domain name). Is there is a way to do so?

Thanks,

Sabareeswar

Reply
0 Kudos
2 Replies
thejavamonk
Contributor
Contributor

Hi Sabareeswar,

I have a requirement same as the one you have asked for were you able to achieve this validation ? Can you provide me any info on how you were able to achieve the desired result ?

regards,

Praveen

  

Reply
0 Kudos
guptav23
Contributor
Contributor

Hi Sabareeswar,

I am facing the same issue nowadays. Please help me if you got any solution.

Thanks and Regards,

Varsha Gupta

Reply
0 Kudos