Pretty new to vCAC, so I'm playing with some property definitions. I've setup the mappings for VirtualMachine.Network.Environment and VirtualMachine.Network0.Name. Basically the dropdown will say Test, Development, QA. Whichever they select, that should select the specific network for the environment.
Here's the value expression i've created to do this.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ArrayOfPropertyValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PropertyValue>
<FilterName>VirtualMachine.Network.Environment</FilterName>
<FilterValue>Test</FilterValue>
<Value>TEST DHCP</Value>
</PropertyValue>
<PropertyValue>
<FilterName>VirtualMachine.Network.Environment</FilterName>
<FilterValue>Development</FilterValue>
<Value>DEV DHCP </Value>
</PropertyValue>
<PropertyValue>
<FilterName>VirtualMachine.Network.Environment</FilterName>
<FilterValue>QA</FilterValue>
<Value>QA DHCP</Value>
</PropertyValue>
</ArrayOfPropertyValue>
Every time I try to create a machine with this, it pretty much errors within 5 seconds and I get this error:
Error requesting machine. Inner Exception: Exception has been thrown by the target of an invocation. Base Exception: No reservation available that has all specified networks:
I really have no idea where to start. Usually I can search other blogs, etc but I can't find anything on this. My reservation is set correctly, all 3 DHCP's are selected. I've checked that like 10 times. So the specified networks are selected. It seems like i'm missing somethign small here, so hopefully someone might be able to help. That's why I'm here!