Skip to content

Instantly share code, notes, and snippets.

@imduffy15
Created September 7, 2013 21:09
Show Gist options
  • Select an option

  • Save imduffy15/6479334 to your computer and use it in GitHub Desktop.

Select an option

Save imduffy15/6479334 to your computer and use it in GitHub Desktop.
empty
{
"listprojectsresponse": {
"count": 1,
"project": [
{
"id": "0d108f3b-e8c7-4ecc-9c36-1d9fd095db1f",
"name": "ExampleProject",
"displaytext": "ExampleProject",
"domainid": "edcc4bc3-0f74-11e3-88a4-c6d2cc863c97",
"domain": "ROOT",
"account": "admin",
"state": "Active",
"tags": [],
"networklimit": "20",
"networktotal": 0,
"networkavailable": "20",
"vpclimit": "20",
"vpctotal": 0,
"vpcavailable": "20",
"cpulimit": "40",
"cputotal": 0,
"cpuavailable": "40",
"memorylimit": "40960",
"memorytotal": 0,
"memoryavailable": "40960",
"primarystoragelimit": "200",
"primarystoragetotal": 0,
"primarystorageavailable": "200",
"secondarystoragelimit": "400",
"secondarystoragetotal": 0,
"secondarystorageavailable": "400",
"vmlimit": "20",
"vmtotal": 0,
"vmavailable": "20",
"iplimit": "20",
"iptotal": 0,
"ipavailable": "20",
"volumelimit": "20",
"volumetotal": 0,
"volumeavailable": "20",
"snapshotlimit": "20",
"snapshottotal": 0,
"snapshotavailable": "20",
"templatelimit": "20",
"templatetotal": 0,
"templateavailable": "20"
}
]
}
}
{
"listserviceofferingsresponse": {
"count": 2,
"serviceoffering": [
{
"id": "35fb3aa8-5041-4e63-9cc7-a9f1a43bf3c9",
"name": "Small Instance",
"displaytext": "Small Instance",
"cpunumber": 1,
"cpuspeed": 500,
"memory": 512,
"created": "2013-08-28T01:02:23+0100",
"storagetype": "shared",
"offerha": false,
"limitcpuuse": false,
"isvolatile": false,
"issystem": false,
"defaultuse": false
},
{
"id": "353837b3-0cfc-4ffe-a882-084db2adeb02",
"name": "Medium Instance",
"displaytext": "Medium Instance",
"cpunumber": 1,
"cpuspeed": 1000,
"memory": 1024,
"created": "2013-08-28T01:02:24+0100",
"storagetype": "shared",
"offerha": false,
"limitcpuuse": false,
"isvolatile": false,
"issystem": false,
"defaultuse": false
}
]
}
}
{
"listtemplatesresponse": {
"count": 2,
"template": [
{
"id": "f920d4dc-0f74-11e3-88a4-c6d2cc863c97",
"name": "CentOS 5.3(64-bit) no GUI (Simulator)",
"displaytext": "CentOS 5.3(64-bit) no GUI (Simulator)",
"ispublic": true,
"created": "2013-08-28T01:10:39+0100",
"isready": true,
"passwordenabled": false,
"format": "VHD",
"isfeatured": true,
"crossZones": true,
"ostypeid": "ed9db3a3-0f74-11e3-88a4-c6d2cc863c97",
"ostypename": "CentOS 5.3 (32-bit)",
"account": "system",
"zoneid": "b4c6f3c4-5928-4049-850e-7fd9fed3ebec",
"zonename": "Sandbox-simulator",
"status": "Download Complete",
"size": 2147483648,
"templatetype": "BUILTIN",
"hypervisor": "Simulator",
"domain": "ROOT",
"domainid": "edcc4bc3-0f74-11e3-88a4-c6d2cc863c97",
"isextractable": false,
"checksum": "",
"tags": [],
"sshkeyenabled": false,
"isdynamicallyscalable": false
},
{
"id": "f920c577-0f74-11e3-88a4-c6d2cc863c97",
"name": "SystemVM Template (simulator)",
"displaytext": "SystemVM Template (simulator)",
"ispublic": false,
"created": "2013-08-28T01:10:08+0100",
"isready": true,
"passwordenabled": false,
"format": "VHD",
"isfeatured": false,
"crossZones": true,
"ostypeid": "ed9ddc9b-0f74-11e3-88a4-c6d2cc863c97",
"ostypename": "Debian GNU/Linux 5.0 (32-bit)",
"account": "system",
"zoneid": "b4c6f3c4-5928-4049-850e-7fd9fed3ebec",
"zonename": "Sandbox-simulator",
"status": "Download Complete",
"size": 2147483648,
"templatetype": "SYSTEM",
"hypervisor": "Simulator",
"domain": "ROOT",
"domainid": "edcc4bc3-0f74-11e3-88a4-c6d2cc863c97",
"isextractable": false,
"checksum": "",
"tags": [],
"sshkeyenabled": false,
"isdynamicallyscalable": false
}
]
}
}
{
"listzonesresponse": {
"count": 1,
"zone": [
{
"id": "b4c6f3c4-5928-4049-850e-7fd9fed3ebec",
"name": "Sandbox-simulator",
"dns1": "10.147.28.6",
"internaldns1": "10.147.28.6",
"guestcidraddress": "10.1.1.0/24",
"networktype": "Advanced",
"securitygroupsenabled": false,
"allocationstate": "Enabled",
"zonetoken": "c1b38c7b-cbb1-3d69-b767-349ae567e17c",
"dhcpprovider": "VirtualRouter",
"localstorageenabled": false
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment