mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			5746 lines
		
	
	
		
			179 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5746 lines
		
	
	
		
			179 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| (function(window) {
 | |
|   var testRestartPoll;
 | |
| 
 | |
|   window.testData = {
 | |
|     actionFilter: function(args) {
 | |
|       var allowedActions = args.context.actions;
 | |
|       var disallowedActions = [];
 | |
|       var item = args.context.item;
 | |
|       var status = item.state;
 | |
| 
 | |
|       if (status == 'Running' || status == 'Starting') {
 | |
|         disallowedActions.push('start');
 | |
|       } else if (status == 'Stopped' || status == 'Stopping') {
 | |
|         disallowedActions.push('stop');
 | |
|         disallowedActions.push('restart');
 | |
|       } else if (status == 'Destroyed') {
 | |
|         disallowedActions = allowedActions;
 | |
|       }
 | |
| 
 | |
|       if (item.isstaticnat) {
 | |
|         disallowedActions.push('enableStaticNAT');
 | |
|       } else {
 | |
|         disallowedActions.push('disableStaticNAT');
 | |
|       }
 | |
| 
 | |
|       if (item.vpnenabled) {
 | |
|         disallowedActions.push('enableVPN');
 | |
|       } else {
 | |
|         disallowedActions.push('disableVPN');
 | |
|       }
 | |
| 
 | |
|       if (item.issourcenat){
 | |
|         disallowedActions.push('enableStaticNAT');
 | |
|         disallowedActions.push('disableStaticNAT');
 | |
|       } else {
 | |
|         disallowedActions.push('enableVPN');
 | |
|         disallowedActions.push('disableVPN');
 | |
|       }
 | |
| 
 | |
|       allowedActions = $.grep(allowedActions, function(item) {
 | |
|         return $.inArray(item, disallowedActions) == -1;
 | |
|       });
 | |
| 
 | |
|       return allowedActions;
 | |
|     },
 | |
|     notifications: {
 | |
|       testPoll: function(args) {
 | |
|         if (!testRestartPoll) testRestartPoll = 0;
 | |
|         if (testRestartPoll == 1) {
 | |
|           args.complete();
 | |
|           testRestartPoll = 0;
 | |
|           return true;
 | |
|         }
 | |
| 
 | |
|         testRestartPoll++;
 | |
| 
 | |
|         return true;
 | |
|       },
 | |
|       customPoll: function(data, actionFilter) {
 | |
|         return function(args) {
 | |
|           if (!testRestartPoll) testRestartPoll = 0;
 | |
|           if (testRestartPoll == 1) {
 | |
|             args.complete({
 | |
|               data: data,
 | |
|               actionFilter: actionFilter ? actionFilter : testData.actionFilter
 | |
|             });
 | |
|             testRestartPoll = 0;
 | |
|             return true;
 | |
|           }
 | |
| 
 | |
|           testRestartPoll++;
 | |
| 
 | |
|           return true;
 | |
|         };
 | |
|       }
 | |
|     },
 | |
|     actions: {
 | |
|       destroy: function(label) {
 | |
|         return {
 | |
|           label: 'Destroy ' + label,
 | |
|           messages: {
 | |
|             confirm: function(args) {
 | |
|               return 'Are you sure you want to destroy ' + label + '<br/>' + args.name + '?';
 | |
|             },
 | |
|             notification: function(args) {
 | |
|               return 'Destroyed ' + label + ': ' + args.name;
 | |
|             }
 | |
|           },
 | |
|           action: function(args) {
 | |
|             args.response.success();
 | |
|           },
 | |
|           notification: {
 | |
|             poll: testData.notifications.testPoll
 | |
|           }
 | |
|         };
 | |
|       }
 | |
|     },
 | |
|     dataProvider: {
 | |
|       listView: function(section) {
 | |
|         return function(args) {
 | |
|           setTimeout(function() {
 | |
|             var data;
 | |
|             if (args.page <= 5) data = testData.data[section];
 | |
|             args.response.success({
 | |
|               actionFilter: testData.actionFilter,
 | |
|               data: data
 | |
|             });
 | |
|           }, 300);
 | |
|         };
 | |
|       },
 | |
|       detailView: function(section) {
 | |
|         return function(args) {
 | |
|           setTimeout(function() {
 | |
|             var item = $.grep(testData.data[section], function(elem) {
 | |
|               return elem.id == args.id;
 | |
|             });
 | |
| 
 | |
|             args.response.success({
 | |
|               actionFilter: function(args) {
 | |
|                 var allowedActions = args.context.actions;
 | |
|                 var disallowedActions = [];
 | |
|                 var item = args.context.item;
 | |
|                 var status = item.state;
 | |
| 
 | |
|                 if (status == 'Running' || status == 'Starting') {
 | |
|                   disallowedActions.push('start');
 | |
|                 } else if (status == 'Stopped' || status == 'Stopping') {
 | |
|                   disallowedActions.push('stop');
 | |
|                   disallowedActions.push('restart');
 | |
|                 }
 | |
| 
 | |
|                 allowedActions = $.grep(allowedActions, function(item) {
 | |
|                   return $.inArray(item, disallowedActions) == -1;
 | |
|                 });
 | |
| 
 | |
|                 return allowedActions;
 | |
|               },
 | |
|               data: item[0]
 | |
|             });
 | |
|           }, 300);
 | |
|         };
 | |
|       },
 | |
|       instanceWizard: function(args) {
 | |
|         setTimeout(function() {
 | |
|           args.response.success();
 | |
|         });
 | |
|       }
 | |
|     },
 | |
|     data: {
 | |
|       instances: [
 | |
|         {
 | |
|           "id": 440,
 | |
|           "name": "i-8-440-VM",
 | |
|           "displayname": "i-8-440-VM",
 | |
|           "account": "TEST",
 | |
|           "domainid": 4,
 | |
|           "domain": "TEST",
 | |
|           "created": "2011-06-14T07:39:12-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "templateid": 256,
 | |
|           "templatename": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) Xenserver  Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0.76%",
 | |
|           "networkkbsread": 297109,
 | |
|           "networkkbswrite": 351816,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "PreSetup",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 489,
 | |
|               "networkid": 205,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.155",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             },
 | |
|             {
 | |
|               "id": 489,
 | |
|               "networkid": 206,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.156",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": false
 | |
|             },
 | |
|             {
 | |
|               "id": 490,
 | |
|               "networkid": 207,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.157",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": false
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "XenServer"
 | |
|         },
 | |
|         {
 | |
|           "id": 449,
 | |
|           "name": "i-15-449-VM",
 | |
|           "displayname": "DomsTest6",
 | |
|           "account": "RS4",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-14T11:11:58-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 229,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.74%",
 | |
|           "networkkbsread": 87141,
 | |
|           "networkkbswrite": 3533,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 498,
 | |
|               "networkid": 231,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.92",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 595,
 | |
|           "name": "i-29-595-VM",
 | |
|           "displayname": "Demo",
 | |
|           "account": "JamieLong",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-21T11:56:34-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "templateid": 259,
 | |
|           "templatename": "CentOS 5.3 (64 bit) vSphere",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) vSphere Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 648,
 | |
|               "networkid": 241,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.95",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 622,
 | |
|           "name": "i-20-622-VM",
 | |
|           "displayname": "structure",
 | |
|           "account": "cloud",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-22T10:14:45-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "templateid": 266,
 | |
|           "templatename": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 2,
 | |
|           "serviceofferingname": "Medium Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 1000,
 | |
|           "memory": 1024,
 | |
|           "cpuused": "0.05%",
 | |
|           "networkkbsread": 43183,
 | |
|           "networkkbswrite": 26496,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "PreSetup",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 677,
 | |
|               "networkid": 227,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.254",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "XenServer"
 | |
|         },
 | |
|         {
 | |
|           "id": 665,
 | |
|           "name": "i-35-665-VM",
 | |
|           "displayname": "sumi-virtiual-vm-1",
 | |
|           "account": "sumi",
 | |
|           "domainid": 7,
 | |
|           "domain": "sumita",
 | |
|           "created": "2011-06-23T14:41:17-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "groupid": 22,
 | |
|           "group": "sumi",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 259,
 | |
|           "templatename": "CentOS 5.3 (64 bit) vSphere",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) vSphere Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 720,
 | |
|               "networkid": 243,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.224",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 777,
 | |
|           "name": "i-23-777-VM",
 | |
|           "displayname": "QA_RSpec_CloudStack2_2_4_instance_1309417955",
 | |
|           "account": "RS3",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-30T03:20:40-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 229,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.67%",
 | |
|           "networkkbsread": 78074,
 | |
|           "networkkbswrite": 2641,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 834,
 | |
|               "networkid": 233,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.202",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 786,
 | |
|           "name": "i-23-786-VM",
 | |
|           "displayname": "QA_RSpec_CloudStack2_2_4_Server_Array_1309417955 #2",
 | |
|           "account": "RS3",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-30T05:16:56-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 229,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.63%",
 | |
|           "networkkbsread": 79738,
 | |
|           "networkkbswrite": 75978,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 843,
 | |
|               "networkid": 233,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.244",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 805,
 | |
|           "name": "i-23-805-VM",
 | |
|           "displayname": "dshank_test_CloudStack2_2_4_instance_1309468441",
 | |
|           "account": "RS3",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-06-30T14:17:45-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 229,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.32",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.58%",
 | |
|           "networkkbsread": 77647,
 | |
|           "networkkbswrite": 2668,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 864,
 | |
|               "networkid": 233,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.85",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 861,
 | |
|           "name": "i-15-861-VM",
 | |
|           "displayname": "kd-test",
 | |
|           "account": "RS4",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-05T11:31:08-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 272,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.34_Dev1",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.34_Dev1",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.71%",
 | |
|           "networkkbsread": 62545,
 | |
|           "networkkbswrite": 2361,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 922,
 | |
|               "networkid": 231,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.88",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 901,
 | |
|           "name": "i-16-901-VM",
 | |
|           "displayname": "jf: tester",
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-06T07:36:24-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 291,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.34",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.34",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.65%",
 | |
|           "networkkbsread": 30199,
 | |
|           "networkkbswrite": 243354,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 962,
 | |
|               "networkid": 225,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.122",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 972,
 | |
|           "name": "i-32-972-VM",
 | |
|           "displayname": "web1",
 | |
|           "account": "sumita-user",
 | |
|           "domainid": 7,
 | |
|           "domain": "sumita",
 | |
|           "created": "2011-07-08T13:58:51-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "groupid": 28,
 | |
|           "group": "web servers",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "templateid": 230,
 | |
|           "templatename": "Fedora 15",
 | |
|           "templatedisplaytext": "Fedora 15",
 | |
|           "passwordenabled": false,
 | |
|           "isoid": 230,
 | |
|           "isoname": "Fedora 15",
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 99,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1035,
 | |
|               "networkid": 238,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.116",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 1030,
 | |
|           "name": "i-19-1030-VM",
 | |
|           "displayname": "i-19-1030-VM",
 | |
|           "account": "SCALR",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-12T15:09:32-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 266,
 | |
|           "templatename": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0.03%",
 | |
|           "networkkbsread": 10938,
 | |
|           "networkkbswrite": 2993,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "PreSetup",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1095,
 | |
|               "networkid": 249,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.54",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "XenServer"
 | |
|         },
 | |
|         {
 | |
|           "id": 1118,
 | |
|           "name": "i-7-1118-VM",
 | |
|           "displayname": "TMDemoVM1",
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "created": "2011-07-14T07:48:35-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "groupid": 30,
 | |
|           "group": "TMDemo",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 259,
 | |
|           "templatename": "CentOS 5.3 (64 bit) vSphere",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) vSphere Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1185,
 | |
|               "networkid": 206,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.183",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 1274,
 | |
|           "name": "i-27-1274-VM",
 | |
|           "displayname": "i-27-1274-VM",
 | |
|           "account": "Yali",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-26T19:41:11-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "templateid": 259,
 | |
|           "templatename": "CentOS 5.3 (64 bit) vSphere",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) vSphere Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1347,
 | |
|               "networkid": 237,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.30",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 1276,
 | |
|           "name": "i-2-1276-VM",
 | |
|           "displayname": "sumita-direct-test",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-27T09:04:25-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "hostid": 8,
 | |
|           "hostname": "x31.fre.vmops.com",
 | |
|           "templateid": 267,
 | |
|           "templatename": "CentOS 5.3 (64 bit) KVM",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) KVM",
 | |
|           "passwordenabled": false,
 | |
|           "isoid": 307,
 | |
|           "isoname": "Gentoo AMD64 20110714",
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.01%",
 | |
|           "networkkbsread": 192035,
 | |
|           "networkkbswrite": 4105,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "securitygroup": [
 | |
|             {
 | |
|               "id": 1,
 | |
|               "name": "default",
 | |
|               "description": "Default Security Group"
 | |
|             }
 | |
|           ],
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1349,
 | |
|               "networkid": 211,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "65.19.181.1",
 | |
|               "ipaddress": "65.19.181.76",
 | |
|               "isolationuri": "vlan://65",
 | |
|               "broadcasturi": "vlan://65",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Direct",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 1284,
 | |
|           "name": "i-23-1284-VM",
 | |
|           "displayname": "Base ServerTemplate for Linux (Chef) - Beta",
 | |
|           "account": "RS3",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-27T10:40:42-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 291,
 | |
|           "templatename": "RightImage_CentOS_5.4_x64_v5.6.34",
 | |
|           "templatedisplaytext": "RightImage_CentOS_5.4_x64_v5.6.34",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "2.01%",
 | |
|           "networkkbsread": 61486,
 | |
|           "networkkbswrite": 68649,
 | |
|           "guestosid": 14,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1357,
 | |
|               "networkid": 233,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.92",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 1323,
 | |
|           "name": "i-10-1323-VM",
 | |
|           "displayname": "osamu_vmware",
 | |
|           "account": "osamu",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-31T08:42:34-0700",
 | |
|           "state": "Stopped",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "templateid": 259,
 | |
|           "templatename": "CentOS 5.3 (64 bit) vSphere",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) vSphere Password enabled",
 | |
|           "passwordenabled": true,
 | |
|           "serviceofferingid": 2,
 | |
|           "serviceofferingname": "Medium Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 1000,
 | |
|           "memory": 1024,
 | |
|           "cpuused": "0%",
 | |
|           "networkkbsread": 0,
 | |
|           "networkkbswrite": 0,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1396,
 | |
|               "networkid": 234,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.179",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "VMware"
 | |
|         },
 | |
|         {
 | |
|           "id": 1324,
 | |
|           "name": "i-10-1324-VM",
 | |
|           "displayname": "osamu_kvm",
 | |
|           "account": "osamu",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-07-31T08:53:47-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 1,
 | |
|           "hostname": "905-17.sjc.vmops.com",
 | |
|           "templateid": 267,
 | |
|           "templatename": "CentOS 5.3 (64 bit) KVM",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) KVM",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 2,
 | |
|           "serviceofferingname": "Medium Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 1000,
 | |
|           "memory": 1024,
 | |
|           "cpuused": "26.13%",
 | |
|           "networkkbsread": 4865,
 | |
|           "networkkbswrite": 307,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "NetworkFilesystem",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1397,
 | |
|               "networkid": 234,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.139",
 | |
|               "isolationuri": "vlan://275",
 | |
|               "broadcasturi": "vlan://275",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "KVM"
 | |
|         },
 | |
|         {
 | |
|           "id": 1355,
 | |
|           "name": "i-2-1355-VM",
 | |
|           "displayname": "i-2-1355-VM",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-02T07:43:07-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "templateid": 266,
 | |
|           "templatename": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 2,
 | |
|           "serviceofferingname": "Medium Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 1000,
 | |
|           "memory": 1024,
 | |
|           "cpuused": "0.05%",
 | |
|           "networkkbsread": 4555210,
 | |
|           "networkkbswrite": 3920,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "PreSetup",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1434,
 | |
|               "networkid": 212,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.32",
 | |
|               "isolationuri": "vlan://201",
 | |
|               "broadcasturi": "vlan://201",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "XenServer"
 | |
|         },
 | |
|         {
 | |
|           "id": 1377,
 | |
|           "name": "i-44-1377-VM",
 | |
|           "displayname": "Eric-VM-1",
 | |
|           "account": "support-team",
 | |
|           "domainid": 12,
 | |
|           "domain": "cloud support",
 | |
|           "created": "2011-08-03T15:24:40-0700",
 | |
|           "state": "Running",
 | |
|           "haenable": false,
 | |
|           "groupid": 34,
 | |
|           "group": "Web",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "templateid": 266,
 | |
|           "templatename": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "templatedisplaytext": "CentOS 5.3 (64 bit) Xenserver",
 | |
|           "passwordenabled": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "cpuused": "0.02%",
 | |
|           "networkkbsread": 1599417,
 | |
|           "networkkbswrite": 3267160,
 | |
|           "guestosid": 12,
 | |
|           "rootdeviceid": 0,
 | |
|           "rootdevicetype": "PreSetup",
 | |
|           "nic": [
 | |
|             {
 | |
|               "id": 1456,
 | |
|               "networkid": 259,
 | |
|               "netmask": "255.255.255.0",
 | |
|               "gateway": "10.1.1.1",
 | |
|               "ipaddress": "10.1.1.95",
 | |
|               "traffictype": "Guest",
 | |
|               "type": "Virtual",
 | |
|               "isdefault": true
 | |
|             }
 | |
|           ],
 | |
|           "hypervisor": "XenServer"
 | |
|         }
 | |
|       ],
 | |
|       domains: [
 | |
|         {
 | |
|           "id": 123,
 | |
|           "name": "ROOT"
 | |
|         }
 | |
|       ],
 | |
|       storage: [
 | |
|         {
 | |
|           "id": 1863,
 | |
|           "name": "ROOT-1727",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1727,
 | |
|           "vmname": "i-57-1727-VM",
 | |
|           "vmdisplayname": "i-57-1727-VM",
 | |
|           "vmstate": "Stopped",
 | |
|           "size": 8589934592,
 | |
|           "created": "2011-08-19T16:22:29-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "XenServer",
 | |
|           "storage": "Xen Cluster01 NFS Primary",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 2,
 | |
|           "serviceofferingname": "Medium Instance",
 | |
|           "serviceofferingdisplaytext": "Medium Instance, $0.10 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1864,
 | |
|           "name": "DATA-1727",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "type": "DATADISK",
 | |
|           "deviceid": 1,
 | |
|           "virtualmachineid": 1727,
 | |
|           "vmname": "i-57-1727-VM",
 | |
|           "vmdisplayname": "i-57-1727-VM",
 | |
|           "vmstate": "Stopped",
 | |
|           "size": 21474836480,
 | |
|           "created": "2011-08-19T16:22:29-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "XenServer",
 | |
|           "diskofferingid": 4,
 | |
|           "diskofferingname": "Medium",
 | |
|           "diskofferingdisplaytext": "Medium Disk, 20 GB",
 | |
|           "storage": "Xen Cluster01 NFS Primary",
 | |
|           "destroyed": false,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1862,
 | |
|           "name": "ROOT-1726",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1726,
 | |
|           "vmname": "i-5-1726-VM",
 | |
|           "vmdisplayname": "6bit master",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T14:16:26-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1859,
 | |
|           "name": "ROOT-1723",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1723,
 | |
|           "vmname": "i-5-1723-VM",
 | |
|           "vmdisplayname": "i-5-1723-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T13:38:46-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1860,
 | |
|           "name": "ROOT-1725",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1725,
 | |
|           "vmname": "i-5-1725-VM",
 | |
|           "vmdisplayname": "i-5-1725-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T13:38:46-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1861,
 | |
|           "name": "ROOT-1724",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1724,
 | |
|           "vmname": "i-5-1724-VM",
 | |
|           "vmdisplayname": "i-5-1724-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T13:38:46-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1854,
 | |
|           "name": "ROOT-1719",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1719,
 | |
|           "vmname": "i-5-1719-VM",
 | |
|           "vmdisplayname": "i-5-1719-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T09:52:07-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1855,
 | |
|           "name": "ROOT-1720",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1720,
 | |
|           "vmname": "i-5-1720-VM",
 | |
|           "vmdisplayname": "i-5-1720-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T09:52:07-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1856,
 | |
|           "name": "ROOT-1721",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1721,
 | |
|           "vmname": "i-5-1721-VM",
 | |
|           "vmdisplayname": "i-5-1721-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T09:52:07-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1851,
 | |
|           "name": "ROOT-1716",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1716,
 | |
|           "vmname": "i-5-1716-VM",
 | |
|           "vmdisplayname": "i-5-1716-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T05:59:13-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1852,
 | |
|           "name": "ROOT-1717",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1717,
 | |
|           "vmname": "i-5-1717-VM",
 | |
|           "vmdisplayname": "i-5-1717-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T05:59:13-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1853,
 | |
|           "name": "ROOT-1718",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1718,
 | |
|           "vmname": "i-5-1718-VM",
 | |
|           "vmdisplayname": "i-5-1718-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T05:59:13-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1847,
 | |
|           "name": "ROOT-1712",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1712,
 | |
|           "vmname": "i-5-1712-VM",
 | |
|           "vmdisplayname": "i-5-1712-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T04:40:17-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1848,
 | |
|           "name": "ROOT-1713",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1713,
 | |
|           "vmname": "i-5-1713-VM",
 | |
|           "vmdisplayname": "i-5-1713-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T04:40:17-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1849,
 | |
|           "name": "ROOT-1715",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1715,
 | |
|           "vmname": "i-5-1715-VM",
 | |
|           "vmdisplayname": "i-5-1715-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T04:40:17-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1850,
 | |
|           "name": "ROOT-1714",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1714,
 | |
|           "vmname": "i-5-1714-VM",
 | |
|           "vmdisplayname": "i-5-1714-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-19T04:40:17-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1842,
 | |
|           "name": "ROOT-1707",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1707,
 | |
|           "vmname": "i-5-1707-VM",
 | |
|           "vmdisplayname": "i-5-1707-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-18T22:30:12-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1843,
 | |
|           "name": "ROOT-1708",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1708,
 | |
|           "vmname": "i-5-1708-VM",
 | |
|           "vmdisplayname": "i-5-1708-VM",
 | |
|           "vmstate": "Running",
 | |
|           "size": 10485760000,
 | |
|           "created": "2011-08-18T22:30:12-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "KVM",
 | |
|           "storage": "Chicago KVM Primary NFS",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1840,
 | |
|           "name": "ROOT-1705",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "type": "ROOT",
 | |
|           "deviceid": 0,
 | |
|           "virtualmachineid": 1705,
 | |
|           "vmname": "i-29-1705-VM",
 | |
|           "vmdisplayname": "test",
 | |
|           "vmstate": "Running",
 | |
|           "size": 8589934592,
 | |
|           "created": "2011-08-18T17:26:58-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "JamieLong",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "XenServer",
 | |
|           "storage": "Xen Cluster 02 NFS Primary",
 | |
|           "destroyed": false,
 | |
|           "serviceofferingid": 1,
 | |
|           "serviceofferingname": "Small Instance",
 | |
|           "serviceofferingdisplaytext": "Small Instance, $0.05 per hour",
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 1839,
 | |
|           "name": "DATA-1704",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "type": "DATADISK",
 | |
|           "size": 107374182400,
 | |
|           "created": "2011-08-18T16:19:18-0700",
 | |
|           "state": "Ready",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "storagetype": "shared",
 | |
|           "hypervisor": "XenServer",
 | |
|           "diskofferingid": 5,
 | |
|           "diskofferingname": "Large",
 | |
|           "diskofferingdisplaytext": "Large Disk, 100 GB",
 | |
|           "storage": "Xen Cluster01 NFS Primary",
 | |
|           "destroyed": false,
 | |
|           "isextractable": false
 | |
|         }
 | |
|       ],
 | |
