diff --git a/sandbox-providers/softlayer/src/test/resources/virtual_guest_bad_halted.json b/sandbox-providers/softlayer/src/test/resources/virtual_guest_bad_halted.json index a9399d1c8d..25386d9c3f 100644 --- a/sandbox-providers/softlayer/src/test/resources/virtual_guest_bad_halted.json +++ b/sandbox-providers/softlayer/src/test/resources/virtual_guest_bad_halted.json @@ -1 +1,4 @@ -{"accountId":93750,"createDate":"2011-09-28T01:52:45-08:00","dedicatedAccountHostOnlyFlag":false,"domain":"jclouds.org","fullyQualifiedDomainName":"foo-ef4.jclouds.org","hostname":"foo-ef4","id":413348,"lastVerifiedDate":null,"maxCpu":null,"maxCpuUnits":"CORE","maxMemory":256,"metricPollDate":null,"modifyDate":null,"privateNetworkOnlyFlag":false,"startCpus":null,"statusId":1001,"globalIdentifier":"9a8b20f0-a758-4c1f-b65b-0e63b791009f","managedResourceFlag":false,"networkVlans":[],"powerState":{"keyName":"HALTED","name":"Halted"}} \ No newline at end of file +{"accountId":93750,"createDate":"2011-09-28T01:52:45-08:00","dedicatedAccountHostOnlyFlag":false,"domain":"jclouds.org","fullyQualifiedDomainName":"foo-ef4.jclouds.org","hostname":"foo-ef4","id":413348,"lastVerifiedDate":null,"maxCpu":null,"maxCpuUnits":"CORE","maxMemory":256,"metricPollDate":null,"modifyDate":null,"privateNetworkOnlyFlag":false,"startCpus":null,"statusId":1001,"globalIdentifier":"9a8b20f0-a758-4c1f-b65b-0e63b791009f","managedResourceFlag":false,"networkVlans":[],"powerState":{ + "keyName":"HALTED", + "name":"Halted" +}} \ No newline at end of file diff --git a/sandbox-providers/softlayer/src/test/resources/virtual_guest_good_halted.json b/sandbox-providers/softlayer/src/test/resources/virtual_guest_good_halted.json index 80980a1a7a..d1818af592 100644 --- a/sandbox-providers/softlayer/src/test/resources/virtual_guest_good_halted.json +++ b/sandbox-providers/softlayer/src/test/resources/virtual_guest_good_halted.json @@ -1 +1,89 @@ -{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T10:47:14-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{"id":3,"longName":"Dallas","name":"dal01"},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[{"accountId":93750,"id":144615,"modifyDate":"2011-09-30T11:35:27-08:00","networkVrfId":null,"primarySubnetId":171267,"vlanNumber":1673},{"accountId":93750,"id":144616,"modifyDate":"2011-09-30T11:35:30-08:00","networkVrfId":null,"primarySubnetId":329652,"vlanNumber":1622}],"operatingSystem":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":null}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}}}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}},"powerState":{"keyName":"HALTED","name":"Halted"},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file +{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T10:47:14-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{ + "id":3, + "longName":"Dallas", + "name":"dal01" +},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[ + { + "accountId":93750, + "id":144615, + "modifyDate":"2011-09-30T11:35:27-08:00", + "networkVrfId":null, + "primarySubnetId":171267, + "vlanNumber":1673 + }, + { + "accountId":93750, + "id":144616, + "modifyDate":"2011-09-30T11:35:30-08:00", + "networkVrfId":null, + "primarySubnetId":329652, + "vlanNumber":1622 + } +],"operatingSystem":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":null + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } + } + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } +},"powerState":{ + "keyName":"HALTED", + "name":"Halted" +},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file diff --git a/sandbox-providers/softlayer/src/test/resources/virtual_guest_no_password.json b/sandbox-providers/softlayer/src/test/resources/virtual_guest_no_password.json index d36cade52b..2e97eabe98 100644 --- a/sandbox-providers/softlayer/src/test/resources/virtual_guest_no_password.json +++ b/sandbox-providers/softlayer/src/test/resources/virtual_guest_no_password.json @@ -1 +1,46 @@ -{"accountId":93750,"createDate":"2011-10-01T11:10:16-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-246105155.me.org","hostname":"node-246105155","id":416696,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":null,"modifyDate":"2011-10-01T11:11:31-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"694d34c3-9c36-b590-4ba7-4ec58954b9dc","datacenter":{"id":3,"longName":"Dallas","name":"dal01"},"globalIdentifier":"a867e0a2-01f6-4c80-ad0f-2688f2eab1a7","managedResourceFlag":false,"networkVlans":[{"accountId":93750,"id":144615,"modifyDate":"2011-09-30T11:35:27-08:00","networkVrfId":null,"primarySubnetId":171267,"vlanNumber":1673},{"accountId":93750,"id":144616,"modifyDate":"2011-09-30T11:35:30-08:00","networkVrfId":null,"primarySubnetId":329652,"vlanNumber":1622}],"operatingSystem":{"hardwareId":null,"id":913812,"manufacturerLicenseInstance":"","passwords":[],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}},"powerState":{"keyName":"HALTED","name":"Halted"},"primaryBackendIpAddress":"10.37.102.194","primaryIpAddress":"173.192.29.186"} \ No newline at end of file +{"accountId":93750,"createDate":"2011-10-01T11:10:16-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-246105155.me.org","hostname":"node-246105155","id":416696,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":null,"modifyDate":"2011-10-01T11:11:31-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"694d34c3-9c36-b590-4ba7-4ec58954b9dc","datacenter":{ + "id":3, + "longName":"Dallas", + "name":"dal01" +},"globalIdentifier":"a867e0a2-01f6-4c80-ad0f-2688f2eab1a7","managedResourceFlag":false,"networkVlans":[ + { + "accountId":93750, + "id":144615, + "modifyDate":"2011-09-30T11:35:27-08:00", + "networkVrfId":null, + "primarySubnetId":171267, + "vlanNumber":1673 + }, + { + "accountId":93750, + "id":144616, + "modifyDate":"2011-09-30T11:35:30-08:00", + "networkVrfId":null, + "primarySubnetId":329652, + "vlanNumber":1622 + } +],"operatingSystem":{ + "hardwareId":null, + "id":913812, + "manufacturerLicenseInstance":"", + "passwords":[], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } +},"powerState":{ + "keyName":"HALTED", + "name":"Halted" +},"primaryBackendIpAddress":"10.37.102.194","primaryIpAddress":"173.192.29.186"} \ No newline at end of file diff --git a/sandbox-providers/softlayer/src/test/resources/virtual_guest_paused.json b/sandbox-providers/softlayer/src/test/resources/virtual_guest_paused.json index e059de600f..179b521860 100644 --- a/sandbox-providers/softlayer/src/test/resources/virtual_guest_paused.json +++ b/sandbox-providers/softlayer/src/test/resources/virtual_guest_paused.json @@ -1 +1,89 @@ -{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T10:45:44-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{"id":3,"longName":"Dallas","name":"dal01"},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[{"accountId":93750,"id":144615,"modifyDate":"2011-09-30T11:35:27-08:00","networkVrfId":null,"primarySubnetId":171267,"vlanNumber":1673},{"accountId":93750,"id":144616,"modifyDate":"2011-09-30T11:35:30-08:00","networkVrfId":null,"primarySubnetId":329652,"vlanNumber":1622}],"operatingSystem":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":null}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}}}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}},"powerState":{"keyName":"PAUSED","name":"Paused"},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file +{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T10:45:44-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{ + "id":3, + "longName":"Dallas", + "name":"dal01" +},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[ + { + "accountId":93750, + "id":144615, + "modifyDate":"2011-09-30T11:35:27-08:00", + "networkVrfId":null, + "primarySubnetId":171267, + "vlanNumber":1673 + }, + { + "accountId":93750, + "id":144616, + "modifyDate":"2011-09-30T11:35:30-08:00", + "networkVrfId":null, + "primarySubnetId":329652, + "vlanNumber":1622 + } +],"operatingSystem":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":null + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } + } + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } +},"powerState":{ + "keyName":"PAUSED", + "name":"Paused" +},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file diff --git a/sandbox-providers/softlayer/src/test/resources/virtual_guest_running.json b/sandbox-providers/softlayer/src/test/resources/virtual_guest_running.json index 0bcf0df02e..12dde73416 100644 --- a/sandbox-providers/softlayer/src/test/resources/virtual_guest_running.json +++ b/sandbox-providers/softlayer/src/test/resources/virtual_guest_running.json @@ -1 +1,89 @@ -{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T09:36:29-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{"id":3,"longName":"Dallas","name":"dal01"},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[{"accountId":93750,"id":144615,"modifyDate":"2011-09-30T11:35:27-08:00","networkVrfId":null,"primarySubnetId":171267,"vlanNumber":1673},{"accountId":93750,"id":144616,"modifyDate":"2011-09-30T11:35:30-08:00","networkVrfId":null,"primarySubnetId":329652,"vlanNumber":1622}],"operatingSystem":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":{"hardwareId":null,"id":913636,"manufacturerLicenseInstance":"","passwords":[{"createDate":"2011-10-01T06:12:33-08:00","id":728987,"modifyDate":"2011-10-01T06:12:33-08:00","password":"XKL4cHym","port":null,"softwareId":913636,"username":"root","software":null}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}}}],"softwareLicense":{"id":427,"softwareDescriptionId":408,"softwareDescription":{"controlPanel":0,"id":408,"manufacturer":"Ubuntu","name":"Ubuntu ","operatingSystem":1,"requiredUser":"root","upgradeSwDescId":null,"version":"8.04-64 Minimal for CCI","virtualLicense":0,"virtualizationPlatform":0}}},"powerState":{"keyName":"RUNNING","name":"Running"},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file +{"accountId":93750,"createDate":"2011-10-01T06:10:38-08:00","dedicatedAccountHostOnlyFlag":true,"domain":"me.org","fullyQualifiedDomainName":"node-1928752820.me.org","hostname":"node-1928752820","id":416591,"lastVerifiedDate":null,"maxCpu":1,"maxCpuUnits":"CORE","maxMemory":1024,"metricPollDate":"2011-10-01T09:36:00-08:00","modifyDate":"2011-10-01T09:36:29-08:00","privateNetworkOnlyFlag":false,"startCpus":1,"statusId":1001,"uuid":"754c011b-7e80-8185-7e5a-c6424873c509","datacenter":{ + "id":3, + "longName":"Dallas", + "name":"dal01" +},"globalIdentifier":"0f10b863-f6b3-49a3-a2b9-9b0fe956a912","managedResourceFlag":false,"networkVlans":[ + { + "accountId":93750, + "id":144615, + "modifyDate":"2011-09-30T11:35:27-08:00", + "networkVrfId":null, + "primarySubnetId":171267, + "vlanNumber":1673 + }, + { + "accountId":93750, + "id":144616, + "modifyDate":"2011-09-30T11:35:30-08:00", + "networkVrfId":null, + "primarySubnetId":329652, + "vlanNumber":1622 + } +],"operatingSystem":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":{ + "hardwareId":null, + "id":913636, + "manufacturerLicenseInstance":"", + "passwords":[ + { + "createDate":"2011-10-01T06:12:33-08:00", + "id":728987, + "modifyDate":"2011-10-01T06:12:33-08:00", + "password":"XKL4cHym", + "port":null, + "softwareId":913636, + "username":"root", + "software":null + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } + } + } + ], + "softwareLicense":{ + "id":427, + "softwareDescriptionId":408, + "softwareDescription":{ + "controlPanel":0, + "id":408, + "manufacturer":"Ubuntu", + "name":"Ubuntu ", + "operatingSystem":1, + "requiredUser":"root", + "upgradeSwDescId":null, + "version":"8.04-64 Minimal for CCI", + "virtualLicense":0, + "virtualizationPlatform":0 + } + } +},"powerState":{ + "keyName":"RUNNING", + "name":"Running" +},"primaryBackendIpAddress":"10.37.102.197","primaryIpAddress":"173.192.29.189"} \ No newline at end of file