Files
distil/tests/data/resources.json

1 line
31 KiB
JSON

[{"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"state_description": "", "event_type": "compute.instance.exists", "availability_zone": "None", "ephemeral_gb": "0", "instance_type_id": "6", "deleted_at": "", "reservation_id": "r-vswa1jkd", "instance_id": "03bd0d4c-99da-4ccf-b308-2721f33e84ef", "user_id": "2b8fbe55863d4dfab5310796202b2019", "hostname": "trogdor", "state": "active", "launched_at": "2013-08-04T23:58:54.000000", "node": "openstack", "ramdisk_id": "b23fbced-b272-41a6-8f48-be76b586bd00", "access_ip_v6": "None", "disk_gb": "0", "access_ip_v4": "None", "kernel_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "host": "compute.openstack", "display_name": "trogdor", "image_ref_url": "http://10.0.2.15:9292/images/", "audit_period_beginning": "2013-08-12 03:00:00", "root_gb": "0", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-04T23:58:46.000000", "memory_mb": "64", "instance_type": "m1.nano", "vcpus": "1", "architecture": "None", "audit_period_ending": "2013-08-12 04:00:00", "os_type": "None"}, "links": [{"href": "http://localhost:8777/v2/resources/03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/disk.ephemeral.size?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "disk.ephemeral.size"}, {"href": "http://localhost:8777/v2/meters/memory?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "memory"}, {"href": "http://localhost:8777/v2/meters/instance?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "instance"}, {"href": "http://localhost:8777/v2/meters/instance:m1.nano?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "instance:m1.nano"}, {"href": "http://localhost:8777/v2/meters/vcpus?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "vcpus"}, {"href": "http://localhost:8777/v2/meters/disk.root.size?q.field=resource_id&q.value=03bd0d4c-99da-4ccf-b308-2721f33e84ef", "rel": "disk.root.size"}], "resource_id": "03bd0d4c-99da-4ccf-b308-2721f33e84ef"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "0e5f3762-a8a9-4051-ad35-49ad879ebfc3", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:nova", "mac_address": "fa:16:3e:b3:f6:db", "event_type": "port.create.end", "id": "07771c9c-f10e-4b08-9702-78c8618f5a48", "device_id": "c01c63fe-7a29-4426-bab1-34d088e92415"}, "links": [{"href": "http://localhost:8777/v2/resources/07771c9c-f10e-4b08-9702-78c8618f5a48", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=07771c9c-f10e-4b08-9702-78c8618f5a48", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=07771c9c-f10e-4b08-9702-78c8618f5a48", "rel": "port.create"}], "resource_id": "07771c9c-f10e-4b08-9702-78c8618f5a48"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"state_description": "", "event_type": "compute.instance.exists", "availability_zone": "None", "ephemeral_gb": "0", "instance_type_id": "6", "deleted_at": "", "reservation_id": "r-epqlkbe8", "instance_id": "0a16330b-d457-425d-8249-a275fab9adea", "user_id": "2b8fbe55863d4dfab5310796202b2019", "hostname": "trogtwo", "state": "stopped", "launched_at": "2013-08-05T22:04:25.000000", "node": "openstack", "ramdisk_id": "b23fbced-b272-41a6-8f48-be76b586bd00", "access_ip_v6": "None", "disk_gb": "0", "access_ip_v4": "None", "kernel_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "host": "compute.openstack", "display_name": "trogtwo", "image_ref_url": "http://10.0.2.15:9292/images/", "audit_period_beginning": "2013-08-12 03:00:00", "root_gb": "0", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-05T22:04:16.000000", "memory_mb": "64", "instance_type": "m1.nano", "vcpus": "1", "architecture": "None", "audit_period_ending": "2013-08-12 04:00:00", "os_type": "None"}, "links": [{"href": "http://localhost:8777/v2/resources/0a16330b-d457-425d-8249-a275fab9adea", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/memory?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "memory"}, {"href": "http://localhost:8777/v2/meters/disk.ephemeral.size?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "disk.ephemeral.size"}, {"href": "http://localhost:8777/v2/meters/instance?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "instance"}, {"href": "http://localhost:8777/v2/meters/instance:m1.nano?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "instance:m1.nano"}, {"href": "http://localhost:8777/v2/meters/vcpus?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "vcpus"}, {"href": "http://localhost:8777/v2/meters/disk.root.size?q.field=resource_id&q.value=0a16330b-d457-425d-8249-a275fab9adea", "rel": "disk.root.size"}], "resource_id": "0a16330b-d457-425d-8249-a275fab9adea"}, {"project_id": "0c5a6b84fd2a43999c8820060c57da30", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/0c5a6b84fd2a43999c8820060c57da30", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=0c5a6b84fd2a43999c8820060c57da30", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=0c5a6b84fd2a43999c8820060c57da30", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=0c5a6b84fd2a43999c8820060c57da30", "rel": "storage.objects.size"}], "resource_id": "0c5a6b84fd2a43999c8820060c57da30"}, {"project_id": "0d0854c42a7b49b0a6348b2746d60e7f", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/0d0854c42a7b49b0a6348b2746d60e7f", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=0d0854c42a7b49b0a6348b2746d60e7f", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=0d0854c42a7b49b0a6348b2746d60e7f", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=0d0854c42a7b49b0a6348b2746d60e7f", "rel": "storage.objects.size"}], "resource_id": "0d0854c42a7b49b0a6348b2746d60e7f"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"state_description": "", "event_type": "compute.instance.exists", "availability_zone": "nova", "ephemeral_gb": "0", "instance_type_id": "6", "deleted_at": "", "reservation_id": "r-zyyri69c", "instance_id": "1bd5a017-2777-4601-8c48-fd7569a4e485", "user_id": "2b8fbe55863d4dfab5310796202b2019", "hostname": "foo-1bd5a017-2777-4601-8c48-fd7569a4e485", "state": "active", "launched_at": "2013-08-05T05:17:46.000000", "node": "openstack", "ramdisk_id": "b23fbced-b272-41a6-8f48-be76b586bd00", "access_ip_v6": "None", "disk_gb": "0", "access_ip_v4": "None", "kernel_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "host": "compute.openstack", "display_name": "foo-1bd5a017-2777-4601-8c48-fd7569a4e485", "image_ref_url": "http://10.0.2.15:9292/images/e58bf75a-35e9-4709-9eab-885438f36a34", "audit_period_beginning": "2013-08-12 03:00:00", "root_gb": "0", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-05T05:17:36.000000", "memory_mb": "64", "instance_type": "m1.nano", "vcpus": "1", "architecture": "None", "audit_period_ending": "2013-08-12 04:00:00", "os_type": "None"}, "links": [{"href": "http://localhost:8777/v2/resources/1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/memory?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "memory"}, {"href": "http://localhost:8777/v2/meters/disk.ephemeral.size?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "disk.ephemeral.size"}, {"href": "http://localhost:8777/v2/meters/instance?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "instance"}, {"href": "http://localhost:8777/v2/meters/instance:m1.nano?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "instance:m1.nano"}, {"href": "http://localhost:8777/v2/meters/vcpus?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "vcpus"}, {"href": "http://localhost:8777/v2/meters/disk.root.size?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "disk.root.size"}, {"href": "http://localhost:8777/v2/meters/instance.scheduled?q.field=resource_id&q.value=1bd5a017-2777-4601-8c48-fd7569a4e485", "rel": "instance.scheduled"}], "resource_id": "1bd5a017-2777-4601-8c48-fd7569a4e485"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "0e5f3762-a8a9-4051-ad35-49ad879ebfc3", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:None", "mac_address": "fa:16:3e:de:89:e7", "event_type": "port.create.end", "id": "24916b40-f8d8-49ad-be4a-4edbf6c9a370", "device_id": "0a16330b-d457-425d-8249-a275fab9adea"}, "links": [{"href": "http://localhost:8777/v2/resources/24916b40-f8d8-49ad-be4a-4edbf6c9a370", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=24916b40-f8d8-49ad-be4a-4edbf6c9a370", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=24916b40-f8d8-49ad-be4a-4edbf6c9a370", "rel": "port.create"}], "resource_id": "24916b40-f8d8-49ad-be4a-4edbf6c9a370"}, {"project_id": "253d975f27004438b89a239b5638a6bc", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/253d975f27004438b89a239b5638a6bc", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=253d975f27004438b89a239b5638a6bc", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=253d975f27004438b89a239b5638a6bc", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=253d975f27004438b89a239b5638a6bc", "rel": "storage.objects.size"}], "resource_id": "253d975f27004438b89a239b5638a6bc"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "0e5f3762-a8a9-4051-ad35-49ad879ebfc3", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:nova", "mac_address": "fa:16:3e:20:df:2e", "event_type": "port.create.end", "id": "375d1c5d-e732-4082-857b-ca133f08006b", "device_id": "6d254988-1431-49d7-9491-e7c27d0bd6cb"}, "links": [{"href": "http://localhost:8777/v2/resources/375d1c5d-e732-4082-857b-ca133f08006b", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=375d1c5d-e732-4082-857b-ca133f08006b", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=375d1c5d-e732-4082-857b-ca133f08006b", "rel": "port.create"}], "resource_id": "375d1c5d-e732-4082-857b-ca133f08006b"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"status": "ACTIVE", "external_gateway_info": "None", "name": "router2", "admin_state_up": "True", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "id": "4392aff1-d6a8-4106-9e75-818eb91a3d45", "event_type": "router.update.end"}, "links": [{"href": "http://localhost:8777/v2/resources/4392aff1-d6a8-4106-9e75-818eb91a3d45", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/router?q.field=resource_id&q.value=4392aff1-d6a8-4106-9e75-818eb91a3d45", "rel": "router"}, {"href": "http://localhost:8777/v2/meters/router.create?q.field=resource_id&q.value=4392aff1-d6a8-4106-9e75-818eb91a3d45", "rel": "router.create"}, {"href": "http://localhost:8777/v2/meters/router.update?q.field=resource_id&q.value=4392aff1-d6a8-4106-9e75-818eb91a3d45", "rel": "router.update"}], "resource_id": "4392aff1-d6a8-4106-9e75-818eb91a3d45"}, {"project_id": "4cb54495d7784d3dbd61db9d7adf955f", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/4cb54495d7784d3dbd61db9d7adf955f", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=4cb54495d7784d3dbd61db9d7adf955f", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=4cb54495d7784d3dbd61db9d7adf955f", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=4cb54495d7784d3dbd61db9d7adf955f", "rel": "storage.objects.size"}], "resource_id": "4cb54495d7784d3dbd61db9d7adf955f"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"status": "DOWN", "name": "", "admin_state_up": "True", "network_id": "79b5e163-496c-4ab6-9c21-3b597ed632dc", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "device_owner": "", "mac_address": "fa:16:3e:4a:5d:9a", "event_type": "port.create.end", "id": "5561589b-c1fa-46eb-b9d4-5998daceaee4", "device_id": ""}, "links": [{"href": "http://localhost:8777/v2/resources/5561589b-c1fa-46eb-b9d4-5998daceaee4", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=5561589b-c1fa-46eb-b9d4-5998daceaee4", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=5561589b-c1fa-46eb-b9d4-5998daceaee4", "rel": "port.create"}], "resource_id": "5561589b-c1fa-46eb-b9d4-5998daceaee4"}, {"project_id": "7ec5ec9750414a4c8e767e16e1b6c9cf", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"status": "available", "display_name": "asdf", "event_type": "volume.create.end", "availability_zone": "nova", "tenant_id": "7ec5ec9750414a4c8e767e16e1b6c9cf", "created_at": "2013-08-05 03:52:23", "volume_id": "5d658ace-2535-48c5-a05f-85d651c0d0ac", "volume_type": "None", "host": "volume.openstack", "snapshot_id": "None", "user_id": "2b8fbe55863d4dfab5310796202b2019", "launched_at": "", "size": "2"}, "links": [{"href": "http://localhost:8777/v2/resources/5d658ace-2535-48c5-a05f-85d651c0d0ac", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/volume?q.field=resource_id&q.value=5d658ace-2535-48c5-a05f-85d651c0d0ac", "rel": "volume"}, {"href": "http://localhost:8777/v2/meters/volume.size?q.field=resource_id&q.value=5d658ace-2535-48c5-a05f-85d651c0d0ac", "rel": "volume.size"}], "resource_id": "5d658ace-2535-48c5-a05f-85d651c0d0ac"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "0e5f3762-a8a9-4051-ad35-49ad879ebfc3", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:None", "mac_address": "fa:16:3e:4d:0f:e5", "event_type": "port.create.end", "id": "615a397c-fca2-4233-9f42-b769a8d6ea59", "device_id": "03bd0d4c-99da-4ccf-b308-2721f33e84ef"}, "links": [{"href": "http://localhost:8777/v2/resources/615a397c-fca2-4233-9f42-b769a8d6ea59", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=615a397c-fca2-4233-9f42-b769a8d6ea59", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=615a397c-fca2-4233-9f42-b769a8d6ea59", "rel": "port.create"}], "resource_id": "615a397c-fca2-4233-9f42-b769a8d6ea59"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "0e5f3762-a8a9-4051-ad35-49ad879ebfc3", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:nova", "mac_address": "fa:16:3e:19:28:00", "event_type": "port.create.end", "id": "6b9765e2-9138-4468-a60c-4e9f63044d9d", "device_id": "1bd5a017-2777-4601-8c48-fd7569a4e485"}, "links": [{"href": "http://localhost:8777/v2/resources/6b9765e2-9138-4468-a60c-4e9f63044d9d", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=6b9765e2-9138-4468-a60c-4e9f63044d9d", "rel": "port.create"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=6b9765e2-9138-4468-a60c-4e9f63044d9d", "rel": "port"}], "resource_id": "6b9765e2-9138-4468-a60c-4e9f63044d9d"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"state_description": "", "event_type": "compute.instance.exists", "availability_zone": "nova", "ephemeral_gb": "0", "instance_type_id": "6", "deleted_at": "", "reservation_id": "r-zyyri69c", "instance_id": "6d254988-1431-49d7-9491-e7c27d0bd6cb", "user_id": "2b8fbe55863d4dfab5310796202b2019", "hostname": "foo-6d254988-1431-49d7-9491-e7c27d0bd6cb", "state": "stopped", "launched_at": "2013-08-05T05:17:46.000000", "node": "openstack", "ramdisk_id": "b23fbced-b272-41a6-8f48-be76b586bd00", "access_ip_v6": "None", "disk_gb": "0", "access_ip_v4": "None", "kernel_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "host": "compute.openstack", "display_name": "foo-6d254988-1431-49d7-9491-e7c27d0bd6cb", "image_ref_url": "http://10.0.2.15:9292/images/e58bf75a-35e9-4709-9eab-885438f36a34", "audit_period_beginning": "2013-08-12 03:00:00", "root_gb": "0", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-05T05:17:36.000000", "memory_mb": "64", "instance_type": "m1.nano", "vcpus": "1", "architecture": "None", "audit_period_ending": "2013-08-12 04:00:00", "os_type": "None"}, "links": [{"href": "http://localhost:8777/v2/resources/6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/memory?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "memory"}, {"href": "http://localhost:8777/v2/meters/disk.ephemeral.size?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "disk.ephemeral.size"}, {"href": "http://localhost:8777/v2/meters/instance?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "instance"}, {"href": "http://localhost:8777/v2/meters/instance:m1.nano?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "instance:m1.nano"}, {"href": "http://localhost:8777/v2/meters/vcpus?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "vcpus"}, {"href": "http://localhost:8777/v2/meters/disk.root.size?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "disk.root.size"}, {"href": "http://localhost:8777/v2/meters/instance.scheduled?q.field=resource_id&q.value=6d254988-1431-49d7-9491-e7c27d0bd6cb", "rel": "instance.scheduled"}], "resource_id": "6d254988-1431-49d7-9491-e7c27d0bd6cb"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"status": "ACTIVE", "name": "two", "admin_state_up": "True", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "shared": "False", "id": "79b5e163-496c-4ab6-9c21-3b597ed632dc", "event_type": "network.create.end"}, "links": [{"href": "http://localhost:8777/v2/resources/79b5e163-496c-4ab6-9c21-3b597ed632dc", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/network?q.field=resource_id&q.value=79b5e163-496c-4ab6-9c21-3b597ed632dc", "rel": "network"}, {"href": "http://localhost:8777/v2/meters/network.create?q.field=resource_id&q.value=79b5e163-496c-4ab6-9c21-3b597ed632dc", "rel": "network.create"}], "resource_id": "79b5e163-496c-4ab6-9c21-3b597ed632dc"}, {"project_id": "0c5a6b84fd2a43999c8820060c57da30", "user_id": null, "metadata": {"status": "active", "name": "cirros-0.3.1-x86_64-uec-kernel", "deleted": "False", "container_format": "aki", "created_at": "2013-08-04T22:53:46", "disk_format": "aki", "updated_at": "2013-08-04T22:53:46", "protected": "False", "checksum": "c352f4e7121c6eae958bc1570324f17e", "min_disk": "0", "is_public": "True", "deleted_at": "None", "min_ram": "0", "size": "4955792"}, "links": [{"href": "http://localhost:8777/v2/resources/7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/image?q.field=resource_id&q.value=7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "rel": "image"}, {"href": "http://localhost:8777/v2/meters/image.size?q.field=resource_id&q.value=7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "rel": "image.size"}, {"href": "http://localhost:8777/v2/meters/image.download?q.field=resource_id&q.value=7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "rel": "image.download"}, {"href": "http://localhost:8777/v2/meters/image.serve?q.field=resource_id&q.value=7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "rel": "image.serve"}], "resource_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017"}, {"project_id": "7ec5ec9750414a4c8e767e16e1b6c9cf", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/7ec5ec9750414a4c8e767e16e1b6c9cf", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=7ec5ec9750414a4c8e767e16e1b6c9cf", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=7ec5ec9750414a4c8e767e16e1b6c9cf", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=7ec5ec9750414a4c8e767e16e1b6c9cf", "rel": "storage.objects.size"}], "resource_id": "7ec5ec9750414a4c8e767e16e1b6c9cf"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/931dc699f9934021bb4a2b1088ba4d3b", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=931dc699f9934021bb4a2b1088ba4d3b", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=931dc699f9934021bb4a2b1088ba4d3b", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=931dc699f9934021bb4a2b1088ba4d3b", "rel": "storage.objects.size"}], "resource_id": "931dc699f9934021bb4a2b1088ba4d3b"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"name": "two", "enable_dhcp": "True", "network_id": "79b5e163-496c-4ab6-9c21-3b597ed632dc", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "gateway_ip": "192.168.0.1", "ip_version": "4", "cidr": "192.168.0.0/24", "id": "a2777ed6-7442-42b8-bb86-5b554aad7f08", "event_type": "subnet.create.end"}, "links": [{"href": "http://localhost:8777/v2/resources/a2777ed6-7442-42b8-bb86-5b554aad7f08", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/subnet?q.field=resource_id&q.value=a2777ed6-7442-42b8-bb86-5b554aad7f08", "rel": "subnet"}, {"href": "http://localhost:8777/v2/meters/subnet.create?q.field=resource_id&q.value=a2777ed6-7442-42b8-bb86-5b554aad7f08", "rel": "subnet.create"}], "resource_id": "a2777ed6-7442-42b8-bb86-5b554aad7f08"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"status": "available", "display_name": "tests", "event_type": "volume.create.end", "availability_zone": "nova", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-05 03:50:03", "volume_id": "a5696083-56d2-4e25-a0cb-2b51bd2ca90d", "volume_type": "2fbf14d8-e544-487e-aba7-98c1ebba8fcd", "host": "volume.openstack", "snapshot_id": "None", "user_id": "2b8fbe55863d4dfab5310796202b2019", "launched_at": "", "size": "1"}, "links": [{"href": "http://localhost:8777/v2/resources/a5696083-56d2-4e25-a0cb-2b51bd2ca90d", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/volume?q.field=resource_id&q.value=a5696083-56d2-4e25-a0cb-2b51bd2ca90d", "rel": "volume"}, {"href": "http://localhost:8777/v2/meters/volume.size?q.field=resource_id&q.value=a5696083-56d2-4e25-a0cb-2b51bd2ca90d", "rel": "volume.size"}], "resource_id": "a5696083-56d2-4e25-a0cb-2b51bd2ca90d"}, {"project_id": "0c5a6b84fd2a43999c8820060c57da30", "user_id": null, "metadata": {"status": "active", "name": "cirros-0.3.1-x86_64-uec-ramdisk", "deleted": "False", "container_format": "ari", "created_at": "2013-08-04T22:53:46", "disk_format": "ari", "updated_at": "2013-08-04T22:53:47", "protected": "False", "checksum": "69c33642f44ca552ba4bb8b66ad97e85", "min_disk": "0", "is_public": "True", "deleted_at": "None", "min_ram": "0", "size": "3714968"}, "links": [{"href": "http://localhost:8777/v2/resources/b23fbced-b272-41a6-8f48-be76b586bd00", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/image?q.field=resource_id&q.value=b23fbced-b272-41a6-8f48-be76b586bd00", "rel": "image"}, {"href": "http://localhost:8777/v2/meters/image.size?q.field=resource_id&q.value=b23fbced-b272-41a6-8f48-be76b586bd00", "rel": "image.size"}, {"href": "http://localhost:8777/v2/meters/image.download?q.field=resource_id&q.value=b23fbced-b272-41a6-8f48-be76b586bd00", "rel": "image.download"}, {"href": "http://localhost:8777/v2/meters/image.serve?q.field=resource_id&q.value=b23fbced-b272-41a6-8f48-be76b586bd00", "rel": "image.serve"}], "resource_id": "b23fbced-b272-41a6-8f48-be76b586bd00"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "9692a61b44f246259af534f0b1d95942", "metadata": {"status": "DOWN", "binding:host_id": "openstack", "name": "", "admin_state_up": "True", "network_id": "79b5e163-496c-4ab6-9c21-3b597ed632dc", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "host": "network.openstack", "binding:vif_type": "ovs", "device_owner": "compute:None", "mac_address": "fa:16:3e:a6:d8:57", "event_type": "port.create.end", "id": "b35709ef-6b3a-42d7-bd57-ef4cd673ec9b", "device_id": "0a16330b-d457-425d-8249-a275fab9adea"}, "links": [{"href": "http://localhost:8777/v2/resources/b35709ef-6b3a-42d7-bd57-ef4cd673ec9b", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/port?q.field=resource_id&q.value=b35709ef-6b3a-42d7-bd57-ef4cd673ec9b", "rel": "port"}, {"href": "http://localhost:8777/v2/meters/port.create?q.field=resource_id&q.value=b35709ef-6b3a-42d7-bd57-ef4cd673ec9b", "rel": "port.create"}], "resource_id": "b35709ef-6b3a-42d7-bd57-ef4cd673ec9b"}, {"project_id": "931dc699f9934021bb4a2b1088ba4d3b", "user_id": "2b8fbe55863d4dfab5310796202b2019", "metadata": {"state_description": "", "event_type": "compute.instance.exists", "availability_zone": "nova", "ephemeral_gb": "0", "instance_type_id": "6", "deleted_at": "", "reservation_id": "r-zyyri69c", "instance_id": "c01c63fe-7a29-4426-bab1-34d088e92415", "user_id": "2b8fbe55863d4dfab5310796202b2019", "hostname": "foo-c01c63fe-7a29-4426-bab1-34d088e92415", "state": "active", "launched_at": "2013-08-05T05:17:46.000000", "node": "openstack", "ramdisk_id": "b23fbced-b272-41a6-8f48-be76b586bd00", "access_ip_v6": "None", "disk_gb": "0", "access_ip_v4": "None", "kernel_id": "7cbf09f5-43ae-4d94-a1e7-47e95fd27017", "host": "compute.openstack", "display_name": "foo-c01c63fe-7a29-4426-bab1-34d088e92415", "image_ref_url": "http://10.0.2.15:9292/images/e58bf75a-35e9-4709-9eab-885438f36a34", "audit_period_beginning": "2013-08-12 03:00:00", "root_gb": "0", "tenant_id": "931dc699f9934021bb4a2b1088ba4d3b", "created_at": "2013-08-05T05:17:36.000000", "memory_mb": "64", "instance_type": "m1.nano", "vcpus": "1", "architecture": "None", "audit_period_ending": "2013-08-12 04:00:00", "os_type": "None"}, "links": [{"href": "http://localhost:8777/v2/resources/c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/memory?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "memory"}, {"href": "http://localhost:8777/v2/meters/disk.ephemeral.size?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "disk.ephemeral.size"}, {"href": "http://localhost:8777/v2/meters/instance?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "instance"}, {"href": "http://localhost:8777/v2/meters/instance:m1.nano?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "instance:m1.nano"}, {"href": "http://localhost:8777/v2/meters/vcpus?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "vcpus"}, {"href": "http://localhost:8777/v2/meters/disk.root.size?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "disk.root.size"}, {"href": "http://localhost:8777/v2/meters/instance.scheduled?q.field=resource_id&q.value=c01c63fe-7a29-4426-bab1-34d088e92415", "rel": "instance.scheduled"}], "resource_id": "c01c63fe-7a29-4426-bab1-34d088e92415"}, {"project_id": "0c5a6b84fd2a43999c8820060c57da30", "user_id": null, "metadata": {"status": "active", "name": "cirros-0.3.1-x86_64-uec", "deleted": "False", "container_format": "ami", "created_at": "2013-08-04T22:53:47", "disk_format": "ami", "updated_at": "2013-08-04T22:53:48", "protected": "False", "checksum": "f8a2eeee2dc65b3d9b6e63678955bd83", "min_disk": "0", "is_public": "True", "deleted_at": "None", "min_ram": "0", "size": "25165824"}, "links": [{"href": "http://localhost:8777/v2/resources/e58bf75a-35e9-4709-9eab-885438f36a34", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/image?q.field=resource_id&q.value=e58bf75a-35e9-4709-9eab-885438f36a34", "rel": "image"}, {"href": "http://localhost:8777/v2/meters/image.size?q.field=resource_id&q.value=e58bf75a-35e9-4709-9eab-885438f36a34", "rel": "image.size"}, {"href": "http://localhost:8777/v2/meters/image.download?q.field=resource_id&q.value=e58bf75a-35e9-4709-9eab-885438f36a34", "rel": "image.download"}, {"href": "http://localhost:8777/v2/meters/image.serve?q.field=resource_id&q.value=e58bf75a-35e9-4709-9eab-885438f36a34", "rel": "image.serve"}], "resource_id": "e58bf75a-35e9-4709-9eab-885438f36a34"}, {"project_id": "e88ef09124594ede8ecea0b1628a05bf", "user_id": null, "metadata": {}, "links": [{"href": "http://localhost:8777/v2/resources/e88ef09124594ede8ecea0b1628a05bf", "rel": "self"}, {"href": "http://localhost:8777/v2/meters/storage.objects?q.field=resource_id&q.value=e88ef09124594ede8ecea0b1628a05bf", "rel": "storage.objects"}, {"href": "http://localhost:8777/v2/meters/storage.objects.containers?q.field=resource_id&q.value=e88ef09124594ede8ecea0b1628a05bf", "rel": "storage.objects.containers"}, {"href": "http://localhost:8777/v2/meters/storage.objects.size?q.field=resource_id&q.value=e88ef09124594ede8ecea0b1628a05bf", "rel": "storage.objects.size"}], "resource_id": "e88ef09124594ede8ecea0b1628a05bf"}]