I am trying to get some code that worked fine with VCD 1.5 working in VCD 5.1. I have a vAppTemplate that I want to instantiate.
This vApp template has one vm in it. This one vm is connected to an org network - so the IP address and MAC address meed to change during the instantiate process.
Before I just did a simple and it worked - VCD was aware that this vApp needed to get a new IP address and MAC and all was well - with VCD 5.1 this is no longer the case. The vApp gets created with the SAME IP and SAME MAC that the template has set. (Template is set as customize, not make identical)
InstantiateVAppTemplateParamsType stuff = new InstantiateVAppTemplateParamsType
{
AllEULAsAccepted = true,
name = alias,
Source = template.Reference,
deploy = true,
Description = description,
InstantiationParams = instantiationParamsType,
};
Vapp app = vdc.InstantiateVappTemplate(stuff);
I assume I now needs to clear the IP and MAC of the Vm via some Instantiate parameter, but I cannot seem to figure out what.
How would I do this via the .NET SDK?
Also to note, I assume the same thing - some templates that have been added as "STATIC IP POOL" are spinning up VM as DHCP - something that is incorrect - I have a feeling it is all the same issue, VCD5.1 is expecting something that VCD 1.5 did not expect.