|       snapshots: [
 | |
|         {
 | |
|           "id": 120,
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1858,
 | |
|           "volumename": "ROOT-1722",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-19T13:48:02-0700",
 | |
|           "name": "i-57-1722-VM_ROOT-1722_20110819204802",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 118,
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1836,
 | |
|           "volumename": "ROOT-1702",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-18T15:16:04-0700",
 | |
|           "name": "i-57-1702-VM_ROOT-1702_20110818221604",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 116,
 | |
|           "account": "Tim demo",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1734,
 | |
|           "volumename": "ROOT-1604",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-15T18:20:40-0700",
 | |
|           "name": "i-3-1604-VM_ROOT-1604_20110816012040",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 111,
 | |
|           "account": "SCALR",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1587,
 | |
|           "volumename": "ROOT-1446",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-15T04:33:59-0700",
 | |
|           "name": "i-19-1446-VM_ROOT-1446_20110815113359",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 108,
 | |
|           "account": "iizuka",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1506,
 | |
|           "volumename": "ROOT-1381",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-04T00:40:28-0700",
 | |
|           "name": "i-39-1381-VM_ROOT-1381_20110804074028",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 107,
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1492,
 | |
|           "volumename": "edwinOnInstance",
 | |
|           "volumetype": "DATADISK",
 | |
|           "created": "2011-08-03T11:42:27-0700",
 | |
|           "name": "i-16-1358-VM_edwinOnInstance_20110803184227",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 106,
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1468,
 | |
|           "volumename": "edwin-cloudstack-kvm",
 | |
|           "volumetype": "DATADISK",
 | |
|           "created": "2011-08-03T05:17:13-0700",
 | |
|           "name": "i-16-1358-VM_edwin-cloudstack-kvm_20110803121713",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 105,
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1468,
 | |
|           "volumename": "edwin-cloudstack-kvm",
 | |
|           "volumetype": "DATADISK",
 | |
|           "created": "2011-08-03T04:43:52-0700",
 | |
|           "name": "i-16-1358-VM_edwin-cloudstack-kvm_20110803114352",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 104,
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1468,
 | |
|           "volumename": "edwin-cloudstack-kvm",
 | |
|           "volumetype": "DATADISK",
 | |
|           "created": "2011-08-02T13:45:07-0700",
 | |
|           "name": "i-16-1358-VM_edwin-cloudstack-kvm_20110802204507",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 103,
 | |
|           "account": "osamu",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1428,
 | |
|           "volumename": "ROOT-1323",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-08-01T18:46:30-0700",
 | |
|           "name": "i-10-1323-VM_ROOT-1323_20110802014630",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 102,
 | |
|           "account": "iizuka",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1395,
 | |
|           "volumename": "DATA-1297",
 | |
|           "volumetype": "DATADISK",
 | |
|           "created": "2011-07-27T22:03:15-0700",
 | |
|           "name": "i-39-1297-VM_DATA-1297_20110728050315",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 101,
 | |
|           "account": "iizuka",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1361,
 | |
|           "volumename": "ROOT-1265",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-26T00:36:13-0700",
 | |
|           "name": "i-39-1265-VM_ROOT-1265_20110726073613",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 100,
 | |
|           "account": "iizuka",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 1223,
 | |
|           "volumename": "ROOT-1133",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-15T03:36:56-0700",
 | |
|           "name": "i-39-1133-VM_ROOT-1133_20110715103656",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 92,
 | |
|           "account": "Fukuda_Hitachi",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 886,
 | |
|           "volumename": "ROOT-828",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-07T06:17:47-0700",
 | |
|           "name": "i-11-828-VM_ROOT-828_20110707131747",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 90,
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "snapshottype": "DAILY",
 | |
|           "volumeid": 664,
 | |
|           "volumename": "ROOT-623",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-05T09:01:42-0700",
 | |
|           "name": "i-7-623-VM_ROOT-623_20110705160142",
 | |
|           "intervaltype": "DAILY",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 89,
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "snapshottype": "DAILY",
 | |
|           "volumeid": 664,
 | |
|           "volumename": "ROOT-623",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-04T09:01:29-0700",
 | |
|           "name": "i-7-623-VM_ROOT-623_20110704160129",
 | |
|           "intervaltype": "DAILY",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 88,
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "snapshottype": "DAILY",
 | |
|           "volumeid": 664,
 | |
|           "volumename": "ROOT-623",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-03T09:01:15-0700",
 | |
|           "name": "i-7-623-VM_ROOT-623_20110703160115",
 | |
|           "intervaltype": "DAILY",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 87,
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "snapshottype": "DAILY",
 | |
|           "volumeid": 664,
 | |
|           "volumename": "ROOT-623",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-02T09:01:01-0700",
 | |
|           "name": "i-7-623-VM_ROOT-623_20110702160101",
 | |
|           "intervaltype": "DAILY",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 86,
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "snapshottype": "DAILY",
 | |
|           "volumeid": 664,
 | |
|           "volumename": "ROOT-623",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-07-01T09:00:48-0700",
 | |
|           "name": "i-7-623-VM_ROOT-623_20110701160048",
 | |
|           "intervaltype": "DAILY",
 | |
|           "state": "BackedUp"
 | |
|         },
 | |
|         {
 | |
|           "id": 85,
 | |
|           "account": "Fluid Hosting",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "snapshottype": "MANUAL",
 | |
|           "volumeid": 848,
 | |
|           "volumename": "ROOT-796",
 | |
|           "volumetype": "ROOT",
 | |
|           "created": "2011-06-30T11:29:24-0700",
 | |
|           "name": "i-36-796-VM_ROOT-796_20110630182924",
 | |
|           "intervaltype": "MANUAL",
 | |
|           "state": "BackedUp"
 | |
|         }
 | |
|       ],
 | |
|       network: [
 | |
|         {
 | |
|           "id": 98,
 | |
|           "ipaddress": "72.52.67.77",
 | |
|           "allocated": "2011-08-05T07:05:26-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "turk-telecom",
 | |
|           "domainid": 14,
 | |
|           "domain": "Turkey",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": true,
 | |
|           "virtualmachineid": 1397,
 | |
|           "virtualmachinename": "i-46-1397-VM",
 | |
|           "virtualmachinedisplayname": "vm-3",
 | |
|           "associatednetworkid": 262,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 83,
 | |
|           "ipaddress": "72.52.67.62",
 | |
|           "allocated": "2011-08-12T11:51:27-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "Seagate",
 | |
|           "domainid": 24,
 | |
|           "domain": "Seagate",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 270,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 73,
 | |
|           "ipaddress": "72.52.67.52",
 | |
|           "allocated": "2011-08-16T02:51:44-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "Vlad",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 248,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 72,
 | |
|           "ipaddress": "72.52.67.51",
 | |
|           "allocated": "2011-08-02T06:14:54-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "system",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 200,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 67,
 | |
|           "ipaddress": "72.52.67.46",
 | |
|           "allocated": "2011-08-16T12:11:54-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "Cosmopolitan",
 | |
|           "domainid": 28,
 | |
|           "domain": "Cosmopolitan",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 272,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 66,
 | |
|           "ipaddress": "72.52.67.45",
 | |
|           "allocated": "2011-08-16T12:05:39-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "IGT",
 | |
|           "domainid": 25,
 | |
|           "domain": "IGT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 271,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 63,
 | |
|           "ipaddress": "72.52.67.42",
 | |
|           "allocated": "2011-08-09T10:41:22-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "Tim demo",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 204,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 58,
 | |
|           "ipaddress": "72.52.67.37",
 | |
|           "allocated": "2011-08-12T08:55:06-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "Tim demo",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 204,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 52,
 | |
|           "ipaddress": "72.52.67.31",
 | |
|           "allocated": "2011-08-18T13:38:15-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 273,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 44,
 | |
|           "ipaddress": "72.52.67.23",
 | |
|           "allocated": "2011-08-10T18:38:17-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "george",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 245,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 43,
 | |
|           "ipaddress": "72.52.67.22",
 | |
|           "allocated": "2011-08-10T18:37:44-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "george",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 245,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 41,
 | |
|           "ipaddress": "72.52.67.20",
 | |
|           "allocated": "2011-08-16T02:27:38-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "SCALR",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 2,
 | |
|           "vlanname": "67",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 249,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 40,
 | |
|           "ipaddress": "72.52.126.69",
 | |
|           "allocated": "2011-06-07T08:05:47-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "Tivit",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 226,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 39,
 | |
|           "ipaddress": "72.52.126.68",
 | |
|           "allocated": "2011-06-08T17:23:36-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "Tenzing",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 232,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 38,
 | |
|           "ipaddress": "72.52.126.67",
 | |
|           "allocated": "2011-06-07T09:44:23-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "cloud",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 227,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 37,
 | |
|           "ipaddress": "72.52.126.66",
 | |
|           "allocated": "2011-06-08T12:04:48-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "sheng",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 230,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 36,
 | |
|           "ipaddress": "72.52.126.65",
 | |
|           "allocated": "2011-06-23T14:41:18-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "sumi",
 | |
|           "domainid": 7,
 | |
|           "domain": "sumita",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 243,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 35,
 | |
|           "ipaddress": "72.52.126.64",
 | |
|           "allocated": "2011-08-05T06:27:59-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "turk-telecom",
 | |
|           "domainid": 14,
 | |
|           "domain": "Turkey",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": true,
 | |
|           "virtualmachineid": 1394,
 | |
|           "virtualmachinename": "i-46-1394-VM",
 | |
|           "virtualmachinedisplayname": "turk-tel-vm-1",
 | |
|           "associatednetworkid": 262,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 34,
 | |
|           "ipaddress": "72.52.126.63",
 | |
|           "allocated": "2011-06-10T10:44:56-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": true,
 | |
|           "account": "jlong",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": false,
 | |
|           "associatednetworkid": 236,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         },
 | |
|         {
 | |
|           "id": 33,
 | |
|           "ipaddress": "72.52.126.62",
 | |
|           "allocated": "2011-08-03T15:42:08-0700",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "issourcenat": false,
 | |
|           "account": "support-team",
 | |
|           "domainid": 12,
 | |
|           "domain": "cloud support",
 | |
|           "forvirtualnetwork": true,
 | |
|           "vlanid": 1,
 | |
|           "vlanname": "72",
 | |
|           "isstaticnat": true,
 | |
|           "virtualmachineid": 1377,
 | |
|           "virtualmachinename": "i-44-1377-VM",
 | |
|           "virtualmachinedisplayname": "Eric-VM-1",
 | |
|           "associatednetworkid": 259,
 | |
|           "networkid": 200,
 | |
|           "state": "Allocated"
 | |
|         }
 | |
|       ],
 | |
|       securityGroups: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "Security Group A",
 | |
|           "description": "Test Security Group A",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "ingressrule": [
 | |
|             {
 | |
|               "ruleid": 28,
 | |
|               "protocol": "icmp",
 | |
|               "icmptype": -1,
 | |
|               "icmpcode": -1,
 | |
|               "cidr": "0.0.0.0/0"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "Security Group B",
 | |
|           "description": "Test Security Group B",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 3,
 | |
|           "name": "Security Group C",
 | |
|           "description": "Test Security Group C",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         }
 | |
|       ],
 | |
|       templates: [
 | |
|         {
 | |
|           "id": 2516,
 | |
|           "name": "CumuLogic-Master-64bit-0622",
 | |
|           "displaytext": "CumuLogic 64bit Master",
 | |
|           desc: '64-bit master by CumuLogic. Based on CentOS 5.5',
 | |
|           "ispublic": false,
 | |
|           "created": "2011-06-22T18:24:01-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 112,
 | |
|           "ostypename": "CentOS 5.5 (64-bit)",
 | |
|           "account": "Patni",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10485760000,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 4499,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.34_Dev1",
 | |
|           desc: 'CentOS image by RightImage. Developer Preview',
 | |
|           "displaytext": "RightImage CentOS",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-22T11:23:01-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS2",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 229239,
 | |
|           "name": "RightImage_Windows_2008R2_SP1_x64_v5.7.3",
 | |
|           desc: 'Windows Server 2008 image by RightImage',
 | |
|           "displaytext": "RightImage Windows 2008",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-07-20T18:00:17-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": true,
 | |
|           "format": "OVA",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 54,
 | |
|           "ostypename": "Windows Server 2008 R2 (64-bit)",
 | |
|           "account": "RS2",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 4590540800,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "VMware",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false,
 | |
|           "checksum": "15b2c450ef8b54467028faf6412ed8d0"
 | |
|         },
 | |
|         {
 | |
|           "id": 27237,
 | |
|           "name": "CH_RightImage_CentOS_5.4_x64_v5.6.34.dev3",
 | |
|           desc: 'RightImage. Developer Preview',
 | |
|           "displaytext": "CH RightImage CentOS 5",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-23T13:18:55-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS5",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 279898,
 | |
|           "name": "CH_RI_CLOCK",
 | |
|           desc: 'CentOS RightImage -- testing only',
 | |
|           "displaytext": "RI CentOS",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-23T14:17:52-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS5",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 29930,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.34.dev3",
 | |
|           desc: 'RightImage. Developer Preview',
 | |
|           "displaytext": "CentOS Dev",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-23T12:56:31-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS5",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 49311,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.32_XEN",
 | |
|           desc: 'XenServer-enabled CentOS by RightImage',
 | |
|           "displaytext": "RightImage CentOS Xen",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-08-02T16:04:01-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "VHD",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS3",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "XenServer",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 44449326,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.32_XEN",
 | |
|           desc: 'XenServer-enabled CentOS by RightImage -- 32-bit only',
 | |
|           "displaytext": "RightImage CentOS Xen 32",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-08-02T16:03:39-0700",
 | |
|           "isready": false,
 | |
|           "passwordenabled": false,
 | |
|           "format": "VHD",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS3",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "XenServer",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 5257,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.28.1_VMWARE",
 | |
|           desc: 'VMWare-based CentOS image by RightImage',
 | |
|           "displaytext": "RightImage CentOS 5.4 VMWare",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-08-02T16:59:49-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "OVA",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS3",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 868321280,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "VMware",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 4266,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.34_Dev6_25c035c3878a93",
 | |
|           desc: 'Developer testing CentOS by RightImage',
 | |
|           "displaytext": "RightImage CentOS 5.4 Dev6",
 | |
|           "ispublic": false,
 | |
|           "created": "2011-06-23T18:03:46-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS4",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Download Complete",
 | |
|           "size": 10737418240,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "KVM",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 0259,
 | |
|           "name": "RightImage_CentOS_5.4_x64_v5.6.32.1_CDC_XEN",
 | |
|           desc: 'XenServer image by RightImage',
 | |
|           "displaytext": "RightImage CentOS 5.4 x64 v5.6 CDC XEN",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-08-11T10:32:28-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "VHD",
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 14,
 | |
|           "ostypename": "CentOS 5.4 (64-bit)",
 | |
|           "account": "RS2",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 4294967296,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "XenServer",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 9296,
 | |
|           "name": "CentOS Test",
 | |
|           desc: 'For testing only!',
 | |
|           "displaytext": "CentOS Test",
 | |
|           "ispublic": false,
 | |
|           "created": "2011-07-05T10:42:49-0700",
 | |
|           "isready": true,
 | |
|           "passwordenabled": false,
 | |
|           "format": "VHD",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 12,
 | |
|           "ostypename": "CentOS 5.3 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Download Complete",
 | |
|           "size": 7623147520,
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "XenServer",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         },
 | |
|         {
 | |
|           "id": 4298,
 | |
|           "name": "MySQL5.032bit-CloudStack",
 | |
|           desc: 'CentOS 5.1 with MySQL preinstalled -- 32-bit only',
 | |
|           "displaytext": "MySQL 5 32-bit CloudStack",
 | |
|           "ispublic": false,
 | |
|           "created": "2011-07-20T04:38:59-0700",
 | |
|           "isready": false,
 | |
|           "passwordenabled": false,
 | |
|           "format": "QCOW2",
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 7,
 | |
|           "ostypename": "CentOS 5.1 (32-bit)",
 | |
|           "account": "Patni",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Connection timed out",
 | |
|           "templatetype": "USER",
 | |
|           "hypervisor": "None",
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": false
 | |
|         }
 | |
|       ],
 | |
|       isos: [
 | |
|         {
 | |
|           "id": 130232,
 | |
|           "name": "Gentoo AMD64 20110714",
 | |
|           "displaytext": "Gentoo AMD64 20110714",
 | |
|           desc: 'Gentoo Linux 64-bit. Contains basic installation',
 | |
|           "ispublic": false,
 | |
|           "created": "2011-07-26T11:40:02-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 103,
 | |
|           "ostypename": "Other (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 143814656,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 1307,
 | |
|           "name": "Gentoo AMD64 20110714",
 | |
|           desc: 'Gentoo 64-bit with full installation',
 | |
|           "displaytext": "Gentoo AMD64 20110714",
 | |
|           "ispublic": false,
 | |
|           "created": "2011-07-26T11:40:02-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": false,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 103,
 | |
|           "ostypename": "Other (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 143814656,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 1244,
 | |
|           "name": "Windows 8 (64 bit)",
 | |
|           desc: 'Windows 8 Developer Preview; from MSDN image',
 | |
|           "displaytext": "Windows 8 Developer Preview (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:20:24-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 54,
 | |
|           "ostypename": "Windows 8 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 2996799488,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 124633,
 | |
|           "name": "Ubuntu 10-04 (64 bit)",
 | |
|           desc: 'Ubuntu 10 64-bit; custom install',
 | |
|           "displaytext": "Ubuntu 10-04 (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:23:18-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 126,
 | |
|           "ostypename": "Ubuntu 10.04 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 731453440,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 124512,
 | |
|           "name": "Windows 7 Pro (32 bit)",
 | |
|           desc: 'Windows 7 32-bit; not for server use',
 | |
|           "displaytext": "Windows 7 Pro (32 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:22:09-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 48,
 | |
|           "ostypename": "Windows 7 (32-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 2400239616,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 12463,
 | |
|           "name": "Ubuntu 10-04 (64 bit)",
 | |
|           desc: 'Ubuntu 10 64-bit; contains Apache Web Server',
 | |
|           "displaytext": "Ubuntu 10-04 (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:23:18-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 126,
 | |
|           "ostypename": "Ubuntu 10.04 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 731453440,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 12423984,
 | |
|           "name": "Windows 2008 R2 (64 bit)",
 | |
|           desc: 'Windows Server',
 | |
|           "displaytext": "Windows 2008 R2 (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:20:24-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 54,
 | |
|           "ostypename": "Windows Server 2008 R2 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 2996799488,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 12488285,
 | |
|           "name": "Windows 7 Pro (32 bit)",
 | |
|           desc: 'Windows 7 (Workstation only)',
 | |
|           "displaytext": "Windows 7 Pro (32 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:22:09-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 48,
 | |
|           "ostypename": "Windows 7 (32-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 2400239616,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 12433881111,
 | |
|           "name": "RHEL 6.1 (64 bit)",
 | |
|           desc: 'Red Hat Enterprise Linux 6 -- contains full server software',
 | |
|           "displaytext": "RHEL 6.1 (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:18:45-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 137,
 | |
|           "ostypename": "Red Hat Enterprise Linux 6.0 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 3600812032,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         },
 | |
|         {
 | |
|           "id": 122878343,
 | |
|           "name": "RHEL 6.1 (64 bit)",
 | |
|           desc: 'Red Hat Enterprise -- minimal installation',
 | |
|           "displaytext": "RHEL 6.1 (64 bit)",
 | |
|           "ispublic": true,
 | |
|           "created": "2011-06-08T20:18:45-0700",
 | |
|           "isready": true,
 | |
|           "bootable": true,
 | |
|           "isfeatured": true,
 | |
|           "crossZones": false,
 | |
|           "ostypeid": 137,
 | |
|           "ostypename": "Red Hat Enterprise Linux 6.0 (64-bit)",
 | |
|           "account": "admin",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "status": "Successfully Installed",
 | |
|           "size": 3600812032,
 | |
|           "domain": "ROOT",
 | |
|           "domainid": 1,
 | |
|           "isextractable": true
 | |
|         }
 | |
|       ],
 | |
|       events: [
 | |
|         {
 | |
|           "id": 1786821,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPRELEASE",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed disassociating Ip. Ip Id: 54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:25:29-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17859
 | |
|         },
 | |
|         {
 | |
|           "id": 17860,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPRELEASE",
 | |
|           "level": "INFO",
 | |
|           "description": "Starting job for disassociating Ip. Ip Id: 54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:25:24-0700",
 | |
|           "state": "Started",
 | |
|           "parentid": 17859
 | |
|         },
 | |
|         {
 | |
|           "id": 1785339,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPRELEASE",
 | |
|           "level": "INFO",
 | |
|           "description": "Scheduled async job for Disassociating ip address with id=54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:25:24-0700",
 | |
|           "state": "Scheduled",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17858,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed associating Ip. Ip Id: 54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:24:58-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17855
 | |
|         },
 | |
|         {
 | |
|           "id": 17857,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Starting job for associating Ip. Ip Id: 54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:24:51-0700",
 | |
|           "state": "Started",
 | |
|           "parentid": 17855
 | |
|         },
 | |
|         {
 | |
|           "id": 17856,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Scheduled async job for associating ip to network id: 273 in zone 1",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:24:51-0700",
 | |
|           "state": "Scheduled",
 | |
|           "parentid": 17855
 | |
|         },
 | |
|         {
 | |
|           "id": 17855,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully created entity for allocating Ip. Ip Id: 54",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:24:51-0700",
 | |
|           "state": "Created",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17854,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed associating Ip. Ip Id: 53",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:23:55-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17851
 | |
|         },
 | |
|         {
 | |
|           "id": 17853,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Starting job for associating Ip. Ip Id: 53",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:23:50-0700",
 | |
|           "state": "Started",
 | |
|           "parentid": 17851
 | |
|         },
 | |
|         {
 | |
|           "id": 17852,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Scheduled async job for associating ip to network id: 273 in zone 1",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:23:50-0700",
 | |
|           "state": "Scheduled",
 | |
|           "parentid": 17851
 | |
|         },
 | |
|         {
 | |
|           "id": 17851,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "NET.IPASSIGN",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully created entity for allocating Ip. Ip Id: 53",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:23:50-0700",
 | |
|           "state": "Created",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17850,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "VM.CREATE",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed starting Vm. Vm Id: 1727",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:23:11-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17847
 | |
|         },
 | |
|         {
 | |
|           "id": 17849,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "VM.CREATE",
 | |
|           "level": "INFO",
 | |
|           "description": "Starting job for starting Vm. Vm Id: 1727",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:22:29-0700",
 | |
|           "state": "Started",
 | |
|           "parentid": 17847
 | |
|         },
 | |
|         {
 | |
|           "id": 17848,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "VM.CREATE",
 | |
|           "level": "INFO",
 | |
|           "description": "Scheduled async job for starting Vm. Vm Id: 1727",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:22:29-0700",
 | |
|           "state": "Scheduled",
 | |
|           "parentid": 17847
 | |
|         },
 | |
|         {
 | |
|           "id": 17847,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "VM.CREATE",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully created entity for deploying Vm. Vm Id: 1727",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:22:29-0700",
 | |
|           "state": "Created",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17846,
 | |
|           "username": "itsolutionsnow",
 | |
|           "type": "USER.LOGIN",
 | |
|           "level": "INFO",
 | |
|           "description": "user has logged in",
 | |
|           "account": "IT SOLUTIONS NOW",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T16:21:44-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17845,
 | |
|           "username": "admin",
 | |
|           "type": "USER.LOGIN",
 | |
|           "level": "INFO",
 | |
|           "description": "user has logged in",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T15:54:45-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 17844,
 | |
|           "username": "raj",
 | |
|           "type": "VM.CREATE",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed starting Vm. Vm Id: 1726",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T14:25:41-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17832
 | |
|         },
 | |
|         {
 | |
|           "id": 17843,
 | |
|           "username": "raj",
 | |
|           "type": "VM.DESTROY",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed destroying Vm. Vm Id: 1706",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T14:25:24-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17830
 | |
|         },
 | |
|         {
 | |
|           "id": 17842,
 | |
|           "username": "raj",
 | |
|           "type": "VM.DESTROY",
 | |
|           "level": "INFO",
 | |
|           "description": "Successfully completed destroying Vm. Vm Id: 1694",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "created": "2011-08-19T14:23:21-0700",
 | |
|           "state": "Completed",
 | |
|           "parentid": 17828
 | |
|         }
 | |
|       ],
 | |
|       alerts: [
 | |
|         {
 | |
|           "id": 2951,
 | |
|           "type": 7,
 | |
|           "description": "VM (name: i-5-1683-VM, id: 1683) stopped unexpectedly on host id:8, availability zone id:2, pod id:2",
 | |
|           "sent": "2011-08-18T04:27:20-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2946,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-1395-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:16-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2947,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-1410-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:16-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2948,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-31-1424-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:16-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2949,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-53-1546-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:16-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2950,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-1547-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:16-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2931,
 | |
|           "type": 6,
 | |
|           "description": "Host is down, name: Demo4 XenCluster 01 (id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2932,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-6-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2933,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-26-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2934,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-331-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2935,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-8-440-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2936,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-496-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2937,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-914-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2938,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-44-1377-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2939,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-1378-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2940,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-44-1379-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2941,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-39-1380-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2942,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-39-1381-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2943,
 | |
|           "type": 7,
 | |
|           "description": "Unable to restart i-45-1391-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         },
 | |
|         {
 | |
|           "id": 2944,
 | |
|           "type": 8,
 | |
|           "description": "Unable to restart r-1392-VM which was running on host name: Demo4 XenCluster 01(id:4), availability zone: San Jose, pod: Pod1",
 | |
|           "sent": "2011-08-15T10:13:15-0700"
 | |
|         }
 | |
|       ],
 | |
|       accounts: [
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 103330977048,
 | |
|           "sentbytes": 341826430073,
 | |
|           "vmlimit": "Unlimited",
 | |
|           "vmtotal": 9,
 | |
|           "vmavailable": "Unlimited",
 | |
|           "iplimit": "Unlimited",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "Unlimited",
 | |
|           "volumelimit": "Unlimited",
 | |
|           "volumetotal": 16,
 | |
|           "volumeavailable": "Unlimited",
 | |
|           "snapshotlimit": "Unlimited",
 | |
|           "snapshottotal": 2,
 | |
|           "snapshotavailable": "Unlimited",
 | |
|           "templatelimit": "Unlimited",
 | |
|           "templatetotal": 11,
 | |
|           "templateavailable": "Unlimited",
 | |
|           "vmstopped": 1,
 | |
|           "vmrunning": 8,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 2,
 | |
|               "username": "admin",
 | |
|               "firstname": "admin",
 | |
|               "lastname": "cloud",
 | |
|               "created": "2011-05-26T15:16:39-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "admin",
 | |
|               "accounttype": 1,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "apikey": "EbZq4Tnn3flF9kKXzGKr2uMGLE0jLpKAAb1FZdIBKMlYdF_BbPyXpjQOHtSaUNmSs1UT6zyV-t4jw6eG77hCrQ",
 | |
|               "secretkey": "RIbGt6VapuiqGq-FxSaMKNf8s2OAXWrWEdw0m6SEsj8efIZ9QYCo37X7vKWRR4YKFRV5NDiRAKkLUbIv-xggVQ"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 3,
 | |
|           "name": "Tim demo",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 45318989,
 | |
|           "sentbytes": 10773079,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 1,
 | |
|           "vmavailable": "19",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 3,
 | |
|           "ipavailable": "0",
 | |
|           "volumelimit": "100",
 | |
|           "volumetotal": 4,
 | |
|           "volumeavailable": "96",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 1,
 | |
|           "snapshotavailable": "19",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 1,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 3,
 | |
|               "username": "tim",
 | |
|               "firstname": "Tim",
 | |
|               "lastname": "Nicklas",
 | |
|               "email": "tim@cloud.com",
 | |
|               "created": "2011-05-27T10:35:06-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Tim demo",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Halifax"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 4,
 | |
|           "name": "TeleSUR test account",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 0,
 | |
|           "sentbytes": 0,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 0,
 | |
|           "ipavailable": "3",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 0,
 | |
|           "volumeavailable": "20",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 4,
 | |
|               "username": "telesur",
 | |
|               "firstname": "Robby",
 | |
|               "lastname": "Kalloe",
 | |
|               "email": "robby.kalloe@telesur.sr",
 | |
|               "created": "2011-05-27T10:50:38-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "TeleSUR test account",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Bogota"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "Patni",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 1404,
 | |
|           "sentbytes": 4035977095,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": -36,
 | |
|           "vmavailable": "56",
 | |
|           "iplimit": "11",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "10",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 19,
 | |
|           "volumeavailable": "1",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 3,
 | |
|           "snapshotavailable": "17",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 16,
 | |
|           "templateavailable": "4",
 | |
|           "vmstopped": 1,
 | |
|           "vmrunning": 16,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 5,
 | |
|               "username": "raj",
 | |
|               "firstname": "Sandeep",
 | |
|               "lastname": "Patni",
 | |
|               "email": "spatni2000@yahoo.com",
 | |
|               "created": "2011-05-27T12:59:27-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Patni",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "apikey": "bgW-T5RxmaSH0TrJmmbOut8Yf4zJRG3Hj2VuiLlnUdQcyYN5M1_Lb4rWL__2uTTNLeTZdFkGg2fbnkm5kzIxmA",
 | |
|               "secretkey": "fE0b_ipmFPJ2CGWacfOMui6ZwUkUskN78xwq4bqY281jtdQpxBg6bJlMRleaWpsKD3cn2_u-ARKBXP4puLI4GA"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 6,
 | |
|           "name": "ACME",
 | |
|           "accounttype": 2,
 | |
|           "domainid": 2,
 | |
|           "domain": "ACME CORP",
 | |
|           "receivedbytes": 0,
 | |
|           "sentbytes": 0,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 0,
 | |
|           "ipavailable": "3",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 0,
 | |
|           "volumeavailable": "20",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 6,
 | |
|               "username": "acmeadmin",
 | |
|               "firstname": "CanBe",
 | |
|               "lastname": "Deleted",
 | |
|               "email": "acmeadmin@cloud.com",
 | |
|               "created": "2011-05-27T13:18:36-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "ACME",
 | |
|               "accounttype": 2,
 | |
|               "domainid": 2,
 | |
|               "domain": "ACME CORP",
 | |
|               "timezone": "America/Los_Angeles"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 7,
 | |
|           "name": "DEV",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV",
 | |
|           "receivedbytes": 4542050297,
 | |
|           "sentbytes": 2005679642958,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 5,
 | |
|           "vmavailable": "15",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 9,
 | |
|           "volumeavailable": "11",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 20,
 | |
|           "snapshotavailable": "0",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 1,
 | |
|           "templateavailable": "19",
 | |
|           "vmstopped": 1,
 | |
|           "vmrunning": 4,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 7,
 | |
|               "username": "devuser",
 | |
|               "firstname": "Dev",
 | |
|               "lastname": "CanBeDeleted",
 | |
|               "email": "acmeadmin@cloud.com",
 | |
|               "created": "2011-05-27T13:19:23-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "DEV",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 3,
 | |
|               "domain": "DEV",
 | |
|               "timezone": "America/Los_Angeles",
 | |
|               "apikey": "DKqMcZjxI42X44FyVcdChTeDJ6IE34Mz1IgkbImFKzdtSI_1tO9CoT33sdWHw0Y61w0XopQencLspHwEZFm3Bg",
 | |
|               "secretkey": "rDGd-SrkgwbyX_LMzmsciOfV90W5y8gHfUz2BxBtHFKraZcnFtwr_qrmuv64JP-B_tAONIXy9EzFT_uXrUkWUw"
 | |
|             },
 | |
|             {
 | |
|               "id": 43,
 | |
|               "username": "devuser2",
 | |
|               "firstname": "Dev",
 | |
|               "lastname": "User2",
 | |
|               "email": "devuser2@cloud.com",
 | |
|               "created": "2011-07-07T11:22:10-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "DEV",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 3,
 | |
|               "domain": "DEV",
 | |
|               "timezone": "America/Los_Angeles"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 8,
 | |
|           "name": "TEST",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 4,
 | |
|           "domain": "TEST",
 | |
|           "receivedbytes": 101523337,
 | |
|           "sentbytes": 134387217,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 1,
 | |
|           "vmavailable": "19",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 4,
 | |
|           "ipavailable": "-1",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 3,
 | |
|           "volumeavailable": "17",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 2,
 | |
|           "snapshotavailable": "18",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 1,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 8,
 | |
|               "username": "testuser",
 | |
|               "firstname": "Test",
 | |
|               "lastname": "CanBeDeleted",
 | |
|               "email": "acmeadmin@cloud.com",
 | |
|               "created": "2011-05-27T13:20:05-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "TEST",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 4,
 | |
|               "domain": "TEST",
 | |
|               "timezone": "America/Los_Angeles"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 9,
 | |
|           "name": "Shannon",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 769131667,
 | |
|           "sentbytes": 30134472254,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 1,
 | |
|           "vmavailable": "19",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 6,
 | |
|           "volumeavailable": "14",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 1,
 | |
|           "snapshotavailable": "19",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 1,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 10,
 | |
|               "username": "Shannon",
 | |
|               "firstname": "Shannon",
 | |
|               "lastname": "Williams",
 | |
|               "email": "shannon@cloud.com",
 | |
|               "created": "2011-06-01T07:57:53-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Shannon",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Los_Angeles"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 10,
 | |
|           "name": "osamu",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 25715747,
 | |
|           "sentbytes": 2894751,
 | |
|           "vmlimit": "Unlimited",
 | |
|           "vmtotal": 2,
 | |
|           "vmavailable": "Unlimited",
 | |
|           "iplimit": "Unlimited",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "Unlimited",
 | |
|           "volumelimit": "Unlimited",
 | |
|           "volumetotal": 2,
 | |
|           "volumeavailable": "Unlimited",
 | |
|           "snapshotlimit": "Unlimited",
 | |
|           "snapshottotal": 2,
 | |
|           "snapshotavailable": "Unlimited",
 | |
|           "templatelimit": "Unlimited",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "Unlimited",
 | |
|           "vmstopped": 1,
 | |
|           "vmrunning": 1,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 11,
 | |
|               "username": "osamu",
 | |
|               "firstname": "osamu",
 | |
|               "lastname": "mouri",
 | |
|               "email": "osamu@cloud.com",
 | |
|               "created": "2011-06-01T10:55:05-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "osamu",
 | |
|               "accounttype": 1,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "Asia/Tokyo"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 11,
 | |
|           "name": "Fukuda_Hitachi",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 54308801,
 | |
|           "sentbytes": 16975663,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 1,
 | |
|           "volumeavailable": "19",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 1,
 | |
|           "snapshotavailable": "19",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 12,
 | |
|               "username": "Fukuda_Hitachi",
 | |
|               "firstname": "Yasuhiro",
 | |
|               "lastname": "Fukuda",
 | |
|               "email": "yasuhiro.fukuda.gc@hitachi.com",
 | |
|               "created": "2011-06-01T11:00:06-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Fukuda_Hitachi",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "Asia/Tokyo"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 14,
 | |
|           "name": "Applied Computer Solutions ",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 0,
 | |
|           "sentbytes": 0,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 0,
 | |
|           "ipavailable": "3",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 0,
 | |
|           "volumeavailable": "20",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 15,
 | |
|               "username": "acs",
 | |
|               "firstname": "Nick",
 | |
|               "lastname": "Ross",
 | |
|               "email": "nick.ross@acsacs.com",
 | |
|               "created": "2011-06-03T13:21:18-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Applied Computer Solutions ",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 15,
 | |
|           "name": "RS4",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 292912869,
 | |
|           "sentbytes": 17443305,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": -3,
 | |
|           "vmavailable": "23",
 | |
|           "iplimit": "11",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "10",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 7,
 | |
|           "volumeavailable": "13",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 3,
 | |
|           "templateavailable": "17",
 | |
|           "vmstopped": 2,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 16,
 | |
|               "username": "rs4",
 | |
|               "firstname": "Cary",
 | |
|               "lastname": "Penniman ",
 | |
|               "email": "cary@rightscale.com",
 | |
|               "created": "2011-06-03T14:53:22-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "RS4",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Los_Angeles",
 | |
|               "apikey": "zFO2JsXpF8w1U1EDWS9hhkj8mdzo30X6cDIEhU78q_XIAbHcEdbHYu2hkWEA8Vf9JYXazTSzx1vXSMwMn5TfPQ",
 | |
|               "secretkey": "-n9pd7v2n2KcEKxdgw_vmone1YPERhKUcZ8dK-n6q_qJUXwvG0uxn4rFo13DdHL0Qa_qKPFWTyF-Giv7GZ-Iww"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 16,
 | |
|           "name": "RS5",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 73118370,
 | |
|           "sentbytes": 301749334,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 1,
 | |
|           "vmavailable": "19",
 | |
|           "iplimit": "11",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "10",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 10,
 | |
|           "volumeavailable": "10",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 4,
 | |
|           "snapshotavailable": "16",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 4,
 | |
|           "templateavailable": "16",
 | |
|           "vmstopped": 1,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 17,
 | |
|               "username": "rs5",
 | |
|               "firstname": "Cary",
 | |
|               "lastname": "Penniman ",
 | |
|               "email": "cary@rightscale.com",
 | |
|               "created": "2011-06-03T14:57:25-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "RS5",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Los_Angeles",
 | |
|               "apikey": "lRKu9Fwhgi1Rh_o0T2CxIK2i82Ixy9WpQHcqqc9kJzWaCabzADR1b9dFAM4YcDb-pbf75MKr2YZGxB30I_fOhA",
 | |
|               "secretkey": "GHXt39hbA5KzLbLpLpnEcmr-Qmo37dYf_sFRVwpFBUG57565mANVCNOV2UQy7fYd5DNPmiSV7gCK3RzSnJENJw"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 18,
 | |
|           "name": "Tivit",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 89996753686,
 | |
|           "sentbytes": 885391261619,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 1,
 | |
|           "volumeavailable": "19",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 1,
 | |
|           "snapshotavailable": "19",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 19,
 | |
|               "username": "tivit",
 | |
|               "firstname": "Fernando",
 | |
|               "lastname": "Zangrande",
 | |
|               "email": "fernando.zangrande@tivit.com.br",
 | |
|               "created": "2011-06-06T12:25:39-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Tivit",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 19,
 | |
|           "name": "SCALR",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 19064238,
 | |
|           "sentbytes": 3495984,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 4,
 | |
|           "vmavailable": "16",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 3,
 | |
|           "ipavailable": "0",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 5,
 | |
|           "volumeavailable": "15",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 1,
 | |
|           "snapshotavailable": "19",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 2,
 | |
|           "vmrunning": 2,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 20,
 | |
|               "username": "scalr",
 | |
|               "firstname": "Sebastian",
 | |
|               "lastname": "Stadil ",
 | |
|               "email": "sebastian@scalr.com",
 | |
|               "created": "2011-06-06T20:26:26-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "SCALR",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "apikey": "xjdpxcJB_J-su-aRYcRCA6fNJuhfqYKFEDzhDAsOuF-_wMe80V5we-rBpvIW11VIHZv9bSFCxdAfiEdZ3If_0A",
 | |
|               "secretkey": "LJm2XC9FYDjkjmIR2YlOtwoPISYJjW-F393Z-rv195mqr21T6eI_-rqIGoWYWqSVmDBEjRFmuISD8i6i69czfg"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 20,
 | |
|           "name": "cloud",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 119392343,
 | |
|           "sentbytes": 29370775,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 2,
 | |
|           "vmavailable": "18",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 5,
 | |
|           "volumeavailable": "15",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 2,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 21,
 | |
|               "username": "peder",
 | |
|               "firstname": "peder",
 | |
|               "lastname": "ulander",
 | |
|               "email": "peder@cloud.com",
 | |
|               "created": "2011-06-07T09:41:30-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "cloud",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Los_Angeles"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 21,
 | |
|           "name": "Tenzing",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 5917535,
 | |
|           "sentbytes": 526136,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 1,
 | |
|           "volumeavailable": "19",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 22,
 | |
|               "username": "Tenzing",
 | |
|               "firstname": "Raj",
 | |
|               "lastname": "Atwal",
 | |
|               "email": "raj.atwal@tenzing.com",
 | |
|               "created": "2011-06-08T11:49:59-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "Tenzing",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/New_York"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 22,
 | |
|           "name": "sheng",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 63987635,
 | |
|           "sentbytes": 15312103,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 0,
 | |
|           "vmavailable": "20",
 | |
|           "iplimit": "3",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "2",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 2,
 | |
|           "volumeavailable": "18",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 0,
 | |
|           "templateavailable": "20",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 23,
 | |
|               "username": "sheng",
 | |
|               "firstname": "Sheng",
 | |
|               "lastname": "Liang",
 | |
|               "email": "sheng@cloud.com",
 | |
|               "created": "2011-06-08T12:03:16-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "sheng",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 23,
 | |
|           "name": "RS3",
 | |
|           "accounttype": 0,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 9828,
 | |
|           "sentbytes": 28370265214,
 | |
|           "vmlimit": "20",
 | |
|           "vmtotal": 1,
 | |
|           "vmavailable": "19",
 | |
|           "iplimit": "11",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "10",
 | |
|           "volumelimit": "20",
 | |
|           "volumetotal": 17,
 | |
|           "volumeavailable": "3",
 | |
|           "snapshotlimit": "20",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "20",
 | |
|           "templatelimit": "20",
 | |
|           "templatetotal": 3,
 | |
|           "templateavailable": "17",
 | |
|           "vmstopped": 4,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 24,
 | |
|               "username": "rs3",
 | |
|               "firstname": "Cary",
 | |
|               "lastname": "Penniman",
 | |
|               "email": "cary@rightscale.com",
 | |
|               "created": "2011-06-08T20:30:52-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "RS3",
 | |
|               "accounttype": 0,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "Etc/UTC",
 | |
|               "apikey": "eVRxkp2hrYlTc60ggVmqXE1KmhBRYlg8mwzLk7r-3brofqrp9waIWeqXqPCUEPXFKuQK9--5q_vt5ilbKjRwyQ",
 | |
|               "secretkey": "TFiEKFJdoynEdTAJRstAiMgT88ruyHrYVGvgkSoIxyGXZ4sexRMMa0I8b9UMRcz2DzR3i1AJTKd_ZiOVygghxQ"
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           "id": 24,
 | |
|           "name": "RS2",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "receivedbytes": 192,
 | |
|           "sentbytes": 0,
 | |
|           "vmlimit": "Unlimited",
 | |
|           "vmtotal": -1,
 | |
|           "vmavailable": "Unlimited",
 | |
|           "iplimit": "Unlimited",
 | |
|           "iptotal": 1,
 | |
|           "ipavailable": "Unlimited",
 | |
|           "volumelimit": "Unlimited",
 | |
|           "volumetotal": 0,
 | |
|           "volumeavailable": "Unlimited",
 | |
|           "snapshotlimit": "Unlimited",
 | |
|           "snapshottotal": 0,
 | |
|           "snapshotavailable": "Unlimited",
 | |
|           "templatelimit": "Unlimited",
 | |
|           "templatetotal": 6,
 | |
|           "templateavailable": "Unlimited",
 | |
|           "vmstopped": 0,
 | |
|           "vmrunning": 0,
 | |
|           "state": "enabled",
 | |
|           "user": [
 | |
|             {
 | |
|               "id": 25,
 | |
|               "username": "rs2",
 | |
|               "firstname": "Cary",
 | |
|               "lastname": "Penniman",
 | |
|               "email": "cary@rightscale.com",
 | |
|               "created": "2011-06-08T20:32:51-0700",
 | |
|               "state": "enabled",
 | |
|               "account": "RS2",
 | |
|               "accounttype": 1,
 | |
|               "domainid": 1,
 | |
|               "domain": "ROOT",
 | |
|               "timezone": "America/Los_Angeles",
 | |
|               "apikey": "b_HUwVBXfrli-_P1xugwYiwBp1NeGqy8UJxCTQ6rp3VgezVTXUBRLz69EiopopJp4ZP5eswXdv-y7jcUDSnF9A",
 | |
|               "secretkey": "jqV7pbOT7HekXTzmZ0zst_OvQqX9nKJ_gRnk-Dl_9x_u04K0K0No8lgpoZBg5CnUPkyb-c4rJ_LZeKkkd_lr4Q"
 | |
|             }
 | |
|           ]
 | |
|         }
 | |
|       ],
 | |
|       serviceOfferings: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "Small Instance",
 | |
|           "displaytext": "1.7 GB memory, 160 GB storage, 32-bit platform, $0.05/hr",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "created": "2011-05-26T22:16:39-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": false
 | |
|         },
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "Medium Instance",
 | |
