Advertisement
alvise72

Untitled

Nov 18th, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.11 KB | None | 0 0
  1. dorigoa@lxadorigo 14:11:00 ~>curl -k -u admin:smartvm https://10.64.14.20/api/vms/177 | python -m json.tool
  2. {
  3.     "actions": [
  4.         {
  5.             "href": "https://10.64.14.20/api/vms/177",
  6.             "method": "post",
  7.             "name": "add_lifecycle_event"
  8.         },
  9.         {
  10.             "href": "https://10.64.14.20/api/vms/177",
  11.             "method": "post",
  12.             "name": "add_event"
  13.         },
  14.         {
  15.             "href": "https://10.64.14.20/api/vms/177",
  16.             "method": "post",
  17.             "name": "start"
  18.         },
  19.         {
  20.             "href": "https://10.64.14.20/api/vms/177",
  21.             "method": "post",
  22.             "name": "stop"
  23.         },
  24.         {
  25.             "href": "https://10.64.14.20/api/vms/177",
  26.             "method": "post",
  27.             "name": "suspend"
  28.         },
  29.         {
  30.             "href": "https://10.64.14.20/api/vms/177",
  31.             "method": "post",
  32.             "name": "delete"
  33.         },
  34.         {
  35.             "href": "https://10.64.14.20/api/vms/177",
  36.             "method": "post",
  37.             "name": "set_owner"
  38.         },
  39.         {
  40.             "href": "https://10.64.14.20/api/vms/177",
  41.             "method": "post",
  42.             "name": "scan"
  43.         },
  44.         {
  45.             "href": "https://10.64.14.20/api/vms/177",
  46.             "method": "delete",
  47.             "name": "delete"
  48.         }
  49.     ],
  50.     "availability_zone_id": 3,
  51.     "cloud": true,
  52.     "cloud_tenant_id": 12,
  53.     "connection_state": "connected",
  54.     "created_on": "2015-11-12T15:29:15Z",
  55.     "ems_ref": "56094643-7b87-4292-af68-0298931b7dd2",
  56.     "flavor_id": 17,
  57.     "guid": "22247e64-8952-11e5-a527-fa163ead1d85",
  58.     "href": "https://10.64.14.20/api/vms/177",
  59.     "id": 177,
  60.     "location": "unknown",
  61.     "name": "test-ubuntu-1",
  62.     "power_state": "unknown",
  63.     "previous_state": "SHUTOFF",
  64.     "raw_power_state": "unknown",
  65.     "state_changed_on": "2015-11-18T11:06:19Z",
  66.     "template": false,
  67.     "type": "VmOpenstack",
  68.     "uid_ems": "56094643-7b87-4292-af68-0298931b7dd2",
  69.     "updated_on": "2015-11-18T11:06:19Z",
  70.     "vendor": "openstack"
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement