Skip to content

Instantly share code, notes, and snippets.

@khalfella
Created February 28, 2017 16:13
Show Gist options
  • Save khalfella/8e0ea21d0dac7a7a508b1ceeee2c9951 to your computer and use it in GitHub Desktop.
Save khalfella/8e0ea21d0dac7a7a508b1ceeee2c9951 to your computer and use it in GitHub Desktop.
[root@headnode (swdemo01) ~]# sdc-vmapi /vms/05837e8b-44a2-62fe-fc55-f717448fb658
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json
Content-Length: 1346
Content-MD5: 7b0rtV/7Bx7f7rvyGNgvNw==
Date: Tue, 28 Feb 2017 16:11:58 GMT
Server: VMAPI
x-request-id: 706d56fa-69f6-4ad7-88bb-7337001eb53a
x-response-time: 13
x-server-name: f1928bea-296c-49a5-b456-9d4b4e58881a
{
"uuid": "05837e8b-44a2-62fe-fc55-f717448fb658",
"alias": "demodata",
"autoboot": true,
"brand": "joyent",
"billing_id": "f1e9e97b-bb13-c955-a991-b38d1407b76e",
"cpu_cap": 400,
"cpu_shares": 256,
"create_timestamp": "2017-01-24T23:05:06.139Z",
"customer_metadata": {},
"datasets": [],
"destroyed": null,
"firewall_enabled": false,
"internal_metadata": {},
"last_modified": "2017-02-28T15:36:27.000Z",
"limit_priv": "default",
"max_locked_memory": 4096,
"max_lwps": 4000,
"max_physical_memory": 4096,
"max_swap": 16384,
"nics": [
{
"interface": "net0",
"mac": "90:b8:d0:9b:3b:a5",
"vlan_id": 1116,
"nic_tag": "mantanat",
"gateway": "64.30.138.1",
"gateways": [
"64.30.138.1"
],
"netmask": "255.255.255.224",
"ip": "64.30.138.25",
"ips": [
"64.30.138.25/27"
],
"network_uuid": "b4f0a888-36c3-4963-9414-59f7c48cb6b1",
"mtu": 1500,
"primary": true
}
],
"owner_uuid": "a53d5d0d-2964-4f2b-aa27-a6676a0bbac5",
"platform_buildstamp": "20160804T173034Z",
"quota": 100,
"ram": 4096,
"resolvers": [
"8.8.8.8",
"8.8.4.4"
],
"server_uuid": "44454c4c-3900-1046-8059-c6c04f395231",
"snapshots": [],
"state": "running",
"tags": {},
"zfs_filesystem": "zones/05837e8b-44a2-62fe-fc55-f717448fb658",
"zfs_io_priority": 256,
"zone_state": "running",
"zonepath": "/zones/05837e8b-44a2-62fe-fc55-f717448fb658",
"zpool": "zones",
"boot_timestamp": "2017-02-28T15:40:53.000Z",
"dns_domain": "local",
"pid": 12438,
"tmpfs": 4096,
"image_uuid": "65454f54-2f5c-46d3-8253-2d32a3f0c0f0"
}
[root@headnode (swdemo01)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment