http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/devices-first.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/devices-first.json b/packet/src/test/resources/devices-first.json deleted file mode 100644 index 514c0eb..0000000 --- a/packet/src/test/resources/devices-first.json +++ /dev/null @@ -1,910 +0,0 @@ -{ - "devices": [ - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f31", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f32", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f33", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f34", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f35", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - } - ], - "meta": { - "first": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=1" - }, - "previous": null, - "self": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=1" - }, - "next": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=2" - }, - "last": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=2" - }, - "total": 7 - } -}
http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/devices-last.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/devices-last.json b/packet/src/test/resources/devices-last.json deleted file mode 100644 index 55ef2f0..0000000 --- a/packet/src/test/resources/devices-last.json +++ /dev/null @@ -1,376 +0,0 @@ -{ - "devices": [ - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f36", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - { - "id": "5bd27259-8b71-48f7-879d-c4e695cb2f37", - "short_id": "5bd27259", - "hostname": "andrea-device-livetest", - "description": null, - "state": "active", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.5bd27259", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-18T17:12:29Z", - "updated_at": "2017-01-18T17:16:29Z", - "operating_system": { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3", - "baremetal_hua" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/f82b69d7-8c7e-4a38-9283-ecdbcaba56aa" - }, - { - "href": "/ssh-keys/cf9db551-ec79-4c16-a776-97cdbcb3cec4" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "cbff502b-12ca-4986-b683-2cb4e119ae40", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "147.75.197.54", - "address": "147.75.197.55", - "gateway": "147.75.197.54", - "href": "/ips/cbff502b-12ca-4986-b683-2cb4e119ae40" - }, - { - "id": "d5cec621-18c1-4e02-8f71-8dd46370c3e5", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-18T17:12:30Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/d5cec621-18c1-4e02-8f71-8dd46370c3e5" - }, - { - "id": "6d206311-1f88-454d-9cf2-afca79f51fa3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-18T17:12:30Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "enabled": true, - "assigned_to": { - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/6d206311-1f88-454d-9cf2-afca79f51fa3" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": "soaz0#a=cd", - "href": "/devices/5bd27259-8b71-48f7-879d-c4e695cb2f31" - } - ], - "meta": { - "first": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=1" - }, - "previous": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=1" - }, - "self": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=2" - }, - "next": null, - "last": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54/devices?page=2" - }, - "total": 7 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/devices.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/devices.json b/packet/src/test/resources/devices.json deleted file mode 100644 index b9fbade..0000000 --- a/packet/src/test/resources/devices.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "devices": [ - { - "id": "98e22032-579e-4c04-bb12-05cc6a3864c8", - "short_id": "98e22032", - "hostname": "test", - "description": null, - "state": "provisioning", - "tags": [], - "billing_cycle": "hourly", - "user": "root", - "iqn": "iqn.2017-01.net.packet:device.98e22032", - "locked": false, - "bonding_mode": 5, - "created_at": "2017-01-03T09:47:59Z", - "updated_at": "2017-01-03T09:50:13Z", - "provisioning_percentage": 50, - "operating_system": { - "id": "68bad60d-f5a7-45c2-ad09-573edaad3a3c", - "slug": "centos_7", - "name": "Centos 7", - "distro": "centos", - "version": "7", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - "facility": { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - "project": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "ssh_keys": [ - { - "href": "/ssh-keys/084a5dec-30be-415a-8937-9c615932e459" - }, - { - "href": "/ssh-keys/a8d6cc17-7d9d-4fb9-8190-afdb301b67df" - }, - { - "href": "/ssh-keys/a3d8bebe-574f-427d-80ee-bc2ba17f7074" - }, - { - "href": "/ssh-keys/eacfb002-45e1-4047-a0d5-cd9d8bab19ed" - }, - { - "href": "/ssh-keys/bba63e41-b12c-493a-81d4-e52f50f247ed" - } - ], - "project_lite": { - "href": "/projects/93907f48-adfe-43ed-ad89-0e6e83721a54" - }, - "volumes": [], - "ip_addresses": [ - { - "id": "5d0262c7-1727-411c-94c4-9e6f15490dd3", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-03T09:47:59Z", - "public": true, - "cidr": 31, - "management": true, - "manageable": true, - "assigned_to": { - "href": "/devices/98e22032-579e-4c04-bb12-05cc6a3864c8" - }, - "network": "147.75.106.80", - "address": "147.75.106.81", - "gateway": "147.75.106.80", - "href": "/ips/5d0262c7-1727-411c-94c4-9e6f15490dd3" - }, - { - "id": "f7d0e65c-eb3b-42bd-af9b-ad3a736d8d43", - "address_family": 6, - "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe", - "created_at": "2017-01-03T09:47:59Z", - "public": true, - "cidr": 127, - "management": true, - "manageable": true, - "assigned_to": { - "href": "/devices/98e22032-579e-4c04-bb12-05cc6a3864c8" - }, - "network": "2604:1380:2:9800::", - "address": "2604:1380:2:9800::1", - "gateway": "2604:1380:2:9800::", - "href": "/ips/f7d0e65c-eb3b-42bd-af9b-ad3a736d8d43" - }, - { - "id": "a3d00b4e-d74f-4ac2-8bc9-91065d815b41", - "address_family": 4, - "netmask": "255.255.255.254", - "created_at": "2017-01-03T09:47:59Z", - "public": false, - "cidr": 31, - "management": true, - "manageable": true, - "assigned_to": { - "href": "/devices/98e22032-579e-4c04-bb12-05cc6a3864c8" - }, - "network": "10.99.214.0", - "address": "10.99.214.1", - "gateway": "10.99.214.0", - "href": "/ips/a3d00b4e-d74f-4ac2-8bc9-91065d815b41" - } - ], - "provisioning_events": [ - { - "id": "bd62123b-afed-4e54-b1b9-89e219ba9cf0", - "type": "provisioning.101", - "body": "Provisioning started", - "created_at": "2017-01-03T09:47:59Z", - "relationships": [ - { - "href": "#81909921-255e-413c-883a-c58d14c801ae" - } - ], - "interpolated": "Provisioning started", - "href": "/events/bd62123b-afed-4e54-b1b9-89e219ba9cf0" - }, - { - "id": "14b4a9e6-be90-40ee-be48-b272f855e39c", - "type": "provisioning.102", - "body": "Network configured with addresses 147.75.106.81, 2604:1380:2:9800::1, and 10.99.214.1", - "created_at": "2017-01-03T09:48:46Z", - "relationships": [ - { - "href": "#28588657-b8bf-44a1-98d3-27f8e04b660a" - } - ], - "interpolated": "Network configured with addresses 147.75.106.81, 2604:1380:2:9800::1, and 10.99.214.1", - "href": "/events/14b4a9e6-be90-40ee-be48-b272f855e39c" - }, - { - "id": "57e3cadb-f9aa-4c73-be54-3c83e6cf462e", - "type": "provisioning.103", - "body": "Configuration written, restarting device", - "created_at": "2017-01-03T09:48:57Z", - "relationships": [ - { - "href": "#25a7e807-f4aa-4f36-83cd-8347baeb26bc" - } - ], - "interpolated": "Configuration written, restarting device", - "href": "/events/57e3cadb-f9aa-4c73-be54-3c83e6cf462e" - }, - { - "id": "b8322996-f57e-4c87-96cc-a16f33a0c305", - "type": "provisioning.104", - "body": "Connected to magic install system", - "created_at": "2017-01-03T09:50:13Z", - "relationships": [ - { - "href": "#a4825d20-f7f2-426a-88db-38696bd3dfd6" - } - ], - "interpolated": "Connected to magic install system", - "href": "/events/b8322996-f57e-4c87-96cc-a16f33a0c305" - }, - { - "id": "f00a00a9-7c59-420d-bdcf-2c0993303cf6", - "type": "provisioning.105", - "body": "Server partitions created", - "created_at": "2017-01-03T09:50:13Z", - "relationships": [ - { - "href": "#6140659b-5e3d-4686-be8f-8879b6d3e27f" - } - ], - "interpolated": "Server partitions created", - "href": "/events/f00a00a9-7c59-420d-bdcf-2c0993303cf6" - }, - { - "id": null, - "type": "provisioning.106", - "body": "Operating system packages installed", - "created_at": null, - "relationships": [], - "interpolated": "Operating system packages installed" - }, - { - "id": null, - "type": "provisioning.107", - "body": "Server networking interfaces configured", - "created_at": null, - "relationships": [], - "interpolated": "Server networking interfaces configured" - }, - { - "id": null, - "type": "provisioning.108", - "body": "Cloud-init packages installed and configured", - "created_at": null, - "relationships": [], - "interpolated": "Cloud-init packages installed and configured" - }, - { - "id": null, - "type": "provisioning.109", - "body": "Installation finished, rebooting server", - "created_at": null, - "relationships": [], - "interpolated": "Installation finished, rebooting server" - }, - { - "id": null, - "type": "provisioning.109", - "body": "Installation finished, rebooting server", - "created_at": null, - "relationships": [], - "interpolated": "Installation finished, rebooting server" - } - ], - "plan": { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - "userdata": "", - "root_password": ",q4*a8(eny", - "href": "/devices/98e22032-579e-4c04-bb12-05cc6a3864c8" - } - ] -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/facilities-first.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/facilities-first.json b/packet/src/test/resources/facilities-first.json deleted file mode 100644 index 5decf9a..0000000 --- a/packet/src/test/resources/facilities-first.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "facilities": [ - { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - { - "id": "8e6470b3-b75e-47d1-bb93-45b225750975", - "name": "Amsterdam, NL", - "code": "ams1", - "features": [ - "storage" - ], - "address": null - } - ], - "meta": { - "first": { - "href": "/facilities?page=1" - }, - "previous": null, - "self": { - "href": "/facilities?page=1" - }, - "next": { - "href": "/facilities?page=2" - }, - "last": { - "href": "/facilities?page=2" - }, - "total": 3 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/facilities-last.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/facilities-last.json b/packet/src/test/resources/facilities-last.json deleted file mode 100644 index f5e6d1c..0000000 --- a/packet/src/test/resources/facilities-last.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "facilities": [ - { - "id": "2b70eb8f-fa18-47c0-aba7-222a842362fd", - "name": "Sunnyvale, CA", - "code": "sjc1", - "features": [], - "address": null - } - ], - "meta": { - "first": { - "href": "/facilities?page=1" - }, - "previous": { - "href": "/facilities?page=1" - }, - "self": { - "href": "/facilities?page=2" - }, - "next": null, - "last": { - "href": "/facilities?page=2" - }, - "total": 3 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/facilities.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/facilities.json b/packet/src/test/resources/facilities.json deleted file mode 100644 index ed6ab4f..0000000 --- a/packet/src/test/resources/facilities.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "facilities": [ - { - "id": "e1e9c52e-a0bc-4117-b996-0fc94843ea09", - "name": "Parsippany, NJ", - "code": "ewr1", - "features": [ - "baremetal", - "storage" - ], - "address": null - }, - { - "id": "8e6470b3-b75e-47d1-bb93-45b225750975", - "name": "Amsterdam, NL", - "code": "ams1", - "features": [ - "storage" - ], - "address": null - }, - { - "id": "2b70eb8f-fa18-47c0-aba7-222a842362fd", - "name": "Sunnyvale, CA", - "code": "sjc1", - "features": [], - "address": null - } - ] -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/logback-test.xml ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/logback-test.xml b/packet/src/test/resources/logback-test.xml deleted file mode 100644 index cb55d49..0000000 --- a/packet/src/test/resources/logback-test.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<configuration scan="false"> - <appender name="FILE" class="ch.qos.logback.core.FileAppender"> - <file>target/test-data/jclouds.log</file> - <encoder> - <Pattern>%d %-5p [%c] [%thread] %m%n</Pattern> - </encoder> - </appender> - <appender name="WIREFILE" class="ch.qos.logback.core.FileAppender"> - <file>target/test-data/jclouds-wire.log</file> - <encoder> - <Pattern>%d %-5p [%c] [%thread] %m%n</Pattern> - </encoder> - </appender> - <appender name="COMPUTEFILE" class="ch.qos.logback.core.FileAppender"> - <file>target/jclouds-compute.log</file> - <encoder> - <Pattern>%d %-5p [%c] [%thread] %m%n</Pattern> - </encoder> - </appender> - - <logger name="org.jclouds"> - <level value="DEBUG" /> - <appender-ref ref="FILE" /> - </logger> - <logger name="jclouds.compute"> - <level value="DEBUG" /> - <appender-ref ref="COMPUTEFILE" /> - </logger> - <logger name="jclouds.wire"> - <level value="DEBUG" /> - <appender-ref ref="WIREFILE" /> - </logger> - <logger name="jclouds.headers"> - <level value="DEBUG" /> - <appender-ref ref="WIREFILE" /> - </logger> - - <root> - <level value="INFO" /> - </root> -</configuration> http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/operatingSystems-first.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/operatingSystems-first.json b/packet/src/test/resources/operatingSystems-first.json deleted file mode 100644 index 1438108..0000000 --- a/packet/src/test/resources/operatingSystems-first.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "operating_systems": [ - { - "id": "06e21644-a769-11e6-80f5-76304dec7eb7", - "slug": "alpine_3", - "name": "Alpine 3", - "distro": "alpine", - "version": "3", - "provisionable_on": [] - }, - { - "id": "06e21978-a769-11e6-80f5-76304dec7eb7", - "slug": "centos_6", - "name": "CentOS 6", - "distro": "centos", - "version": "6", - "provisionable_on": [] - }, - { - "id": "68bad60d-f5a7-45c2-ad09-573edaad3a3c", - "slug": "centos_7", - "name": "Centos 7", - "distro": "centos", - "version": "7", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21ce8-a769-11e6-80f5-76304dec7eb7", - "slug": "coreos_alpha", - "name": "CoreOS Alpha", - "distro": "coreos", - "version": "alpha", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "6345f310-0bb0-4b59-b051-954fed05183a", - "slug": "coreos_beta", - "name": "CoreOS Beta", - "distro": "coreos", - "version": "beta", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "d61c3912-8422-4daf-835e-854efa0062e4", - "slug": "coreos_stable", - "name": "CoreOS Stable", - "distro": "coreos", - "version": "stable", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21e78-a769-11e6-80f5-76304dec7eb7", - "slug": "debian_7", - "name": "Debian 7", - "distro": "debian", - "version": "7", - "provisionable_on": [] - } - ], - "meta": { - "first": { - "href": "/operating-systems?page=1" - }, - "previous": null, - "self": { - "href": "/operating-systems?page=1" - }, - "next": { - "href": "/operating-systems?page=2" - }, - "last": { - "href": "/operating-systems?page=2" - }, - "total": 14 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/operatingSystems-last.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/operatingSystems-last.json b/packet/src/test/resources/operatingSystems-last.json deleted file mode 100644 index 2c3c8e3..0000000 --- a/packet/src/test/resources/operatingSystems-last.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "operating_systems": [ - { - "id": "88239019-abc7-41e8-9a4d-cd334da97ff1", - "slug": "debian_8", - "name": "Debian 8", - "distro": "debian", - "version": "8", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21ffe-a769-11e6-80f5-76304dec7eb7", - "slug": "deprovision", - "name": "Deprovision", - "distro": "centos", - "version": "", - "provisionable_on": [] - }, - { - "id": "06e22198-a769-11e6-80f5-76304dec7eb7", - "slug": "freebsd_10_3", - "name": "FreeBSD 10.3", - "distro": "freebsd", - "version": "10.3", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e22328-a769-11e6-80f5-76304dec7eb7", - "slug": "rancher", - "name": "RancherOS", - "distro": "rancher", - "version": "latest", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e224b8-a769-11e6-80f5-76304dec7eb7", - "slug": "ubuntu_14_04", - "name": "Ubuntu 14.04 LTS", - "distro": "ubuntu", - "version": "14.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3" - ] - }, - { - "id": "06e22972-a769-11e6-80f5-76304dec7eb7", - "slug": "windows_2012_rc2", - "name": "Windows 2012 RC2", - "distro": "windows", - "version": "2012 RC2", - "provisionable_on": [ - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - } - ], - "meta": { - "first": { - "href": "/operating-systems?page=1" - }, - "previous": { - "href": "/operating-systems?page=1" - }, - "self": { - "href": "/operating-systems?page=2" - }, - "next": null, - "last": { - "href": "/operating-systems?page=2" - }, - "total": 14 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/operatingSystems.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/operatingSystems.json b/packet/src/test/resources/operatingSystems.json deleted file mode 100644 index 4fd7645..0000000 --- a/packet/src/test/resources/operatingSystems.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "operating_systems": [ - { - "id": "06e21644-a769-11e6-80f5-76304dec7eb7", - "slug": "alpine_3", - "name": "Alpine 3", - "distro": "alpine", - "version": "3", - "provisionable_on": [] - }, - { - "id": "06e21978-a769-11e6-80f5-76304dec7eb7", - "slug": "centos_6", - "name": "CentOS 6", - "distro": "centos", - "version": "6", - "provisionable_on": [] - }, - { - "id": "68bad60d-f5a7-45c2-ad09-573edaad3a3c", - "slug": "centos_7", - "name": "Centos 7", - "distro": "centos", - "version": "7", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21ce8-a769-11e6-80f5-76304dec7eb7", - "slug": "coreos_alpha", - "name": "CoreOS Alpha", - "distro": "coreos", - "version": "alpha", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "6345f310-0bb0-4b59-b051-954fed05183a", - "slug": "coreos_beta", - "name": "CoreOS Beta", - "distro": "coreos", - "version": "beta", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "d61c3912-8422-4daf-835e-854efa0062e4", - "slug": "coreos_stable", - "name": "CoreOS Stable", - "distro": "coreos", - "version": "stable", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21e78-a769-11e6-80f5-76304dec7eb7", - "slug": "debian_7", - "name": "Debian 7", - "distro": "debian", - "version": "7", - "provisionable_on": [] - }, - { - "id": "88239019-abc7-41e8-9a4d-cd334da97ff1", - "slug": "debian_8", - "name": "Debian 8", - "distro": "debian", - "version": "8", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e21ffe-a769-11e6-80f5-76304dec7eb7", - "slug": "deprovision", - "name": "Deprovision", - "distro": "centos", - "version": "", - "provisionable_on": [] - }, - { - "id": "06e22198-a769-11e6-80f5-76304dec7eb7", - "slug": "freebsd_10_3", - "name": "FreeBSD 10.3", - "distro": "freebsd", - "version": "10.3", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e22328-a769-11e6-80f5-76304dec7eb7", - "slug": "rancher", - "name": "RancherOS", - "distro": "rancher", - "version": "latest", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "06e224b8-a769-11e6-80f5-76304dec7eb7", - "slug": "ubuntu_14_04", - "name": "Ubuntu 14.04 LTS", - "distro": "ubuntu", - "version": "14.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - }, - { - "id": "1b9b78e3-de68-466e-ba00-f2123e89c112", - "slug": "ubuntu_16_04", - "name": "Ubuntu 16.04 LTS", - "distro": "ubuntu", - "version": "16.04", - "provisionable_on": [ - "baremetal_0", - "baremetal_1", - "baremetal_2", - "baremetal_2a", - "baremetal_3" - ] - }, - { - "id": "06e22972-a769-11e6-80f5-76304dec7eb7", - "slug": "windows_2012_rc2", - "name": "Windows 2012 RC2", - "distro": "windows", - "version": "2012 RC2", - "provisionable_on": [ - "baremetal_1", - "baremetal_2", - "baremetal_3" - ] - } - ] -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/plans-first.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/plans-first.json b/packet/src/test/resources/plans-first.json deleted file mode 100644 index cbd502a..0000000 --- a/packet/src/test/resources/plans-first.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "plans": [ - { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - { - "id": "6d1f1ffa-7912-4b78-b50d-88cc7c8ab40f", - "slug": "baremetal_1", - "name": "Type 1", - "description": "Our Type 1 configuration is a zippy general use server, with an Intel E3-1240 v3 processor and 32GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel E3-1240 v3" - } - ], - "memory": { - "total": "32GB" - }, - "drives": [ - { - "count": 2, - "size": "120GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.4 - } - }, - { - "id": "a3729923-fdc4-4e85-a972-aafbad3695db", - "slug": "baremetal_2", - "name": "Type 2", - "description": "Our Type 2 configuration is the perfect all purpose virtualization server, with dual E5-2650 v4 processors, 256 GB of DDR4 RAM, and six SSDs totaling 2.8 TB of storage.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Intel Xeon E5-2650 v4 @2.2GHz" - } - ], - "memory": { - "total": "256GB" - }, - "drives": [ - { - "count": 6, - "size": "480GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 1.25 - } - }, - { - "id": "3bc8a214-b807-4058-ad4a-6925f2411155", - "slug": "baremetal_2a", - "name": "Type 2A", - "description": "Our Type 2A configuration is a 96-core dual socket ARM 64 beast based on Cavium ThunderX chips", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Cavium ThunderX CN8890 @2GHz" - } - ], - "memory": { - "total": "128GB" - }, - "drives": [ - { - "count": 1, - "size": "512GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": {} - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.5 - } - } - ], - "meta": { - "first": { - "href": "/plans?page=1" - }, - "previous": null, - "self": { - "href": "/plans?page=1" - }, - "next": { - "href": "/plans?page=2" - }, - "last": { - "href": "/plans?page=2" - }, - "total": 7 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/plans-last.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/plans-last.json b/packet/src/test/resources/plans-last.json deleted file mode 100644 index 04d6aee..0000000 --- a/packet/src/test/resources/plans-last.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "plans": [ - { - "id": "741f3afb-bb2f-4694-93a0-fcbad7cd5e78", - "slug": "baremetal_3", - "name": "Type 3", - "description": "Our Type 3 configuration is a high core, high IO server, with dual Intel E5-2640 v3 processors, 128GB of DDR4 RAM and ultra fast NVME flash drives.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Intel E5-2640 v3" - } - ], - "memory": { - "total": "128GB" - }, - "drives": [ - { - "count": 2, - "size": "120GB", - "type": "SSD" - }, - { - "count": 1, - "size": "1.6TB", - "type": "NVME" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 1.75 - } - }, - { - "id": "87728148-3155-4992-a730-8d1e6aca8a32", - "slug": "storage_1", - "name": "Standard", - "description": "TBD", - "line": "storage", - "specs": {}, - "available_in": [], - "pricing": { - "hour": 0.000104 - } - }, - { - "id": "d6570cfb-38fa-4467-92b3-e45d059bb249", - "slug": "storage_2", - "name": "Performance", - "description": "TBD", - "line": "storage", - "specs": {}, - "available_in": [], - "pricing": { - "hour": 0.000223 - } - } - ], - "meta": { - "first": { - "href": "/plans?page=1" - }, - "previous": { - "href": "/plans?page=1" - }, - "self": { - "href": "/plans?page=2" - }, - "next": null, - "last": { - "href": "/plans?page=2" - }, - "total": 7 - } -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/plans.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/plans.json b/packet/src/test/resources/plans.json deleted file mode 100644 index c3eeedd..0000000 --- a/packet/src/test/resources/plans.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "plans": [ - { - "id": "e69c0169-4726-46ea-98f1-939c9e8a3607", - "slug": "baremetal_0", - "name": "Type 0", - "description": "Our Type 0 configuration is a general use \"cloud killer\" server, with a Intel Atom 2.4Ghz processor and 8GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel Atom C2550 @ 2.4Ghz" - } - ], - "memory": { - "total": "8GB" - }, - "drives": [ - { - "count": 1, - "size": "80GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": false, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.05 - } - }, - { - "id": "6d1f1ffa-7912-4b78-b50d-88cc7c8ab40f", - "slug": "baremetal_1", - "name": "Type 1", - "description": "Our Type 1 configuration is a zippy general use server, with an Intel E3-1240 v3 processor and 32GB of RAM.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 1, - "type": "Intel E3-1240 v3" - } - ], - "memory": { - "total": "32GB" - }, - "drives": [ - { - "count": 2, - "size": "120GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "1Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.4 - } - }, - { - "id": "a3729923-fdc4-4e85-a972-aafbad3695db", - "slug": "baremetal_2", - "name": "Type 2", - "description": "Our Type 2 configuration is the perfect all purpose virtualization server, with dual E5-2650 v4 processors, 256 GB of DDR4 RAM, and six SSDs totaling 2.8 TB of storage.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Intel Xeon E5-2650 v4 @2.2GHz" - } - ], - "memory": { - "total": "256GB" - }, - "drives": [ - { - "count": 6, - "size": "480GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 1.25 - } - }, - { - "id": "3bc8a214-b807-4058-ad4a-6925f2411155", - "slug": "baremetal_2a", - "name": "Type 2A", - "description": "Our Type 2A configuration is a 96-core dual socket ARM 64 beast based on Cavium ThunderX chips", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Cavium ThunderX CN8890 @2GHz" - } - ], - "memory": { - "total": "128GB" - }, - "drives": [ - { - "count": 1, - "size": "512GB", - "type": "SSD" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": {} - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/8ea03255-89f9-4e62-9d3f-8817db82ceed" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 0.5 - } - }, - { - "id": "741f3afb-bb2f-4694-93a0-fcbad7cd5e78", - "slug": "baremetal_3", - "name": "Type 3", - "description": "Our Type 3 configuration is a high core, high IO server, with dual Intel E5-2640 v3 processors, 128GB of DDR4 RAM and ultra fast NVME flash drives.", - "line": "baremetal", - "specs": { - "cpus": [ - { - "count": 2, - "type": "Intel E5-2640 v3" - } - ], - "memory": { - "total": "128GB" - }, - "drives": [ - { - "count": 2, - "size": "120GB", - "type": "SSD" - }, - { - "count": 1, - "size": "1.6TB", - "type": "NVME" - } - ], - "nics": [ - { - "count": 2, - "type": "10Gbps" - } - ], - "features": { - "raid": true, - "txt": true - } - }, - "available_in": [ - { - "href": "/facilities/2b70eb8f-fa18-47c0-aba7-222a842362fd" - }, - { - "href": "/facilities/8e6470b3-b75e-47d1-bb93-45b225750975" - }, - { - "href": "/facilities/e1e9c52e-a0bc-4117-b996-0fc94843ea09" - } - ], - "pricing": { - "hour": 1.75 - } - }, - { - "id": "87728148-3155-4992-a730-8d1e6aca8a32", - "slug": "storage_1", - "name": "Standard", - "description": "TBD", - "line": "storage", - "specs": {}, - "available_in": [], - "pricing": { - "hour": 0.000104 - } - }, - { - "id": "d6570cfb-38fa-4467-92b3-e45d059bb249", - "slug": "storage_2", - "name": "Performance", - "description": "TBD", - "line": "storage", - "specs": {}, - "available_in": [], - "pricing": { - "hour": 0.000223 - } - } - ] -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/power-off.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/power-off.json b/packet/src/test/resources/power-off.json deleted file mode 100644 index 3cdd43f..0000000 --- a/packet/src/test/resources/power-off.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "power_off" -} http://git-wip-us.apache.org/repos/asf/jclouds-labs/blob/cb70f325/packet/src/test/resources/power-on.json ---------------------------------------------------------------------- diff --git a/packet/src/test/resources/power-on.json b/packet/src/test/resources/power-on.json deleted file mode 100644 index a482c1c..0000000 --- a/packet/src/test/resources/power-on.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "power_on" -}
