Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View -
Raw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
[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.