Commit Graph

35 Commits

Author SHA1 Message Date
Dave Eddy
e7109071de cloudapi and tritonapi exports should match 2015-09-29 18:13:34 -04:00
Trent Mick
b238fcf52f improve on a DEPTH_ZERO_SELF_SIGNED_CERT error
from:
    triton account: error: DEPTH_ZERO_SELF_SIGNED_CERT
to this:
    triton account: error (SelfSignedCert): could not access CloudAPI https://10.88.88.3 because it uses a self-signed TLS certificate and your current profile is not configured for insecure access: DEPTH_ZERO_SELF_SIGNED_CERT
2015-09-23 21:10:52 -07:00
Trent Mick
ee07395eae joyent/node-triton#30 triton commands blow up obtusely if getting HTML content back from cloudapi endpoints
Fixes #30
2015-09-23 12:32:09 -07:00
Trent Mick
c93b08dd68 joyent/node-triton#26 triton command crashes with self-signed cert
Refactor do_instances to not call `callback` twice. Also don't assume
if a `res` on an error callback from CloudApi._request.

Fixes #26.
2015-09-21 10:33:42 -07:00
Dave Eddy
9d314def3d add basic instance-audit support 2015-09-08 12:41:31 -04:00
Dave Eddy
bdc3ea6651 mpl and copyright 2015-09-04 14:12:20 -04:00
Dave Eddy
0fee17fda0 getting ready for OSS
- s/triton/tritonapi/
- s/Triton/TritonApi/
- s/CloudAPI/CloudApi/
2015-09-04 14:05:36 -04:00
Dave Eddy
804fe155b9 sprintf was a lie - use format everywhere 2015-09-03 00:02:40 -04:00
Dave Eddy
716976efa8 pass create data in post body 2015-09-03 00:02:09 -04:00
Trent Mick
018c46ef43 'make check' clean 2015-09-02 10:47:06 -07:00
Dave Eddy
ae8a19d568 quick jsstyle cleanup 2015-09-01 15:03:52 -04:00
Trent Mick
9241f90ccf 'make check-jsl' clean 2015-09-01 10:44:34 -07:00
Dave Eddy
5b60fffc04 whoops 2015-08-26 20:08:52 -04:00
Dave Eddy
0ccda0af10 add listDatacenters 2015-08-26 19:59:28 -04:00
Dave Eddy
769e9bbe2b listServices 2015-08-26 19:56:18 -04:00
Dave Eddy
83b1cf188f do_network 2015-08-26 17:09:50 -04:00
Dave Eddy
ffb0a935a3 use wrapper functions 2015-08-26 16:44:11 -04:00
Dave Eddy
d2ce855a69 do_networks 2015-08-26 16:40:50 -04:00
Dave Eddy
b0b9eb9249 add delete 2015-08-26 01:25:26 -04:00
Dave Eddy
b2105ca41f add triton keys 2015-08-26 00:40:32 -04:00
Dave Eddy
6bd918eb81 do_info 2015-08-26 00:16:41 -04:00
Trent Mick
0d4e93208c first pass at 'triton create' 2015-08-25 20:53:53 -07:00
Dave Eddy
15ca8ecc32 add triton account and touch up instance 2015-08-25 23:44:08 -04:00
Dave Eddy
463be10e2d add start/stop/restart and waitForMachineState 2015-08-25 21:46:14 -04:00
Dave Eddy
02305407a8 add start, stop, reboot 2015-08-25 21:09:32 -04:00
Dave Eddy
b5f9cbe054 add instance (alias and uuid) 2015-08-25 20:27:46 -04:00
Dave Eddy
eaf93e619b triton instances 2015-08-25 19:46:14 -04:00
Trent Mick
e01babc05e a quick 'triton package ID'; make 'cloudapi' command hidden from help output 2015-08-25 16:12:35 -07:00
Trent Mick
0987881887 'triton image ID', update TODO.txt 2015-08-25 15:47:29 -07:00
Dave Eddy
7afaadbd29 add packages, remove tabulate, put stuff in common 2015-08-25 18:30:25 -04:00
Trent Mick
6b3ea63571 triton images 2015-08-25 14:25:30 -07:00
Trent Mick
d694f0ba19 wire up Triton class and cloudapi client 2015-08-25 13:11:40 -07:00
Trent Mick
dfca3e0ace unfinished and broken work :) 2015-07-25 22:47:45 -07:00
Lloyd Dewolf
1882dbf18e joyentcloud.com is deprecated, use joyent.com.
- JPC-1754.
2015-05-18 14:07:45 -07:00
Trent Mick
8cb5138f9e switch over to cloudapi2 (drop node-smartdc piggybacking); prefer 'user' to 'account' in APIs (a la node-manta) 2014-02-19 19:52:58 -08:00