Commit Graph

395 Commits

Author SHA1 Message Date
David Swift
39ae997cd9 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-05-06 07:07:54 +00:00
Trent Mick
9b099a91e9 bumpver for subsequent work 2016-04-22 13:10:11 -07:00
Trent Mick
85375517cb 4.11.0 2016-04-22 13:09:54 -07:00
Trent Mick
8d8d9ed39f bash completion for 'triton env TAB' 2016-04-22 13:09:35 -07:00
Trent Mick
0a3c48d2ea joyent/node-triton#112 triton completion generation has been broken for a while 2016-04-22 13:06:54 -07:00
Trent Mick
a48d7629dd joyent/node-triton#111 want triton env --unset,-u option emit env to unset relevant envvars 2016-04-22 12:55:32 -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
0c605c95c5 bumpver for subsequent work 2016-04-11 17:06:36 -07:00
Trent Mick
3b8215a8bb 4.10.0 2016-04-11 17:06:22 -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
aeed6d9192 bumpver for subsequent work 2016-03-28 13:14:33 -07:00
Trent Mick
25e74f5c4e joyent/node-triton#46 Triton help for setting up and using Docker against a Triton DC (fix profile create test case) 2016-03-28 13:13:19 -07:00
Trent Mick
e6819a2fe7 4.9.0 2016-03-28 13:02:21 -07:00
Trent Mick
f178d9abce joyent/node-triton#46 Mention the --no-docker option 2016-03-28 13:02:12 -07:00
Trent Mick
d2cc677e46 fix markdown syntax 2016-03-18 16:54:42 -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
5929632e08 some play ideas 2016-03-18 08:51:28 -07:00
Trent Mick
461320de8b bumpver for subsequent work 2016-03-11 15:26:36 -08:00
Trent Mick
9a6937eba8 4.8.0 2016-03-11 15:26:31 -08:00
Trent Mick
2c9c749efc verbump for new feature (triton ip) 2016-03-11 15:26:07 -08: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
Trent Mick
c227e15ae3 Slightly more helpful message when 'triton profile ls' has no results 2016-03-11 10:24:55 -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
e8d1fb578b joyent/node-triton#97 triton profile set - to set the *last* profile as current 2016-03-10 11:42:23 -08:00
Trent Mick
1dc156d87c bumpver for subsequent work 2016-03-09 09:23:48 -08:00
Trent Mick
9ff74ed54b 4.7.0 2016-03-09 09:23:43 -08: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
ba16f0d9ef joyent/node-triton#99 triton profile set ... alias for set-current
Also add 'triton profile set <TAB>' completion.
2016-03-02 22:53:32 -08:00
Trent Mick
f50797b4a4 bumpver for subsequent work 2016-03-02 00:07:22 -08:00
Trent Mick
2e09059945 4.6.0 2016-03-02 00:07:14 -08: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
31ef581980 bumpver for subsequent work 2016-02-15 10:23:18 -08:00
Trent Mick
7a7c8c3044 4.5.2 2016-02-15 10:23:10 -08:00
Trent Mick
99a083e232 changelog for #93 #94 fix 2016-02-15 10:12:10 -08:00
Kris Shannon
bcf55f0a63 node-triton#94 Protect against cache lookup returning null
If the cache file does not exist _cacheGetJson will not pass any value to the callback.

In the getImage function the callback passed to _cacheGetJson assumes if there was no error value then the second argument must be an array.

Add some logic to guard against null values before iterating over the array.
2016-02-15 10:09:04 -08:00
Trent Mick
314a05b082 node-triton#95 Add test case for 'triton img create', changelog update 2016-02-15 10:03:08 -08:00
Kris Shannon
6703363934 node-triton#95 Patch missing rename from 4760defd05
The fix for joyent/node-triton#88 renamed the metadataandtags
function 'tagsFromOpts' to 'tagsFromCreateOpts' but didn't
rename all of it's uses.
2016-02-15 09:28:44 -08:00
Trent Mick
6397c8bade lovely time savings running tests in parallel via 'prove'. Thanks Perl land! 2016-02-12 15:04:41 -08:00
Trent Mick
c8f6c05bf4 bumpver for subsequent work 2016-02-12 11:17:36 -08:00
Trent Mick
3bc04b4c77 4.5.1 2016-02-12 11:17:07 -08:00
Trent Mick
70c7bbd434 node-triton#90 triton CLI should summarize err.body.errors from CloudAPI 2016-02-12 11:09:55 -08:00
Trent Mick
7f24f0235a cutarelease: add date to release tag comment 2016-02-11 21:33:39 -08:00
Trent Mick
cf9258aab7 bumpver for subsequent work 2016-02-11 09:57:00 -08:00