mock/one_worker_vm_image_name06.xml
<VM>
<ID>36551</ID>
<UID>120</UID>
<GID>0</GID>
<UNAME>uname</UNAME>
<GNAME>gname</GNAME>
<NAME>one-36551</NAME>
<PERMISSIONS>
<OWNER_U>1</OWNER_U>
<OWNER_M>1</OWNER_M>
<OWNER_A>0</OWNER_A>
<GROUP_U>0</GROUP_U>
<GROUP_M>0</GROUP_M>
<GROUP_A>0</GROUP_A>
<OTHER_U>0</OTHER_U>
<OTHER_M>0</OTHER_M>
<OTHER_A>0</OTHER_A>
</PERMISSIONS>
<LAST_POLL>1383741679</LAST_POLL>
<STATE>6</STATE>
<LCM_STATE>0</LCM_STATE>
<RESCHED>0</RESCHED>
<STIME>1383741160</STIME>
<ETIME>1383742270</ETIME>
<DEPLOY_ID>one-36551</DEPLOY_ID>
<MONITORING>
<MEMORY>1736960</MEMORY>
<CPU>0</CPU>
<NETTX>43557888</NETTX>
<NETRX>376832</NETRX>
</MONITORING>
<TEMPLATE>
<CONTEXT>
<DISK_ID><![CDATA[1]]></DISK_ID>
<FILES><![CDATA[https://somewhere.com/init.sh]]></FILES>
<HOSTNAME><![CDATA[DebianVM]]></HOSTNAME>
<PUBLIC_IP><![CDATA[123.123.5.5]]></PUBLIC_IP>
<SSH_KEY><![CDATA[ssh-rsa AAAAB3NzaC1yc2EAAAADAQABasdgsdfhfgjhxhcHPNFthrHT5/+9lfrQCorJy5YjMJEGBC22dfgjghkDjSDFgjdhgKd54645dfJKd39LdlyzlEaCnjGUeD4C6tZdAISLSDfghSDFgSJ54sSFGJ5RTHARJIRJcX8QRVH46Zq02AeTgrty567ss34tqaa8Pt user@machine1.somewhere.com]]></SSH_KEY>
<TARGET><![CDATA[xvdb]]></TARGET>
</CONTEXT>
<CPU><![CDATA[0.5]]></CPU>
<DISK>
<CLONE><![CDATA[YES]]></CLONE>
<CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
<CLUSTER_ID><![CDATA[100]]></CLUSTER_ID>
<DATASTORE><![CDATA[default]]></DATASTORE>
<DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
<DEV_PREFIX><![CDATA[xvd]]></DEV_PREFIX>
<DISK_ID><![CDATA[0]]></DISK_ID>
<DRIVER><![CDATA[tap2:tapdisk:aio:]]></DRIVER>
<IMAGE><![CDATA[662b0e71-3e21-5f43-b6a1-cc2f51319fa7]]></IMAGE>
<IMAGE_ID><![CDATA[42]]></IMAGE_ID>
<IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>
<LN_TARGET><![CDATA[SYSTEM]]></LN_TARGET>
<READONLY><![CDATA[NO]]></READONLY>
<SAVE><![CDATA[NO]]></SAVE>
<SIZE><![CDATA[10240]]></SIZE>
<SOURCE><![CDATA[/opt/opennebula/var/datastores/1/c516eb23fcb184f1458104a5d66f36b0]]></SOURCE>
<TARGET><![CDATA[xvda]]></TARGET>
<TM_MAD><![CDATA[ssh]]></TM_MAD>
<TYPE><![CDATA[FILE]]></TYPE>
</DISK>
<DISK>
<CLONE><![CDATA[YES]]></CLONE>
<CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
<CLUSTER_ID><![CDATA[100]]></CLUSTER_ID>
<DATASTORE><![CDATA[default]]></DATASTORE>
<DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
<DEV_PREFIX><![CDATA[xvd]]></DEV_PREFIX>
<DISK_ID><![CDATA[0]]></DISK_ID>
<DRIVER><![CDATA[tap2:tapdisk:aio:]]></DRIVER>
<IMAGE><![CDATA[662b0e71-3e21-5f43-b6a1-cc2f51319fa7]]></IMAGE>
<IMAGE_ID><![CDATA[227]]></IMAGE_ID>
<IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>
<LN_TARGET><![CDATA[SYSTEM]]></LN_TARGET>
<READONLY><![CDATA[NO]]></READONLY>
<SAVE><![CDATA[NO]]></SAVE>
<SIZE><![CDATA[42368]]></SIZE>
<SOURCE><![CDATA[/opt/opennebula/var/datastores/1/c516eb23fcb184f1458104a5d66f36b0]]></SOURCE>
<TARGET><![CDATA[xvda]]></TARGET>
<TM_MAD><![CDATA[ssh]]></TM_MAD>
<TYPE><![CDATA[FILE]]></TYPE>
</DISK>
<ERROR>
<MESSAGE><![CDATA[Error executing image transfer script: Path https://somewhere.com/init.sh is not allowed!]]></MESSAGE>
<TIMESTAMP><![CDATA[Wed Nov 6 13:34:19 2013]]></TIMESTAMP>
</ERROR>
<FEATURES>
<ACPI><![CDATA[no]]></ACPI>
</FEATURES>
<MEMORY>1736960</MEMORY>
<NAME><![CDATA[one-36551]]></NAME>
<NIC>
<BRIDGE><![CDATA[xenbr0]]></BRIDGE>
<CLUSTER_ID><![CDATA[100]]></CLUSTER_ID>
<IP><![CDATA[123.123.5.5]]></IP>
<MAC><![CDATA[01:23:45:67:89:ab]]></MAC>
<NETWORK><![CDATA[public]]></NETWORK>
<NETWORK_ID><![CDATA[4]]></NETWORK_ID>
<VLAN><![CDATA[NO]]></VLAN>
<WHITE_PORTS_TCP><![CDATA[22]]></WHITE_PORTS_TCP>
<WHITE_PORTS_UDP><![CDATA[67,68]]></WHITE_PORTS_UDP>
</NIC>
<OS>
<BOOTLOADER><![CDATA[pygrub]]></BOOTLOADER>
</OS>
<RAW>
<TYPE><![CDATA[xen]]></TYPE>
</RAW>
<TEMPLATE_ID><![CDATA[66]]></TEMPLATE_ID>
<VCPU><![CDATA[1]]></VCPU>
<VMID><![CDATA[36551]]></VMID>
</TEMPLATE>
<USER_TEMPLATE>
<ARCHITECTURE><![CDATA[x86]]></ARCHITECTURE>
<DESCRIPTION><![CDATA[Instantiated with rOCCI-server on Wed, 29 Oct 2014 14:01:15 +0100.]]></DESCRIPTION>
<OCCI_ID><![CDATA[46083]]></OCCI_ID>
<USER_X509_DN><![CDATA[/Dn=FrOm/CN=DN/CN=TeMpLaTe]]></USER_X509_DN>
</USER_TEMPLATE>
<HISTORY_RECORDS>
<HISTORY>
<OID>36551</OID>
<SEQ>0</SEQ>
<HOSTNAME>supermachine1.somewhere.com</HOSTNAME>
<HID>11</HID>
<CID>100</CID>
<STIME>1383741169</STIME>
<ETIME>1383741259</ETIME>
<VMMMAD>vmm_xen</VMMMAD>
<VNMMAD>fw</VNMMAD>
<TMMAD>ssh</TMMAD>
<DS_LOCATION>/opt/opennebula/var/datastores</DS_LOCATION>
<DS_ID>0</DS_ID>
<PSTIME>1383741169</PSTIME>
<PETIME>1383741259</PETIME>
<RSTIME>0</RSTIME>
<RETIME>0</RETIME>
<ESTIME>0</ESTIME>
<EETIME>0</EETIME>
<REASON>1</REASON>
<ACTION>0</ACTION>
</HISTORY>
<HISTORY>
<OID>36551</OID>
<SEQ>1</SEQ>
<HOSTNAME>supermachine2.somewhere.com</HOSTNAME>
<HID>11</HID>
<CID>100</CID>
<STIME>1383741589</STIME>
<ETIME>1383742270</ETIME>
<VMMMAD>vmm_xen</VMMMAD>
<VNMMAD>fw</VNMMAD>
<TMMAD>ssh</TMMAD>
<DS_LOCATION>/opt/opennebula/var/datastores</DS_LOCATION>
<DS_ID>0</DS_ID>
<PSTIME>1383741589</PSTIME>
<PETIME>1383741674</PETIME>
<RSTIME>1383741674</RSTIME>
<RETIME>1383742270</RETIME>
<ESTIME>1383742270</ESTIME>
<EETIME>1383742270</EETIME>
<REASON>0</REASON>
<ACTION>0</ACTION>
</HISTORY>
</HISTORY_RECORDS>
</VM>