UNPKG

do-node-balancer

Version:
492 lines (476 loc) 9.22 kB
{ "good_1_droplet": { "droplets": [{ "id": 3164444, "name": "example.com", "memory": 512, "vcpus": 1, "disk": 20, "locked": false, "status": "active", "kernel": { "id": 2233, "name": "Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic", "version": "3.13.0-37-generic" }, "created_at": "2014-11-14T16:29:21Z", "features": [ "backups", "ipv6", "virtio" ], "backup_ids": [ 7938002 ], "snapshot_ids": [ ], "image": { "id": 6918990, "name": "14.04 x64", "distribution": "Ubuntu", "slug": "ubuntu-14-04-x64", "public": true, "regions": [ "nyc1", "ams1", "sfo1", "nyc2", "ams2", "sgp1", "lon1", "nyc3", "ams3", "nyc3" ], "created_at": "2014-10-17T20:24:33Z", "type": "snapshot", "min_disk_size": 20, "size_gigabytes": 2.34 }, "volume_ids": [ ], "size": {}, "size_slug": "512mb", "networks": { "v4": [{ "ip_address": "104.236.32.182", "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] }, "region": { "name": "New York 3", "slug": "nyc3", "sizes": [ ], "features": [ "virtio", "private_networking", "backups", "ipv6", "metadata" ], "available": null }, "tags": [ "awesome" ] }], "links": { "pages": { "last": "https://api.digitalocean.com/v2/droplets?page=3&per_page=1", "next": "https://api.digitalocean.com/v2/droplets?page=2&per_page=1" } }, "meta": { "total": 3 } }, "good_3_droplets": { "droplets": [{ "id": 3164444, "name": "example.com", "memory": 512, "vcpus": 1, "disk": 20, "locked": false, "status": "active", "kernel": { "id": 2233, "name": "Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic", "version": "3.13.0-37-generic" }, "created_at": "2014-11-14T16:29:21Z", "features": [ "backups", "ipv6", "virtio" ], "backup_ids": [ 7938002 ], "snapshot_ids": [ ], "image": { "id": 6918990, "name": "14.04 x64", "distribution": "Ubuntu", "slug": "ubuntu-14-04-x64", "public": true, "regions": [ "nyc1", "ams1", "sfo1", "nyc2", "ams2", "sgp1", "lon1", "nyc3", "ams3", "nyc3" ], "created_at": "2014-10-17T20:24:33Z", "type": "snapshot", "min_disk_size": 20, "size_gigabytes": 2.34 }, "volume_ids": [ ], "size": {}, "size_slug": "512mb", "networks": { "v4": [{ "ip_address": "104.236.32.182", "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] }, "region": { "name": "New York 3", "slug": "nyc3", "sizes": [ ], "features": [ "virtio", "private_networking", "backups", "ipv6", "metadata" ], "available": null }, "tags": [ "awesome" ] }, { "id": 3164444, "name": "example.com", "memory": 512, "vcpus": 1, "disk": 20, "locked": false, "status": "active", "kernel": { "id": 2233, "name": "Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic", "version": "3.13.0-37-generic" }, "created_at": "2014-11-14T16:29:21Z", "features": [ "backups", "ipv6", "virtio" ], "backup_ids": [ 7938002 ], "snapshot_ids": [ ], "image": { "id": 6918990, "name": "14.04 x64", "distribution": "Ubuntu", "slug": "ubuntu-14-04-x64", "public": true, "regions": [ "nyc1", "ams1", "sfo1", "nyc2", "ams2", "sgp1", "lon1", "nyc3", "ams3", "nyc3" ], "created_at": "2014-10-17T20:24:33Z", "type": "snapshot", "min_disk_size": 20, "size_gigabytes": 2.34 }, "volume_ids": [ ], "size": {}, "size_slug": "512mb", "networks": { "v4": [{ "ip_address": "104.236.32.183", "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] }, "region": { "name": "New York 3", "slug": "nyc3", "sizes": [ ], "features": [ "virtio", "private_networking", "backups", "ipv6", "metadata" ], "available": null }, "tags": [ "awesome" ] }, { "id": 3164444, "name": "example.com", "memory": 512, "vcpus": 1, "disk": 20, "locked": false, "status": "active", "kernel": { "id": 2233, "name": "Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic", "version": "3.13.0-37-generic" }, "created_at": "2014-11-14T16:29:21Z", "features": [ "backups", "ipv6", "virtio" ], "backup_ids": [ 7938002 ], "snapshot_ids": [ ], "image": { "id": 6918990, "name": "14.04 x64", "distribution": "Ubuntu", "slug": "ubuntu-14-04-x64", "public": true, "regions": [ "nyc1", "ams1", "sfo1", "nyc2", "ams2", "sgp1", "lon1", "nyc3", "ams3", "nyc3" ], "created_at": "2014-10-17T20:24:33Z", "type": "snapshot", "min_disk_size": 20, "size_gigabytes": 2.34 }, "volume_ids": [ ], "size": {}, "size_slug": "512mb", "networks": { "v4": [{ "ip_address": "104.236.32.184", "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] }, "region": { "name": "New York 3", "slug": "nyc3", "sizes": [ ], "features": [ "virtio", "private_networking", "backups", "ipv6", "metadata" ], "available": null }, "tags": [ "awesome" ] } ], "links": { "pages": { "last": "https://api.digitalocean.com/v2/droplets?page=3&per_page=1", "next": "https://api.digitalocean.com/v2/droplets?page=2&per_page=1" } }, "meta": { "total": 3 } }, "bad_0_droplets": { "droplets": [], "links": { "pages": { "last": "https://api.digitalocean.com/v2/droplets?page=3&per_page=1", "next": "https://api.digitalocean.com/v2/droplets?page=2&per_page=1" } }, "meta": { "total": 3 } }, "bad_1_droplet_mssing_ip": { "droplets": [{ "id": 3164444, "name": "example.com", "memory": 512, "vcpus": 1, "disk": 20, "locked": false, "status": "active", "kernel": { "id": 2233, "name": "Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic", "version": "3.13.0-37-generic" }, "created_at": "2014-11-14T16:29:21Z", "features": [ "backups", "ipv6", "virtio" ], "backup_ids": [ 7938002 ], "snapshot_ids": [ ], "image": { "id": 6918990, "name": "14.04 x64", "distribution": "Ubuntu", "slug": "ubuntu-14-04-x64", "public": true, "regions": [ "nyc1", "ams1", "sfo1", "nyc2", "ams2", "sgp1", "lon1", "nyc3", "ams3", "nyc3" ], "created_at": "2014-10-17T20:24:33Z", "type": "snapshot", "min_disk_size": 20, "size_gigabytes": 2.34 }, "volume_ids": [ ], "size": {}, "size_slug": "512mb", "networks": { "v4": [{ "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] }, "region": { "name": "New York 3", "slug": "nyc3", "sizes": [ ], "features": [ "virtio", "private_networking", "backups", "ipv6", "metadata" ], "available": null }, "tags": [ "awesome" ] }], "links": { "pages": { "last": "https://api.digitalocean.com/v2/droplets?page=3&per_page=1", "next": "https://api.digitalocean.com/v2/droplets?page=2&per_page=1" } }, "meta": { "total": 3 } }, "networks": { "v4": [{ "ip_address": "104.236.32.182", "netmask": "255.255.192.0", "gateway": "104.236.0.1", "type": "public" }], "v6": [{ "ip_address": "2604:A880:0800:0010:0000:0000:02DD:4001", "netmask": 64, "gateway": "2604:A880:0800:0010:0000:0000:0000:0001", "type": "public" }] } }