|           "displaytext": "2 GB memory, 160 GB storage, 32-bit or 64-bit platform, $0.10/hr",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 1000,
 | |
|           "memory": 1024,
 | |
|           "created": "2011-05-26T22:16:40-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": false
 | |
|         },
 | |
|         {
 | |
|           "id": 12,
 | |
|           "name": "Large Instance",
 | |
|           "displaytext": "8 gb memory, 850 gb storage, 32-bit or 64-bit platform, $0.10/hr",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 512,
 | |
|           "created": "2011-08-05T06:44:13-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": false,
 | |
|           "domainid": 14,
 | |
|           "domain": "Turkey"
 | |
|         }
 | |
|       ],
 | |
|       systemServiceOfferings: [
 | |
|         {
 | |
|           "id": 12,
 | |
|           "name": "System Offering For Secondary Storage VM",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 256,
 | |
|           "created": "2011-10-27T14:17:54-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": false,
 | |
|           "limitcpuuse": false,
 | |
|           "issystem": true,
 | |
|           "defaultuse": true,
 | |
|           "systemvmtype": "secondarystoragevm"
 | |
|         },
 | |
|         {
 | |
|           "id": 15,
 | |
|           "name": "System Offering For Elastic LB VM",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 128,
 | |
|           "memory": 128,
 | |
|           "created": "2011-10-27T14:17:54-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": true,
 | |
|           "limitcpuuse": false,
 | |
|           "issystem": true,
 | |
|           "defaultuse": true,
 | |
|           "systemvmtype": "elasticloadbalancervm",
 | |
|           "networkrate": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 13,
 | |
|           "name": "System Offering For Software Router",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 128,
 | |
|           "created": "2011-10-27T14:17:54-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": true,
 | |
|           "limitcpuuse": false,
 | |
|           "issystem": true,
 | |
|           "defaultuse": true,
 | |
|           "systemvmtype": "domainrouter"
 | |
|         },
 | |
|         {
 | |
|           "id": 14,
 | |
|           "name": "System Offering For Console Proxy",
 | |
|           "cpunumber": 1,
 | |
|           "cpuspeed": 500,
 | |
|           "memory": 1024,
 | |
|           "created": "2011-10-27T14:17:54-0700",
 | |
|           "storagetype": "shared",
 | |
|           "offerha": false,
 | |
|           "limitcpuuse": false,
 | |
|           "issystem": true,
 | |
|           "defaultuse": true,
 | |
|           "systemvmtype": "consoleproxy",
 | |
|           "networkrate": 0
 | |
|         }
 | |
|       ],
 | |
