Commit Graph

24 Commits

Author SHA1 Message Date
David Swift
dc65a481c1 This sets up some groundwork to send additional parameters to cloudapi.
This branch by itself does not break anything.  But, if you want breakage,
pull https://github.com/pccowboy/sdc-cloudapi, branch delegate_dataset.
2016-08-26 21:14:23 +00:00
Trent Mick
0932365d46 joyent/node-triton#120 Ensure 'triton inst ls' only requires ListMachines RBAC access 2016-06-08 14:44:46 -07:00
Trent Mick
fabe0a0841 joyent/node-triton#113 error help for usage errors
This builds on cmdln 4.x's "errHelp" facilities.
2016-06-08 14:13:21 -07:00
Trent Mick
de391bf013 tweak 'triton create -h' output to help clarify/group related create options 2016-04-12 10:31:07 -07:00
Trent Mick
e068c7abcf joyent/node-triton#82 locality flag/property at creation (far/near as in sdc-createmachine)
a.k.a. "Affinity", `triton create -a,--affinity RULE ...`
2016-04-11 17:04:52 -07:00
Trent Mick
e1c977e623 Drop the '-M' option from 'triton ssh' added recently for #52.
A better alternative now is 'ssh $(triton ip <inst>)'.
2016-03-11 15:24:40 -08:00
Trent Mick
1e2b19c0e6 joyent/node-triton#103 triton ip <inst> to output the instance's primaryIp 2016-03-11 15:21:19 -08:00
Trent Mick
4f778f696e joyent/node-triton#52 Fix interactive 'triton ssh <inst>' sessions; add workaround for #52 2016-03-11 14:58:27 -08: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
Trent Mick
e3b5e6b016 joyent/node-triton#101 Bash completion for server-side data: instances, images, etc. 2016-03-09 09:22:33 -08:00
Marsell Kukuljevic
7d635fc81c PUBAPI-1268 - remove spinner (-ww) from snapshot create/delete. 2016-03-08 23:09:29 +11:00
Trent Mick
88c52d1610 node-triton#98 triton inst get ID fails obtusely on a destroyed instance 2016-03-02 00:05:06 -08:00
Trent Mick
1d0bafcc5e slightly improved bash complete install notes; fix 'make check' 2016-03-01 23:02:40 -08: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
a1df6e0fe7 node-triton#52 Fix 'triton ssh ...' stdout/stderr to fully flush with node >= 4.x
Fixes #52
2016-02-26 15:28:33 -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
da9e80d94e Don't state that 'triton inst list' can filter by tags, it can't yet. That is #74. 2016-02-03 11:57:07 -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
01dc55e93f joyent/node-triton#73 triton instance list --credentials to include "metadata.credentials" in instance listing 2016-01-14 09:22:39 -08:00
Trent Mick
545d0a3a65 joyent/node-triton#35 More easily distinguish KVM and LX and Docker images and instances
Also support filtering insts on docker=true.
2016-01-13 12:18:05 -08:00
Trent Mick
3f427adff1 clistyle: updated bash completion (much improved, fixes limitation that subsubcmds weren't supported) 2016-01-09 16:55:12 -08:00
Trent Mick
d2c20a5161 clistyle: rest of 'triton instance ...' 2016-01-04 13:08:16 -08:00
Trent Mick
e21635eaa3 clistyle: part of 'triton instance ...' 2016-01-04 10:46:56 -08:00