diff --git a/tests/fixtures/vm_nic_data.yaml b/tests/fixtures/vm_nic_data.yaml new file mode 100644 index 0000000..bb43c73 --- /dev/null +++ b/tests/fixtures/vm_nic_data.yaml @@ -0,0 +1,2967 @@ +interactions: +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + User-Agent: [python-requests/2.3.0 CPython/3.4.1 Darwin/13.3.0] + method: GET + uri: https://vcsa:443//sdk/vimServiceVersions.xml + response: + body: {string: "\n\n\n + \ \n urn:vim25\n 5.5\n \n + \ 5.1\n 5.0\n 4.1\n + \ 4.0\n 2.5u2\n 2.5\n + \ \n \n \n urn:vim2\n + \ 2.0\n \n\n"} + headers: + Connection: [Keep-Alive] + Content-Length: ['530'] + Content-Type: [text/xml] + Date: ['Tue, 19 Aug 2014 08:54:35 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="ServiceInstance">ServiceInstance + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: [''] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\ngroup-d1propertyCollectorViewManagerVMware vCenter + ServerVMware vCenter Server 5.5.0 build-1623101VMware, + Inc.5.5.01623101INTL000linux-x64vpxVirtualCenter5.57FE5EAEC-D956-4BF1-BC24-28D6242EA017VMware + VirtualCenter Server5.0VpxSettingsUserDirectorySessionManagerAuthorizationManagerServiceMgrPerfMgrScheduledTaskManagerAlarmManagerEventManagerTaskManagerExtensionManagerCustomizationSpecManagerCustomFieldsManagerDiagMgrLicenseManagerSearchIndexFileManagerDatastoreNamespaceManagervirtualDiskManagerSnmpSystemProvCheckerCompatCheckerOvfManagerIpPoolManagerDVSManagerHostProfileManagerClusterProfileManagerMoComplianceManagerLocalizationManagerStorageResourceManagerguestOperationsManager\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3599'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:35 GMT'] + Set-Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="SessionManager">SessionManagermy_usermy_password + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\n52467fed-d90c-b718-5b27-1b333aeaade4my_usermy_user + 2014-08-19T08:54:36.163262Z2014-08-19T08:54:36.163262Zenenfalse192.168.2.1000\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['790'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="ServiceInstance">ServiceInstance + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\ngroup-d1propertyCollectorViewManagerVMware vCenter + ServerVMware vCenter Server 5.5.0 build-1623101VMware, + Inc.5.5.01623101INTL000linux-x64vpxVirtualCenter5.57FE5EAEC-D956-4BF1-BC24-28D6242EA017VMware + VirtualCenter Server5.0VpxSettingsUserDirectorySessionManagerAuthorizationManagerServiceMgrPerfMgrScheduledTaskManagerAlarmManagerEventManagerTaskManagerExtensionManagerCustomizationSpecManagerCustomFieldsManagerDiagMgrLicenseManagerSearchIndexFileManagerDatastoreNamespaceManagervirtualDiskManagerSnmpSystemProvCheckerCompatCheckerOvfManagerIpPoolManagerDVSManagerHostProfileManagerClusterProfileManagerMoComplianceManagerLocalizationManagerStorageResourceManagerguestOperationsManager\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3599'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="ViewManager">ViewManagergroup-d1VirtualMachinetrue + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nsession[d997a63e-8bd7-4b84-9dc2-e696094ad947]521ceaa9-69db-d91a-1dd4-a3efeae9f2bc\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['529'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="ServiceInstance">ServiceInstance + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\ngroup-d1propertyCollectorViewManagerVMware vCenter + ServerVMware vCenter Server 5.5.0 build-1623101VMware, + Inc.5.5.01623101INTL000linux-x64vpxVirtualCenter5.57FE5EAEC-D956-4BF1-BC24-28D6242EA017VMware + VirtualCenter Server5.0VpxSettingsUserDirectorySessionManagerAuthorizationManagerServiceMgrPerfMgrScheduledTaskManagerAlarmManagerEventManagerTaskManagerExtensionManagerCustomizationSpecManagerCustomFieldsManagerDiagMgrLicenseManagerSearchIndexFileManagerDatastoreNamespaceManagervirtualDiskManagerSnmpSystemProvCheckerCompatCheckerOvfManagerIpPoolManagerDVSManagerHostProfileManagerClusterProfileManagerMoComplianceManagerLocalizationManagerStorageResourceManagerguestOperationsManager\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3599'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorContainerViewfalseviewsession[d997a63e-8bd7-4b84-9dc2-e696094ad947]521ceaa9-69db-d91a-1dd4-a3efeae9f2bcfalse1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nsession[d997a63e-8bd7-4b84-9dc2-e696094ad947]521ceaa9-69db-d91a-1dd4-a3efeae9f2bcviewvm-744vm-730vm-741vm-36vm-749vm-750vm-742vm-26vm-30vm-34vm-38vm-35vm-24vm-23vm-27vm-31vm-37vm-745vm-28vm-743vm-746vm-25vm-748vm-33vm-747vm-722vm-29vm-39\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3741'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-744false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-744nameMARVEL-Freak\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['568'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-744false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-744guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-744false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-744guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-730false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-730namebox_copy\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['564'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-730false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-730guesttoolsNotRunningguestToolsCurrentguestToolsCurrentguestToolsNotRunningubuntu64GuestUbuntu + Linux (64-bit)VM Network00:50:56:82:34:02false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1218'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-730false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-730guesttoolsNotRunningguestToolsCurrentguestToolsCurrentguestToolsNotRunningubuntu64GuestUbuntu + Linux (64-bit)VM Network00:50:56:82:34:02false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1218'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-741false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-741nameMARVEL-Mach_IV\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['570'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-741false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-741guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-741false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-741guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-36false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-36nameVCVA-5.5u1-14\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['568'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-36false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-36guesttoolsOkguestToolsUnmanagedguestToolsUnmanagedguestToolsRunning2147483647sles11_64GuestlinuxGuestSUSE + Linux Enterprise 11 (64-bit)localhost.localdom192.168.2.14VM + Network192.168.2.142606:a000:110f:c018:20c:29ff:fe75:212efe80::20c:29ff:fe75:212e00:0c:29:75:21:2etrue4000192.168.2.1416preferred2606:a000:110f:c018:20c:29ff:fe75:212e64unknownfe80::20c:29ff:fe75:212e64unknownfalselocalhost.localdomlocaldom192.168.2.1localdom0.0.0.00192.168.2.10169.254.0.0160192.168.0.01602606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/104242216966110584832/boot134029312112363520/storage/core2113784627220765569024/storage/log2113784627220690255872/storage/db6341262950463039680512720400runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3617'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-36false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-36guesttoolsOkguestToolsUnmanagedguestToolsUnmanagedguestToolsRunning2147483647sles11_64GuestlinuxGuestSUSE + Linux Enterprise 11 (64-bit)localhost.localdom192.168.2.14VM + Network192.168.2.142606:a000:110f:c018:20c:29ff:fe75:212efe80::20c:29ff:fe75:212e00:0c:29:75:21:2etrue4000192.168.2.1416preferred2606:a000:110f:c018:20c:29ff:fe75:212e64unknownfe80::20c:29ff:fe75:212e64unknownfalselocalhost.localdomlocaldom192.168.2.1localdom0.0.0.00192.168.2.10169.254.0.0160192.168.0.01602606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/104242216966110584832/boot134029312112363520/storage/core2113784627220765569024/storage/log2113784627220690255872/storage/db6341262950463039680512720400runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3617'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-749false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-749nameMARVEL-Spectrum\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['571'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-749false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-749guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-749false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-749guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-750false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-750nameMARVEL-Agents_of_Atlas\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['578'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-750false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-750guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-750false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-750guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-742false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-742nameMARVEL-Alex_Power\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['573'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-742false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-742guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-742false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-742guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-26false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-26nameVCVA36\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-26false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-26guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:0c:29:44:8b:76false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-26false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-26guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:0c:29:44:8b:76false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-30false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-30nameVCVA37-v5.0\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['566'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-30false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-30guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:50:56:b4:89:dbfalse4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-30false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-30guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:50:56:b4:89:dbfalse4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-34false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-34nameESXi-5.5-17\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['566'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-34false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-34guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-34false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-34guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-38false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-38nameVCVA33\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-38false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-38guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:0c:29:e3:f9:f7false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-38false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-38guesttoolsNotRunningguestToolsUnmanagedguestToolsUnmanagedguestToolsNotRunning2147483647sles11_64GuestSUSE + Linux Enterprise 11 (64-bit)VM Network00:0c:29:e3:f9:f7false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1273'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-35false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-35nameESXi-5.5-18\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['566'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-35false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-35guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-35false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-35guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-24false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-24nameESXi23\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-24false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-24guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:91:f9false4000VM + Network00:50:56:b4:90:9ffalse4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-24false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-24guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:91:f9false4000VM + Network00:50:56:b4:90:9ffalse4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-23false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-23nameESXi22\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-23false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-23guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:0c:29:36:b5:5afalse4000VM + Network00:0c:29:36:b5:64false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-23false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-23guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:0c:29:36:b5:5afalse4000VM + Network00:0c:29:36:b5:64false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-27false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-27nameESXi12\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-27false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-27guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherGuest64Other + (64-bit)VM Network00:50:56:b4:3c:3cfalse4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1221'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-27false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-27guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherGuest64Other + (64-bit)VM Network00:50:56:b4:3c:3cfalse4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1221'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-31false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-31nameesx4.1.0\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['563'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-31false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-31guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernelGuestVMware + ESX 4.xInternal Network00:0c:29:1f:ec:bafalse4000VM + Network00:0c:29:1f:ec:c4false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1375'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-31false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-31guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernelGuestVMware + ESX 4.xInternal Network00:0c:29:1f:ec:bafalse4000VM + Network00:0c:29:1f:ec:c4false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1375'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-37false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-37nameESXi38-v5.0\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['566'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-37false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-37guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherLinux64GuestOther + Linux (64-bit)VM Network00:0c:29:ce:6a:d8false4000VM + Network00:0c:29:ce:6a:e2false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1379'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-37false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-37guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherLinux64GuestOther + Linux (64-bit)VM Network00:0c:29:ce:6a:d8false4000VM + Network00:0c:29:ce:6a:e2false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1379'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-745false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-745nameMARVEL-Vanisher_(Ultimate)\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['582'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-745false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-745guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-745false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-745guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-28false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-28nameESXi20\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-28false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-28guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:fc:9bfalse4000VM + Network00:50:56:b4:28:e7false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-28false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-28guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:fc:9bfalse4000VM + Network00:50:56:b4:28:e7false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-743false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-743nameMARVEL-Archangel\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['572'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-743false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-743guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-743false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-743guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-746false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-746nameMARVEL-Hepzibah\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['571'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-746false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-746guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-746false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-746guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-25false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-25nameESXi11\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-25false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-25guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherGuest64Other + (64-bit)VM Network00:0c:29:e1:e0:f8false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1221'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-25false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-25guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningotherGuest64Other + (64-bit)VM Network00:0c:29:e1:e0:f8false4000-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1221'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-748false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-748nameMARVEL-Serpent_Society\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['578'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-748false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-748guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-748false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-748guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-33false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-33nameESXi-5.5-16\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['566'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-33false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-33guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-33false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-33guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0notRunningappStatusGrayfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-747false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-747nameMARVEL-The_Hand\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['571'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-747false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-747guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-747false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-747guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunning0-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1029'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-722false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-722namebox\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['559'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-722false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-722guesttoolsOkguestToolsCurrentguestToolsCurrentguestToolsRunning9216ubuntuGuestlinuxGuestUbuntu + Linux (32-bit)box192.168.2.129VM + Network192.168.2.1292606:a000:110f:c018:a4d9:e6d2:9c00:f5212606:a000:110f:c018:250:56ff:fe82:287dfe80::250:56ff:fe82:287d00:50:56:82:28:7dtrue4000192.168.2.12924preferred2606:a000:110f:c018:a4d9:e6d2:9c00:f52164unknown2606:a000:110f:c018:250:56ff:fe82:287d64unknownfe80::250:56ff:fe82:287d64unknownfalseboxnc.rr.com127.0.0.1nc.rr.com0.0.0.00192.168.2.10169.254.0.0160192.168.2.02402001:67c:1360:8c01::18128fe80::9272:40ff:fe00:893302001:67c:1360:8c01::19128fe80::9272:40ff:fe00:893302001:67c:1562::13128fe80::9272:40ff:fe00:893302001:67c:1562::14128fe80::9272:40ff:fe00:893302001:67c:1562::15128fe80::9272:40ff:fe00:893302606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/1604982784012776964096800600runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['4200'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-722false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-722guesttoolsOkguestToolsCurrentguestToolsCurrentguestToolsRunning9216ubuntuGuestlinuxGuestUbuntu + Linux (32-bit)box192.168.2.129VM + Network192.168.2.1292606:a000:110f:c018:a4d9:e6d2:9c00:f5212606:a000:110f:c018:250:56ff:fe82:287dfe80::250:56ff:fe82:287d00:50:56:82:28:7dtrue4000192.168.2.12924preferred2606:a000:110f:c018:a4d9:e6d2:9c00:f52164unknown2606:a000:110f:c018:250:56ff:fe82:287d64unknownfe80::250:56ff:fe82:287d64unknownfalseboxnc.rr.com127.0.0.1nc.rr.com0.0.0.00192.168.2.10169.254.0.0160192.168.2.02402001:67c:1360:8c01::18128fe80::9272:40ff:fe00:893302001:67c:1360:8c01::19128fe80::9272:40ff:fe00:893302001:67c:1562::13128fe80::9272:40ff:fe00:893302001:67c:1562::14128fe80::9272:40ff:fe00:893302001:67c:1562::15128fe80::9272:40ff:fe00:893302606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/1604982784012776964096800600runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['4200'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-29false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-29nameESXi21\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['561'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-29false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-29guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:8d:7afalse4000VM + Network00:50:56:b4:39:b8false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-29false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-29guesttoolsNotInstalledguestToolsNotInstalledguestToolsNotInstalledguestToolsNotRunningvmkernel5GuestVMware + ESXi 5.xVM Network00:50:56:b4:8d:7afalse4000VM + Network00:50:56:b4:39:b8false4001-1-1notRunningfalsefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['1371'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalsenamevm-39false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-39nameVCVA-5.5u1-11\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['568'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-39false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-39guesttoolsOkguestToolsUnmanagedguestToolsUnmanagedguestToolsRunning2147483647sles11_64GuestlinuxGuestSUSE + Linux Enterprise 11 (64-bit)localhost.localdom192.168.2.11VM + Network192.168.2.112606:a000:110f:c018:20c:29ff:fe9d:a38cfe80::20c:29ff:fe9d:a38c00:0c:29:9d:a3:8ctrue4000192.168.2.1116preferred2606:a000:110f:c018:20c:29ff:fe9d:a38c64unknownfe80::20c:29ff:fe9d:a38c64unknownfalselocalhost.localdomlocaldom192.168.2.1localdom0.0.0.00192.168.2.10169.254.0.0160192.168.0.01602606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/104242216966602797056/boot134029312112363520/storage/core2113784627220957417472/storage/log2113784627220720312320/storage/db6341262950462593626112720400runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3617'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +- request: + body: ' + + + + <_this type="PropertyCollector">propertyCollectorVirtualMachinefalseguestvm-39false1 + + ' + headers: + Accept-Encoding: ['gzip, deflate'] + Content-Type: [text/xml; charset=UTF-8] + Cookie: ['vmware_soap_session="52ed31c2-85ea-2e40-9570-26c0f9ce0ca4"; Path=/; + HttpOnly; Secure; '] + SOAPAction: ['"urn:vim25/5.5"'] + method: POST + uri: https://vcsa:443/sdk + response: + body: {string: "\n\n\nvm-39guesttoolsOkguestToolsUnmanagedguestToolsUnmanagedguestToolsRunning2147483647sles11_64GuestlinuxGuestSUSE + Linux Enterprise 11 (64-bit)localhost.localdom192.168.2.11VM + Network192.168.2.112606:a000:110f:c018:20c:29ff:fe9d:a38cfe80::20c:29ff:fe9d:a38c00:0c:29:9d:a3:8ctrue4000192.168.2.1116preferred2606:a000:110f:c018:20c:29ff:fe9d:a38c64unknownfe80::20c:29ff:fe9d:a38c64unknownfalselocalhost.localdomlocaldom192.168.2.1localdom0.0.0.00192.168.2.10169.254.0.0160192.168.0.01602606:a000:110f:c018::640fe80::640::0fe80::9272:40ff:fe00:89330ff00::80/104242216966602797056/boot134029312112363520/storage/core2113784627220957417472/storage/log2113784627220720312320/storage/db6341262950462593626112720400runningappStatusGraytruefalse\n\n"} + headers: + Cache-Control: [no-cache] + Connection: [Keep-Alive] + Content-Length: ['3617'] + Content-Type: [text/xml; charset=utf-8] + Date: ['Tue, 19 Aug 2014 08:54:36 GMT'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/test_virtual_machine_object.py b/tests/test_virtual_machine_object.py new file mode 100644 index 0000000..84a8bce --- /dev/null +++ b/tests/test_virtual_machine_object.py @@ -0,0 +1,71 @@ +# VMware vSphere Python SDK +# Copyright (c) 2008-2014 VMware, Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from __future__ import print_function + +from tests import fixtures_path +import unittest +import vcr + +from pyVim import connect +from pyVmomi import vim + +class VirtualMachineTests(unittest.TestCase): + + @vcr.use_cassette('vm_nic_data.yaml', + cassette_library_dir=fixtures_path, record_mode='never') + def test_vm_nic_data(self): + data = {'ESXi-5.5-16': [], + 'ESXi-5.5-17': [], + 'ESXi-5.5-18': [], + 'ESXi11': ['00:0c:29:e1:e0:f8'], + 'ESXi12': ['00:50:56:b4:3c:3c'], + 'ESXi20': ['00:50:56:b4:fc:9b', '00:50:56:b4:28:e7'], + 'ESXi21': ['00:50:56:b4:8d:7a', '00:50:56:b4:39:b8'], + 'ESXi22': ['00:0c:29:36:b5:5a', '00:0c:29:36:b5:64'], + 'ESXi23': ['00:50:56:b4:91:f9', '00:50:56:b4:90:9f'], + 'ESXi38-v5.0': ['00:0c:29:ce:6a:d8', '00:0c:29:ce:6a:e2'], + 'MARVEL-Agents_of_Atlas': [], + 'MARVEL-Alex_Power': [], + 'MARVEL-Archangel': [], + 'MARVEL-Freak': [], + 'MARVEL-Hepzibah': [], + 'MARVEL-Mach_IV': [], + 'MARVEL-Serpent_Society': [], + 'MARVEL-Spectrum': [], + 'MARVEL-The_Hand': [], + 'MARVEL-Vanisher_(Ultimate)': [], + 'VCVA-5.5u1-11': ['00:0c:29:9d:a3:8c'], + 'VCVA-5.5u1-14': ['00:0c:29:75:21:2e'], + 'VCVA33': ['00:0c:29:e3:f9:f7'], + 'VCVA36': ['00:0c:29:44:8b:76'], + 'VCVA37-v5.0': ['00:50:56:b4:89:db'], + 'box': ['00:50:56:82:28:7d'], + 'box_copy': ['00:50:56:82:34:02'], + 'esx4.1.0': ['00:0c:29:1f:ec:ba', '00:0c:29:1f:ec:c4']} + + # see: http://python3porting.com/noconv.html + si = connect.SmartConnect(host='vcsa', + user='my_user', + pwd='my_password') + content = si.RetrieveContent() + virtual_machines = content.viewManager.CreateContainerView( + content.rootFolder, [vim.VirtualMachine], True) + for virtual_machine in virtual_machines.view: + name = virtual_machine.name + self.assertTrue(name in data.keys()) + macs = data[name] + if virtual_machine.guest: + for net in virtual_machine.guest.net: + self.assertTrue(net.macAddress in macs)