|       diskOfferings: [
 | |
|         {
 | |
|           "id": 3,
 | |
|           "name": "Small",
 | |
|           "displaytext": "Small Disk, 5 GB",
 | |
|           "disksize": 5,
 | |
|           "created": "2011-05-26T22:16:40-0700",
 | |
|           "iscustomized": false
 | |
|         },
 | |
|         {
 | |
|           "id": 4,
 | |
|           "name": "Medium",
 | |
|           "displaytext": "Medium Disk, 20 GB",
 | |
|           "disksize": 20,
 | |
|           "created": "2011-05-26T22:16:40-0700",
 | |
|           "iscustomized": false
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "Large",
 | |
|           "displaytext": "Large Disk, 100 GB",
 | |
|           "disksize": 100,
 | |
|           "created": "2011-05-26T22:16:40-0700",
 | |
|           "iscustomized": false
 | |
|         },
 | |
|         {
 | |
|           "id": 6,
 | |
|           "name": "Custom A",
 | |
|           "displaytext": "Custom Disk A",
 | |
|           "iscustomized": true
 | |
|         },
 | |
|         {
 | |
|           "id": 7,
 | |
|           "name": "Custom B",
 | |
|           "displaytext": "Custom Disk B",
 | |
|           "iscustomized": true
 | |
|         }
 | |
| 
 | |
|       ],
 | |
|       networkOfferings: [
 | |
|         {
 | |
|           "id": 6,
 | |
|           "name": "DefaultVirtualizedNetworkOffering",
 | |
|           "displaytext": "Virtual Vlan",
 | |
|           "traffictype": "Guest",
 | |
|           "isdefault": true,
 | |
|           "specifyvlan": false,
 | |
|           "availability": "Optional",
 | |
|           "guestiptype": "Virtual",
 | |
|           "networkrate": 200
 | |
|         }
 | |
|       ],
 | |
|       globalSettings: [
 | |
|         {
 | |
|           "category": "Advanced",
 | |
|           "name": "account.cleanup.interval",
 | |
|           "value": "300",
 | |
|           "description": "The interval (in seconds) between cleanup for removed accounts"
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.email.addresses",
 | |
|           "description": "Comma separated list of email addresses used for sending alerts."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.email.sender",
 | |
|           "description": "Sender of alert email (will be in the From header of the email)."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.smtp.host",
 | |
|           "description": "SMTP hostname used for sending out email alerts."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.smtp.password",
 | |
|           "description": "Password for SMTP authentication (applies only if alert.smtp.useAuth is true)."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.smtp.port",
 | |
|           "value": "465",
 | |
|           "description": "Port the SMTP server is listening on."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.smtp.useAuth",
 | |
|           "description": "If true, use SMTP authentication when sending emails."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.smtp.username",
 | |
|           "description": "Username for SMTP authentication (applies only if alert.smtp.useAuth is true)."
 | |
|         },
 | |
|         {
 | |
|           "category": "Alert",
 | |
|           "name": "alert.wait",
 | |
|           "description": "Seconds to wait before alerting on a disconnected agent"
 | |
|         },
 | |
|         {
 | |
|           "category": "Advanced",
 | |
|           "name": "allow.public.user.templates",
 | |
|           "value": "true",
 | |
|           "description": "If false, users will not be able to create public templates."
 | |
|         },
 | |
|         {
 | |
|           "category": "Usage",
 | |
|           "name": "capacity.check.period",
 | |
|           "value": "300000",
 | |
|           "description": "The interval in milliseconds between capacity checks"
 | |
|         },
 | |
|         {
 | |
|           "category": "Advanced",
 | |
|           "name": "capacity.skipcounting.hours",
 | |
|           "value": "3600",
 | |
|           "description": "Time (in seconds) to wait before release VM's cpu and memory when VM in stopped state"
 | |
|         },
 | |
|         {
 | |
|           "category": "Advanced",
 | |
|           "name": "check.pod.cidrs",
 | |
|           "value": "true",
 | |
|           "description": "If true, different pods must belong to different CIDR subnets."
 | |
|         },
 | |
|         {
 | |
|           "category": "Advanced",
 | |
|           "name": "cmd.wait",
 | |
|           "value": "7200",
 | |
|           "description": "Time (in seconds) to wait for some heavy time-consuming commands"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.capacity.standby",
 | |
|           "value": "10",
 | |
|           "description": "The minimal number of console proxy viewer sessions that system is able to serve immediately(standby capacity)"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.capacityscan.interval",
 | |
|           "value": "30000",
 | |
|           "description": "The time interval(in millisecond) to scan whether or not system needs more console proxy to ensure minimal standby capacity"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.cmd.port",
 | |
|           "value": "8001",
 | |
|           "description": "Console proxy command port that is used to communicate with management server"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.cpu.mhz",
 | |
|           "value": "500",
 | |
|           "description": "CPU speed (in MHz) used to create new console proxy VMs"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.disable.rpfilter",
 | |
|           "value": "true",
 | |
|           "description": "disable rp_filter on console proxy VM public interface"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.launch.max",
 | |
|           "value": "10",
 | |
|           "description": "maximum number of console proxy instances per zone can be launched"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.loadscan.interval",
 | |
|           "value": "10000",
 | |
|           "description": "The time interval(in milliseconds) to scan console proxy working-load info"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.ram.size",
 | |
|           "value": "2048",
 | |
|           "description": "RAM size (in MB) used to create new console proxy VMs"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.restart",
 | |
|           "value": "true",
 | |
|           "description": "Console proxy restart flag, defaulted to true"
 | |
|         },
 | |
|         {
 | |
|           "category": "Console Proxy",
 | |
|           "name": "consoleproxy.session.max",
 | |
|           "value": "100",
 | |
|           "description": "The max number of viewer sessions console proxy is configured to serve for"
 | |
|         }
 | |
|       ],
 | |
|       zones: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "internaldns1": "192.168.20.254",
 | |
|           "vlan": "200-299",
 | |
|           "guestcidraddress": "10.1.1.0/24",
 | |
|           "networktype": "Advanced",
 | |
|           "securitygroupsenabled": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "Chicago",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "internaldns1": "72.52.126.11",
 | |
|           "networktype": "Advanced",
 | |
|           "securitygroupsenabled": true,
 | |
|           "allocationstate": "Enabled"
 | |
|         }
 | |
|       ],
 | |
