Describe the bug
The ReconfigVM_Task in vcsim doesn't set virtual machine properties via the SET prefix when called from the Java SDK.
SET prefix as documented here
To Reproduce
Steps to reproduce the behavior:
- Add a VM to vcsim
- Call
ReconfigVM_Task via Java SDK to set a property using SET prefix
Expected behavior
The VM has the new value.
Affected version
v0.54.0
Screenshots/Debug Output
Java SDK request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ReconfigVM_Task xmlns="urn:vim25" xmlns:ns2="urn:vsan">
<_this type="VirtualMachine">vm-1281</_this>
<spec>
<extraConfig>
<key>SET.guest.customizationInfo.customizationStatus</key>
<value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">TEST_ME
</value>
</extraConfig>
</spec>
</ReconfigVM_Task>
</soap:Body>
</soap:Envelope>
govc request:
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<ReconfigVM_Task xmlns="urn:vim25">
<_this type="VirtualMachine">vm-1281</_this>
<spec>
<extraConfig xmlns:_XMLSchema-instance="http://www.w3.org/2001/XMLSchema-instance" _XMLSchema-instance:type="OptionValue">
<key>SET.guest.customizationInfo.customizationStatus</key>
<value _XMLSchema-instance:type="xsd:string">TEST_ME</value>
</extraConfig>
</spec>
</ReconfigVM_Task>
</Body>
</Envelope>
Describe the bug
The
ReconfigVM_Taskin vcsim doesn't set virtual machine properties via theSETprefix when called from the Java SDK.SETprefix as documented hereTo Reproduce
Steps to reproduce the behavior:
ReconfigVM_Taskvia Java SDK to set a property usingSETprefixExpected behavior
The VM has the new value.
Affected version
v0.54.0
Screenshots/Debug Output
Java SDK request:
govc request: