Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
[root@headnode (closet) ~]# sdc-cnapi /servers | json -Hag uuid | head -1 | while read k ; do sdc-cnapi /servers/$k | json -Hag vms ; done
{
"23120bd3-2d1f-4e0d-bcb5-4f3450135014": {
"uuid": "23120bd3-2d1f-4e0d-bcb5-4f3450135014",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:33:21.000Z"
},
"0d7cd6af-8be7-4d10-9cf7-2f1a9e1fde8d": {
"uuid": "0d7cd6af-8be7-4d10-9cf7-2f1a9e1fde8d",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:33:51.000Z"
},
"f4df9779-ed00-469a-8e29-664bad1b5b7f": {
"uuid": "f4df9779-ed00-469a-8e29-664bad1b5b7f",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 3000,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:38:23.000Z"
},
"debfee8d-b9a9-484d-9efc-a7507ab1e364": {
"uuid": "debfee8d-b9a9-484d-9efc-a7507ab1e364",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 3000,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:38:52.000Z"
},
"03706569-b22d-4725-a954-7f0affe68ba9": {
"uuid": "03706569-b22d-4725-a954-7f0affe68ba9",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 3000,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:39:12.000Z"
},
"23fcdd4f-70d0-4ecc-847c-3fc7222cae89": {
"uuid": "23fcdd4f-70d0-4ecc-847c-3fc7222cae89",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:41:53.000Z"
},
"d054cf6d-f1f7-4484-97dc-e2508f4e2eda": {
"uuid": "d054cf6d-f1f7-4484-97dc-e2508f4e2eda",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:42:22.000Z"
},
"a452cdc6-5be7-4450-ad25-279159b0d738": {
"uuid": "a452cdc6-5be7-4450-ad25-279159b0d738",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T00:42:53.000Z"
},
"f68c1830-d1ed-4166-b831-91b92af0ec48": {
"uuid": "f68c1830-d1ed-4166-b831-91b92af0ec48",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 0,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:17:52.000Z"
},
"12911fc3-4281-4ef3-b702-e8538a598d2c": {
"uuid": "12911fc3-4281-4ef3-b702-e8538a598d2c",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 0,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:18:22.000Z"
},
"ab2dc4ca-8bfc-41c2-9223-02b29f752404": {
"uuid": "ab2dc4ca-8bfc-41c2-9223-02b29f752404",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 0,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:18:52.000Z"
},
"672d7451-832b-4833-b650-a0ce0c128f78": {
"uuid": "672d7451-832b-4833-b650-a0ce0c128f78",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 32768,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:43:01.000Z"
},
"560e0900-f6f0-4284-88e4-faa671c2c620": {
"uuid": "560e0900-f6f0-4284-88e4-faa671c2c620",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 16384,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:43:40.000Z"
},
"95330c70-7f55-42f5-92f3-5b0f7dc11805": {
"uuid": "95330c70-7f55-42f5-92f3-5b0f7dc11805",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 16384,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:44:13.000Z"
},
"82d0b2dd-921a-4a6b-86de-099aadf674db": {
"uuid": "82d0b2dd-921a-4a6b-86de-099aadf674db",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 16384,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:45:00.000Z"
},
"8d144d38-f652-4d17-94de-b1fa190e1442": {
"uuid": "8d144d38-f652-4d17-94de-b1fa190e1442",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 16384,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:45:33.000Z"
},
"b44b1744-2f71-48a7-872f-a52653958d9b": {
"uuid": "b44b1744-2f71-48a7-872f-a52653958d9b",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 16384,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:46:03.000Z"
},
"0cc2101c-7c66-4861-afa1-7d612c0714d9": {
"uuid": "0cc2101c-7c66-4861-afa1-7d612c0714d9",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 100,
"max_physical_memory": 8192,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-03T01:48:16.000Z"
},
"220a605f-f921-41e1-b82f-d00a1c0bf8f9": {
"uuid": "220a605f-f921-41e1-b82f-d00a1c0bf8f9",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 8,
"max_physical_memory": 1024,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-12T16:15:54.000Z"
},
"f2e3d84c-d4e6-4c8d-a03e-92e4988c13e8": {
"uuid": "f2e3d84c-d4e6-4c8d-a03e-92e4988c13e8",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 8,
"max_physical_memory": 1024,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-12T19:15:46.000Z"
},
"03ca1f89-38fb-48a6-9aae-00c7284a13e9": {
"uuid": "03ca1f89-38fb-48a6-9aae-00c7284a13e9",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 8,
"max_physical_memory": 1024,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-12T22:15:52.000Z"
},
"5cb5ae71-d9fe-4cca-87f3-a4d4895222ef": {
"uuid": "5cb5ae71-d9fe-4cca-87f3-a4d4895222ef",
"owner_uuid": "60b82c69-9dd3-ec3a-9a45-9e55b3a51c46",
"quota": 8,
"max_physical_memory": 1024,
"zone_state": "running",
"state": "running",
"brand": "joyent-minimal",
"last_modified": "2014-05-12T21:15:48.000Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.