|       virtualAppliances: [
 | |
|         {
 | |
|           "id": 4,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs3cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-4-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "linklocalip": "169.254.0.53",
 | |
|           "linklocalmacaddress": "255.255.0.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.44",
 | |
|           "publicmacaddress": "06:af:f6:00:00:23",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:02:c3:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 204,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-05-27T10:36:54-0700",
 | |
|           "state": "Running",
 | |
|           "account": "Tim demo",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 6,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs8cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-6-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "linklocalip": "169.254.1.201",
 | |
|           "linklocalmacaddress": "255.255.0.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.57",
 | |
|           "publicmacaddress": "06:a0:84:00:00:30",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:61:5e:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 205,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-05-27T13:23:28-0700",
 | |
|           "state": "Running",
 | |
|           "account": "TEST",
 | |
|           "domainid": 4,
 | |
|           "domain": "TEST"
 | |
|         },
 | |
|         {
 | |
|           "id": 9,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs7cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-9-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "linklocalip": "192.168.21.39",
 | |
|           "linklocalmacaddress": "255.255.255.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.38",
 | |
|           "publicmacaddress": "06:66:1c:00:00:1d",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:7e:b8:00:03",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 206,
 | |
|           "templateid": 8,
 | |
|           "created": "2011-05-27T13:36:37-0700",
 | |
|           "state": "Running",
 | |
|           "account": "DEV",
 | |
|           "domainid": 3,
 | |
|           "domain": "DEV"
 | |
|         },
 | |
|         {
 | |
|           "id": 11,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs5cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-11-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.41",
 | |
|           "publicmacaddress": "06:b2:7e:00:00:20",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:04:3d:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 207,
 | |
|           "templateid": 3,
 | |
|           "created": "2011-05-27T17:10:31-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "Patni",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 17,
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "testdomain.com",
 | |
|           "name": "r-17-VM",
 | |
|           "podid": 2,
 | |
|           "hostid": 8,
 | |
|           "hostname": "x31.fre.vmops.com",
 | |
|           "linklocalip": "169.254.0.145",
 | |
|           "linklocalmacaddress": "255.255.0.0",
 | |
|           "linklocalnetworkid": 209,
 | |
|           "guestipaddress": "65.19.181.83",
 | |
|           "guestmacaddress": "06:98:0e:00:00:2c",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 211,
 | |
|           "templateid": 3,
 | |
|           "created": "2011-05-28T07:22:19-0700",
 | |
|           "state": "Running",
 | |
|           "account": "system",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 19,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs2cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-19-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "linklocalip": "192.168.21.37",
 | |
|           "linklocalmacaddress": "255.255.255.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.32",
 | |
|           "publicmacaddress": "06:c2:fe:00:00:17",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:7b:6c:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 212,
 | |
|           "templateid": 8,
 | |
|           "created": "2011-05-28T08:38:02-0700",
 | |
|           "state": "Running",
 | |
|           "account": "admin",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 26,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs9cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-26-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "linklocalip": "169.254.3.128",
 | |
|           "linklocalmacaddress": "255.255.0.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.43",
 | |
|           "publicmacaddress": "06:7b:de:00:00:22",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:38:f3:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 213,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-01T07:58:49-0700",
 | |
|           "state": "Running",
 | |
|           "account": "Shannon",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 30,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "csbcloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-30-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.61",
 | |
|           "publicmacaddress": "06:aa:68:00:00:34",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:79:9a:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 214,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-01T11:01:48-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "Fukuda_Hitachi",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 183,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs10cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-183-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.47",
 | |
|           "publicmacaddress": "06:aa:b2:00:00:26",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:03:e5:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 225,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-06T14:10:06-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "RS5",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 212,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs12cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-212-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.69",
 | |
|           "publicmacaddress": "06:31:66:00:00:3c",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:0d:6d:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 226,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-07T08:05:47-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "Tivit",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 226,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs14cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-226-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "linklocalip": "192.168.21.38",
 | |
|           "linklocalmacaddress": "255.255.255.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.67",
 | |
|           "publicmacaddress": "06:e8:48:00:00:3a",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:00:03:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 227,
 | |
|           "templateid": 8,
 | |
|           "created": "2011-06-07T09:44:23-0700",
 | |
|           "state": "Running",
 | |
|           "account": "cloud",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 260,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs16cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-260-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.66",
 | |
|           "publicmacaddress": "06:f2:fa:00:00:39",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:2d:67:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 230,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-08T12:04:48-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "sheng",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 263,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "csfcloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-263-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.35",
 | |
|           "publicmacaddress": "06:f0:e2:00:00:1a",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:14:e4:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 231,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-08T15:15:19-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "RS4",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 266,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs15cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-266-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.68",
 | |
|           "publicmacaddress": "06:98:c0:00:00:3b",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:5f:a4:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 232,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-08T17:23:36-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "Tenzing",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 298,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs17cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-298-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.36",
 | |
|           "publicmacaddress": "06:cb:92:00:00:1b",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:55:eb:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 233,
 | |
|           "templateid": 3,
 | |
|           "created": "2011-06-09T13:24:14-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "RS3",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 331,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "csacloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-331-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 4,
 | |
|           "hostname": "Demo4 XenCluster 01",
 | |
|           "linklocalip": "169.254.2.15",
 | |
|           "linklocalmacaddress": "255.255.0.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.53",
 | |
|           "publicmacaddress": "06:78:2a:00:00:2c",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:47:a0:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 234,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-10T02:58:33-0700",
 | |
|           "state": "Running",
 | |
|           "account": "osamu",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 354,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs1acloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-354-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.54",
 | |
|           "publicmacaddress": "06:30:90:00:00:2d",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:7f:38:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 235,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-10T10:30:01-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "rikard",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 356,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs19cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-356-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.63",
 | |
|           "publicmacaddress": "06:1c:34:00:00:36",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:73:e8:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 236,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-10T10:44:56-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "jlong",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 429,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs1bcloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-429-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "linklocalip": "192.168.21.42",
 | |
|           "linklocalmacaddress": "255.255.255.0",
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.33",
 | |
|           "publicmacaddress": "06:91:88:00:00:18",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:40:1a:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 237,
 | |
|           "templateid": 8,
 | |
|           "created": "2011-06-13T20:51:23-0700",
 | |
|           "state": "Running",
 | |
|           "account": "Yali",
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 494,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "networkdomain": "cs20cloud.internal",
 | |
|           "gateway": "72.52.126.1",
 | |
|           "name": "r-494-VM",
 | |
|           "podid": 1,
 | |
|           "linklocalnetworkid": 202,
 | |
|           "publicip": "72.52.126.51",
 | |
|           "publicmacaddress": "06:7b:f0:00:00:2a",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "publicnetworkid": 200,
 | |
|           "guestipaddress": "10.1.1.1",
 | |
|           "guestmacaddress": "02:00:21:11:00:02",
 | |
|           "guestnetmask": "255.255.255.0",
 | |
|           "guestnetworkid": 238,
 | |
|           "templateid": 1,
 | |
|           "created": "2011-06-16T17:57:45-0700",
 | |
|           "state": "Stopped",
 | |
|           "account": "sumita-user",
 | |
|           "domainid": 7,
 | |
|           "domain": "sumita"
 | |
|         }
 | |
|       ],
 | |
