Commit Graph

422 Commits

Author SHA1 Message Date
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
Trent Mick
d7bf3eced0 4.5.0 2016-02-11 09:56:55 -08:00
Trent Mick
ccef25767b node-triton#88 changelog update, bump minor ver 2016-02-11 09:56:32 -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
5b6980e490 bumpver for subsequent work 2016-02-10 14:45:53 -08:00
Trent Mick
fbee966b01 4.4.4 2016-02-10 14:45:34 -08:00
Trent Mick
c785a430c6 node-triton#90 Update sshpk and smartdc-auth to attempt to deal with multiple package inter-deps 2016-02-10 14:36:45 -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
d89f03083e bumpver for subsequent work 2016-02-02 22:03:47 -08:00
Trent Mick
d00d468f51 4.4.3 2016-02-02 22:03:37 -08:00
Trent Mick
edb28b6791 node-triton#86 "triton profiles" should not require a current profile 2016-02-02 22:03:01 -08:00
Trent Mick
e5c666a509 bumpver for subsequent work 2016-02-02 11:06:05 -08:00
Trent Mick
67c48e0018 4.4.2 2016-02-02 11:05:50 -08:00
Trent Mick
9b6527a5d0 example script using TritonApi to list instances 2016-02-02 10:48:47 -08:00
Trent Mick
59b804fe6c support triton.createClient(...) without requiring a configDir 2016-02-02 10:47:34 -08:00
Trent Mick
e91f8f28da bumpver for subsequent work 2016-01-28 13:45:26 -08:00
Trent Mick
bd3f4068c5 4.4.1 2016-01-28 13:45:16 -08:00
Trent Mick
54923c9ae3 Windows path fixes (should basically run on windows now)
Fixes #83.
2016-01-28 13:41:22 -08:00
Trent Mick
666b541e42 bumpver for subsequent work 2016-01-25 23:48:21 -08:00
Trent Mick
839d7bfc40 4.4.0 2016-01-25 23:48:10 -08:00
Trent Mick
72bb22f07d fix test error if CNS is enabled in the DC 2016-01-25 23:36:05 -08:00
Trent Mick
810f0add56 node-triton#78 'triton image delete IMAGE' 2016-01-25 23:23:36 -08:00
Trent Mick
879e86efa3 node-triton#79 triton instance get NAME doesn't have dns_names CNS field 2016-01-25 16:12:14 -08:00
Trent Mick
b81b9b0e2d PUBAPI-1227: document the inconsistency that ListMachines shows *docker* instances, but ListImages does NOT show docker images 2016-01-25 13:26:57 -08:00