Hi,
That is where the actual problem is. Following are the related classes and the code
vmConfigSpec.bootOptions = vmInfo.bootOptions;
is the object of the type vw1__VirtualMachoneBootOptions.
class SOAP_CMAC vw1__VirtualMachineBootOptions : public vw1__DynamicData
{
public:
LONG64 *bootDelay; /* optional element of type xsd:long */
bool *enterBIOSSetup; /* optional element of type xsd:boolean */
bool *bootRetryEnabled; /* optional element of type xsd:boolean */
LONG64 *bootRetryDelay; /* optional element of type xsd:long */
int __sizebootOrder; /* sequence of elements <bootOrder> */
vw1__VirtualMachineBootOptionsBootableDevice **bootOrder; /* optional element of type vw1:VirtualMachineBootOptionsBootableDevice */
public:
virtual int soap_type() const { return 2738; } /* = unique id SOAP_TYPE_vw1__VirtualMachineBootOptions */
virtual void soap_default(struct soap*);
virtual void soap_serialize(struct soap*) const;
virtual int soap_put(struct soap*, const char*, const char*) const;
virtual int soap_out(struct soap*, const char*, int, const char*) const;
virtual void *soap_get(struct soap*, const char*, const char*);
virtual void *soap_in(struct soap*, const char*, const char*);
vw1__VirtualMachineBootOptions() { vw1__VirtualMachineBootOptions::soap_default(NULL); }
virtual ~vw1__VirtualMachineBootOptions() { }
};
class SOAP_CMAC vw1__VirtualMachineBootOptionsBootableDevice : public vw1__DynamicData
{
public:
virtual int soap_type() const { return 2732; } /* = unique id SOAP_TYPE_vw1__VirtualMachineBootOptionsBootableDevice */
virtual void soap_default(struct soap*);
virtual void soap_serialize(struct soap*) const;
virtual int soap_put(struct soap*, const char*, const char*) const;
virtual int soap_out(struct soap*, const char*, int, const char*) const;
virtual void *soap_get(struct soap*, const char*, const char*);
virtual void *soap_in(struct soap*, const char*, const char*);
vw1__VirtualMachineBootOptionsBootableDevice() { vw1__VirtualMachineBootOptionsBootableDevice::soap_default(NULL); }
virtual ~vw1__VirtualMachineBootOptionsBootableDevice() { }
};
The bootorder variable's class vw1__VirtualMachineBootOptionsBootableDevice consists only of Soap related functions. There is a __sizeBootOrder - which I think would be one per harddisk and in sequce based on their boot order. I don't understand how to identify which object is for which virtualdrive.
Thanks,
./Siva.