Commit Graph

58 Commits

Author SHA1 Message Date
Trent Mick
ad20360306 joyent/node-triton#120 triton -r,--role ROLE ... to be able to take up an RBAC role 2016-06-07 14:19:06 -07:00
Trent Mick
8cd4dd80eb joyent/node-triton#46 Triton help for setting up and using Docker against a Triton DC
This implements all but step #4 (`triton docker ...`) in the proposal.
2016-03-18 16:51:22 -07:00
Trent Mick
3824623404 PUBAPI-1266: Add instance disable-firewall/enable-firewall to node-triton (CR changes)
- Don't need confirmation/--force for undoable commands
- Drop duration from output message after wait. I don't feel the time
  for this should ever be long enough that the number is interesting
  enough to get top billing.
- If "shouldn't get here", then it should be an assert.
- Use '_' instead of '__' for unused options.
- Drop the res.instId hack. Instead use a partial faux instance
  in place where other endpoints return a machine object.
- Add 'tritoninstance' bash completion.
- Group together with 'fwrules' in 'triton inst' help output.
2016-03-11 11:24:44 -08:00
Marsell Kukuljevic
fb20159053 PUBAPI-1266 - add support for instance (en|dis)able-firewall. 2016-03-12 01:09:26 +11:00
Marsell Kukuljevic
634350018a PUBAPI-1233/PUBAPI-1234 Add firewalls and snapshots to node-triton
triton fwrule ...
triton instance snapshot ...

Reviewed-By: Trent Mick (with some contributions)
2016-03-01 22:38:21 -08:00
Trent Mick
4760defd05 joyent/node-triton#88: triton inst ... support for updating tags 2016-02-11 09:46:43 -08:00
Trent Mick
810f0add56 node-triton#78 'triton image delete IMAGE' 2016-01-25 23:23:36 -08:00
Trent Mick
8d235b8e28 'triton image create' et al
Fixes #76: `triton image create ...` and `triton image wait ...`
Fixes #72: want `triton image` to still return image details even when it is not in 'active' state
2016-01-19 12:30:46 -08:00
Trent Mick
5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -08:00
Trent Mick
a05de11fb3 clistyle: some CR on marsell's commit 1dfac84 2016-01-04 10:46:57 -08:00
Marsell Kukuljevic
96216c6e61 clistyle: add support for account keys, expand subcommand tests,
some trivial bug fixes.
2016-01-04 10:46:24 -08:00
Trent Mick
d25df7c011 Add '-d,--data DATA' option to triton cloudapi ...
Also fix '-H,--header' option to `triton cloudapi`. It never worked.
2015-12-09 12:01:24 -08:00
Trent Mick
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
7c8554bf14 joyent/node-triton#54 'triton rbac apply' 2015-11-18 12:54:44 -08:00
Alex Wilson
00cdb81287 joyent/node-triton#55 PUBAPI-1166 Use http-signature for generating Authorization, not sprintf
Reviewed by: Trent Mick <trent.mick@joyent.com>
2015-11-13 16:46:09 -08:00
Trent Mick
cd611dafde joyent/node-triton#54 'triton rbac role-tags' and refactoring to make adding other *-role-tags easy 2015-11-12 16:04:12 -08:00
Trent Mick
4e45e4061f joyent/node-triton#54 a start at 'triton rbac info', add 'triton rbac instance-role-tags' 2015-11-09 15:09:37 -08:00
Trent Mick
dd0a70820b joyent/node-triton#54 first pass at 'triton rbac key' and 'triton rbac keys' 2015-11-05 15:13:14 -08:00
Trent Mick
c7daecc6f3 joyent/node-triton#54 first pass at 'triton rbac policy' and 'triton rbac policies' 2015-11-05 12:30:06 -08:00
Trent Mick
dd95ab5f4a joyent/node-triton#54 first pass at 'triton rbac role' and 'triton rbac roles' 2015-11-04 15:38:38 -08:00
Trent Mick
1652662e2c joyent/node-triton#54 Complete first pass at 'triton rbac user' and 'triton rbac users' 2015-11-04 00:11:19 -08:00
Trent Mick
8a46d23268 joyent/node-triton#54 A start at RBAC support (still very early) 2015-11-03 15:40:59 -08:00
Trent Mick
f7d9dc0ba2 joyent/node-triton#40 Divorce wanted between profile keyId and keyId actually sent to server
fixes #40
2015-10-07 15:49:49 -07:00
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