|       systemVMs: [
 | |
|         {
 | |
|           "id": 14,
 | |
|           "systemvmtype": "consoleproxy",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "name": "v-14-VM",
 | |
|           "podid": 2,
 | |
|           "hostid": 8,
 | |
|           "hostname": "x31.fre.vmops.com",
 | |
|           "privateip": "192.168.204.71",
 | |
|           "privatemacaddress": "06:72:00:00:00:02",
 | |
|           "privatenetmask": "255.255.255.0",
 | |
|           "linklocalip": "169.254.0.166",
 | |
|           "linklocalmacaddress": "0e:00:a9:fe:00:a6",
 | |
|           "linklocalnetmask": "255.255.0.0",
 | |
|           "publicip": "65.19.181.108",
 | |
|           "publicmacaddress": "06:2e:50:00:00:45",
 | |
|           "publicnetmask": "255.255.255.0",
 | |
|           "templateid": 3,
 | |
|           "created": "2011-05-27T20:56:22-0700",
 | |
|           "state": "Running",
 | |
|           "activeviewersessions": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 1353,
 | |
|           "systemvmtype": "consoleproxy",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "name": "v-1353-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "privateip": "192.168.21.30",
 | |
|           "privatemacaddress": "06:97:8a:00:00:01",
 | |
|           "privatenetmask": "255.255.255.0",
 | |
|           "linklocalmacaddress": "02:00:2b:f8:00:40",
 | |
|           "publicip": "72.52.126.48",
 | |
|           "publicmacaddress": "06:9b:2c:00:00:27",
 | |
|           "publicnetmask": "255.255.255.128",
 | |
|           "templateid": 8,
 | |
|           "created": "2011-08-02T06:44:24-0700",
 | |
|           "state": "Running",
 | |
|           "activeviewersessions": 0
 | |
|         },
 | |
|         {
 | |
|           "id": 15,
 | |
|           "systemvmtype": "secondarystoragevm",
 | |
|           "zoneid": 2,
 | |
|           "zonename": "Chicago",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "name": "s-15-VM",
 | |
|           "podid": 2,
 | |
|           "hostid": 8,
 | |
|           "hostname": "x31.fre.vmops.com",
 | |
|           "privateip": "192.168.204.74",
 | |
|           "privatemacaddress": "06:c3:34:00:00:05",
 | |
|           "privatenetmask": "255.255.255.0",
 | |
|           "linklocalip": "169.254.3.66",
 | |
|           "linklocalmacaddress": "0e:00:a9:fe:03:42",
 | |
|           "linklocalnetmask": "255.255.0.0",
 | |
|           "publicip": "65.19.181.109",
 | |
|           "publicmacaddress": "06:12:3e:00:00:46",
 | |
|           "publicnetmask": "255.255.255.0",
 | |
|           "templateid": 3,
 | |
|           "created": "2011-05-27T20:56:22-0700",
 | |
|           "state": "Running"
 | |
|         },
 | |
|         {
 | |
|           "id": 1351,
 | |
|           "systemvmtype": "secondarystoragevm",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "name": "s-1351-VM",
 | |
|           "podid": 1,
 | |
|           "hostid": 7,
 | |
|           "hostname": "192.168.21.214",
 | |
|           "privateip": "192.168.21.46",
 | |
|           "privatemacaddress": "06:43:d4:00:00:11",
 | |
|           "privatenetmask": "255.255.255.0",
 | |
|           "linklocalmacaddress": "02:00:40:fb:00:3f",
 | |
|           "publicip": "72.52.67.51",
 | |
|           "publicmacaddress": "06:a3:a2:00:00:5c",
 | |
|           "publicnetmask": "255.255.255.0",
 | |
|           "templateid": 8,
 | |
|           "created": "2011-08-02T06:14:54-0700",
 | |
|           "state": "Running"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       networks: [
 | |
|         {
 | |
|           "id": 269,
 | |
|           "name": "vlan100",
 | |
|           "displaytext": "sumi-network-vlan-100",
 | |
|           "broadcastdomaintype": "Vlan",
 | |
|           "traffictype": "Guest",
 | |
|           "gateway": "182.172.161.1",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "182.172.161.10",
 | |
|           "endip": "182.172.161.100",
 | |
|           "zoneid": 1,
 | |
|           "networkofferingid": 7,
 | |
|           "networkofferingname": "DefaultDirectNetworkOffering",
 | |
|           "networkofferingdisplaytext": "Direct",
 | |
|           "networkofferingavailability": "Optional",
 | |
|           "isshared": true,
 | |
|           "issystem": false,
 | |
|           "state": "Setup",
 | |
|           "related": 269,
 | |
|           "broadcasturi": "vlan://100",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "type": "Direct",
 | |
|           "vlan": "100",
 | |
|           "isdefault": false,
 | |
|           "service": [
 | |
|             {
 | |
|               "name": "Dns"
 | |
|             },
 | |
|             {
 | |
|               "name": "UserData"
 | |
|             },
 | |
|             {
 | |
|               "name": "Dhcp"
 | |
|             }
 | |
|           ],
 | |
|           "securitygroupenabled": false
 | |
|         },
 | |
|         {
 | |
|           "id": 263,
 | |
|           "name": "CustomerNet",
 | |
|           "displaytext": "Dedicated Customer Network",
 | |
|           "broadcastdomaintype": "Vlan",
 | |
|           "traffictype": "Guest",
 | |
|           "gateway": "192.168.129.1",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.129.10",
 | |
|           "endip": "192.168.129.50",
 | |
|           "zoneid": 1,
 | |
|           "networkofferingid": 7,
 | |
|           "networkofferingname": "DefaultDirectNetworkOffering",
 | |
|           "networkofferingdisplaytext": "Direct",
 | |
|           "networkofferingavailability": "Optional",
 | |
|           "isshared": true,
 | |
|           "issystem": false,
 | |
|           "state": "Setup",
 | |
|           "related": 263,
 | |
|           "broadcasturi": "vlan://129",
 | |
|           "dns1": "8.8.8.8",
 | |
|           "type": "Direct",
 | |
|           "vlan": "129",
 | |
|           "isdefault": true,
 | |
|           "service": [
 | |
|             {
 | |
|               "name": "Dns"
 | |
|             },
 | |
|             {
 | |
|               "name": "UserData"
 | |
|             },
 | |
|             {
 | |
|               "name": "Dhcp"
 | |
|             }
 | |
|           ],
 | |
|           "securitygroupenabled": false
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       hypervisors: [
 | |
|         {
 | |
|           id: 'xen',
 | |
|           description: 'XenServer'
 | |
|         },
 | |
|         {
 | |
|           id: 'kvm',
 | |
|           description: 'KVM'
 | |
|         },
 | |
|         {
 | |
|           id: 'VMware',
 | |
|           description: 'VMware'
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       pods: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "Pod1",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.1",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "Pod2",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.2",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 3,
 | |
|           "name": "Pod3",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.1",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 4,
 | |
|           "name": "Pod4",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.2",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "Pod5",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.1",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 6,
 | |
|           "name": "Pod6",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "gateway": "192.168.21.2",
 | |
|           "netmask": "255.255.255.0",
 | |
|           "startip": "192.168.21.30",
 | |
|           "endip": "192.168.21.49",
 | |
|           "allocationstate": "Enabled"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       clusters: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "KVM Cluster 01",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hypervisortype": "KVM",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 2,
 | |
|           "name": "Xen Cluster 01",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hypervisortype": "XenServer",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 3,
 | |
|           "name": "Xen Cluster 02",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hypervisortype": "XenServer",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 8,
 | |
|           "name": "192.168.20.218/SJ/esxDemo4",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "hypervisortype": "VMware",
 | |
|           "clustertype": "ExternalManaged",
 | |
|           "allocationstate": "Enabled"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       hosts: [
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "905-17.sjc.vmops.com",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-07T17:22:09-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.217",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "KVM",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "55.31%",
 | |
|           "cpuused": "29.6%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 28142824,
 | |
|           "networkkbswrite": 51473482,
 | |
|           "memorytotal": 16715161600,
 | |
|           "memoryallocated": 5368709120,
 | |
|           "memoryused": 5368709120,
 | |
|           "capabilities": "hvm",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 1,
 | |
|           "clustername": "KVM Cluster 01",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:00:03-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "905-21",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-12T13:11:17-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.218",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "XenServer",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "22.12%",
 | |
|           "cpuused": "0.02%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 1475,
 | |
|           "networkkbswrite": 3877,
 | |
|           "memorytotal": 16190149248,
 | |
|           "memoryallocated": 2147483648,
 | |
|           "memoryused": 2147483648,
 | |
|           "capabilities": "xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:14:48-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "905-17.sjc.vmops.com",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-07T17:22:09-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.217",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "KVM",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "55.31%",
 | |
|           "cpuused": "29.6%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 28142824,
 | |
|           "networkkbswrite": 51473482,
 | |
|           "memorytotal": 16715161600,
 | |
|           "memoryallocated": 5368709120,
 | |
|           "memoryused": 5368709120,
 | |
|           "capabilities": "hvm",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 1,
 | |
|           "clustername": "KVM Cluster 01",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:00:03-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "905-21",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-12T13:11:17-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.218",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "XenServer",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "22.12%",
 | |
|           "cpuused": "0.02%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 1475,
 | |
|           "networkkbswrite": 3877,
 | |
|           "memorytotal": 16190149248,
 | |
|           "memoryallocated": 2147483648,
 | |
|           "memoryused": 2147483648,
 | |
|           "capabilities": "xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:14:48-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "905-17.sjc.vmops.com",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-07T17:22:09-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.217",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "KVM",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "55.31%",
 | |
|           "cpuused": "29.6%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 28142824,
 | |
|           "networkkbswrite": 51473482,
 | |
|           "memorytotal": 16715161600,
 | |
|           "memoryallocated": 5368709120,
 | |
|           "memoryused": 5368709120,
 | |
|           "capabilities": "hvm",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 1,
 | |
|           "clustername": "KVM Cluster 01",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:00:03-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "905-21",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-12T13:11:17-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.218",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "XenServer",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "22.12%",
 | |
|           "cpuused": "0.02%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 1475,
 | |
|           "networkkbswrite": 3877,
 | |
|           "memorytotal": 16190149248,
 | |
|           "memoryallocated": 2147483648,
 | |
|           "memoryused": 2147483648,
 | |
|           "capabilities": "xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:14:48-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 1,
 | |
|           "name": "905-17.sjc.vmops.com",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-07T17:22:09-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.217",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "KVM",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "55.31%",
 | |
|           "cpuused": "29.6%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 28142824,
 | |
|           "networkkbswrite": 51473482,
 | |
|           "memorytotal": 16715161600,
 | |
|           "memoryallocated": 5368709120,
 | |
|           "memoryused": 5368709120,
 | |
|           "capabilities": "hvm",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 1,
 | |
|           "clustername": "KVM Cluster 01",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:00:03-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         },
 | |
|         {
 | |
|           "id": 5,
 | |
|           "name": "905-21",
 | |
|           "state": "Up",
 | |
|           "disconnected": "2011-09-12T13:11:17-0700",
 | |
|           "type": "Routing",
 | |
|           "ipaddress": "192.168.21.218",
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "version": "2.2.5.20110524203546",
 | |
|           "hypervisor": "XenServer",
 | |
|           "cpunumber": 4,
 | |
|           "cpuspeed": 2260,
 | |
|           "cpuallocated": "22.12%",
 | |
|           "cpuused": "0.02%",
 | |
|           "cpuwithoverprovisioning": "18080.0",
 | |
|           "networkkbsread": 1475,
 | |
|           "networkkbswrite": 3877,
 | |
|           "memorytotal": 16190149248,
 | |
|           "memoryallocated": 2147483648,
 | |
|           "memoryused": 2147483648,
 | |
|           "capabilities": "xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64",
 | |
|           "lastpinged": "1970-01-15T12:59:49-0800",
 | |
|           "managementserverid": 52238454490,
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "clustertype": "CloudManaged",
 | |
|           "islocalstorageactive": false,
 | |
|           "created": "2011-05-27T07:14:48-0700",
 | |
|           "events": "HostDown; AgentConnected; PingTimeout; Ping; MaintenanceRequested; ManagementServerDown; ShutdownRequested; AgentDisconnected",
 | |
|           "hosttags": "",
 | |
|           "hasEnoughCapacity": false,
 | |
|           "allocationstate": "Enabled"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       'primary-storage': [
 | |
|         {
 | |
|           "id": 203,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "name": "Xen Cluster 02 NFS Primary",
 | |
|           "ipaddress": "192.168.21.220",
 | |
|           "path": "/a6bcdca3-cb58-3d64-97a0-400823a0bce3",
 | |
|           "created": "2011-05-27T07:15:46-0700",
 | |
|           "type": "PreSetup",
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "disksizetotal": 962498199552,
 | |
|           "disksizeallocated": 260649058304,
 | |
|           "tags": "",
 | |
|           "state": "Up"
 | |
|         },
 | |
|         {
 | |
|           "id": 203,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "name": "Xen Cluster 02 NFS Primary",
 | |
|           "ipaddress": "192.168.21.220",
 | |
|           "path": "/a6bcdca3-cb58-3d64-97a0-400823a0bce3",
 | |
|           "created": "2011-05-27T07:15:46-0700",
 | |
|           "type": "PreSetup",
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "disksizetotal": 962498199552,
 | |
|           "disksizeallocated": 260649058304,
 | |
|           "tags": "",
 | |
|           "state": "Up"
 | |
|         },
 | |
|         {
 | |
|           "id": 203,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "name": "Xen Cluster 02 NFS Primary",
 | |
|           "ipaddress": "192.168.21.220",
 | |
|           "path": "/a6bcdca3-cb58-3d64-97a0-400823a0bce3",
 | |
|           "created": "2011-05-27T07:15:46-0700",
 | |
|           "type": "PreSetup",
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "disksizetotal": 962498199552,
 | |
|           "disksizeallocated": 260649058304,
 | |
|           "tags": "",
 | |
|           "state": "Up"
 | |
|         },
 | |
|         {
 | |
|           "id": 203,
 | |
|           "zoneid": 1,
 | |
|           "zonename": "San Jose",
 | |
|           "podid": 1,
 | |
|           "podname": "Pod1",
 | |
|           "name": "Xen Cluster 02 NFS Primary",
 | |
|           "ipaddress": "192.168.21.220",
 | |
|           "path": "/a6bcdca3-cb58-3d64-97a0-400823a0bce3",
 | |
|           "created": "2011-05-27T07:15:46-0700",
 | |
|           "type": "PreSetup",
 | |
|           "clusterid": 3,
 | |
|           "clustername": "Xen Cluster 02",
 | |
|           "disksizetotal": 962498199552,
 | |
|           "disksizeallocated": 260649058304,
 | |
|           "tags": "",
 | |
|           "state": "Up"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       users: [
 | |
|         {
 | |
|           "id": 2,
 | |
|           "username": "admin",
 | |
|           "firstname": "admin",
 | |
|           "lastname": "cloud",
 | |
|           "created": "2011-05-26T15:16:39-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "apikey": "EbZq4Tnn3flF9kKXzGKr2uMGLE0jLpKAAb1FZdIBKMlYdF_BbPyXpjQOHtSaUNmSs1UT6zyV-t4jw6eG77hCrQ",
 | |
|           "secretkey": "RIbGt6VapuiqGq-FxSaMKNf8s2OAXWrWEdw0m6SEsj8efIZ9QYCo37X7vKWRR4YKFRV5NDiRAKkLUbIv-xggVQ"
 | |
|         },
 | |
|         {
 | |
|           "id": 74,
 | |
|           "username": "kimihiko",
 | |
|           "firstname": "Kimihiko",
 | |
|           "lastname": "Kitase ",
 | |
|           "email": "Kimihiko.Kitase@citrix.co.jp",
 | |
|           "created": "2011-08-29T10:14:04-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "timezone": "Asia/Tokyo",
 | |
|           "apikey": "WdCpxA2zT3gU0DrANRHDnqvQe_O8L3FcwZx7jSP_weUTpo2qpp_ZMwWYkQOIjVCXf4MOKys8e6QBGaKfFDiLWA",
 | |
|           "secretkey": "Xep6DsGSKlcsqgtTZ3U6C1RAvNdSDFIHMXnaiU71kuLdo9LhUYKW_JWlZ49EGxp96MSWKnP4CdGtPVWiz0p7gQ"
 | |
|         },
 | |
|         {
 | |
|           "id": 79,
 | |
|           "username": "kimi",
 | |
|           "firstname": "Kimihiko",
 | |
|           "lastname": "Kitase2",
 | |
|           "email": "kimihiko.kitase@citrix.co.jp",
 | |
|           "created": "2011-08-31T19:30:40-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT"
 | |
|         },
 | |
|         {
 | |
|           "id": 82,
 | |
|           "username": "tmackey",
 | |
|           "firstname": "Tim",
 | |
|           "lastname": "Mackey",
 | |
|           "email": "tim.mackey@citrix.com",
 | |
|           "created": "2011-09-06T07:58:01-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "timezone": "America/New_York"
 | |
|         },
 | |
|         {
 | |
|           "id": 89,
 | |
|           "username": "chris",
 | |
|           "firstname": "chris",
 | |
|           "lastname": "woolsey",
 | |
|           "email": "chris@cloud.com",
 | |
|           "created": "2011-09-13T16:39:55-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "timezone": "America/Los_Angeles"
 | |
|         },
 | |
|         {
 | |
|           "id": 95,
 | |
|           "username": "mikael",
 | |
|           "firstname": "Mikael",
 | |
|           "lastname": "Lindholm",
 | |
|           "email": "mikael.lindholm@kasetty.com",
 | |
|           "created": "2011-09-15T08:46:53-0700",
 | |
|           "state": "enabled",
 | |
|           "account": "admin",
 | |
|           "accounttype": 1,
 | |
|           "domainid": 1,
 | |
|           "domain": "ROOT",
 | |
|           "timezone": "CET"
 | |
|         }
 | |
|       ],
 | |
| 
 | |
|       projects: [
 | |
|         {
 | |
|           name: 'prj1',
 | |
|           displayText: 'Project 1',
 | |
|           account: 'bfederle',
 | |
|           domain: 'ROOT',
 | |
|           users: [
 | |
|             {
 | |
|               username: 'bfederle',
 | |
|               role: 'admin'
 | |
|             },
 | |
|             {
 | |
|               username: 'schhen',
 | |
|               role: 'admin'
 | |
|             },
 | |
|             {
 | |
|               username: 'jdoe',
 | |
|               role: 'user'
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           name: 'prj2',
 | |
|           displayText: 'Project 2',
 | |
|           account: 'someuserA',
 | |
|           domain: 'ROOT',
 | |
|           users: [
 | |
|             {
 | |
|               username: 'someuserA',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someuserB',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someadmin',
 | |
|               role: 'admin'
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           name: 'prj3',
 | |
|           displayText: 'Project 3',
 | |
|           account: 'schhen',
 | |
|           domain: 'ROOT',
 | |
|           users: [
 | |
|             {
 | |
|               username: 'someuserA',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someuserB',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someadmin',
 | |
|               role: 'admin'
 | |
|             }
 | |
|           ]
 | |
|         },
 | |
|         {
 | |
|           name: 'prj4',
 | |
|           displayText: 'Project 4',
 | |
|           account: 'admin',
 | |
|           domain: 'ROOT',
 | |
|           users: [
 | |
|             {
 | |
|               username: 'someuserA',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someuserB',
 | |
|               role: 'user'
 | |
|             },
 | |
|             {
 | |
|               username: 'someadmin',
 | |
|               role: 'admin'
 | |
|             }
 | |
|           ]
 | |
|         }
 | |
|       ]
 | |
|     }
 | |
|   };
 | |
| })(window);
 |