Commit Graph

63 Commits

Author SHA1 Message Date
Mike Zeller
96a5be8ce7 TRITON-301 TRITON-58 created a circular import dep between lib/cloudapi2.js and lib/common.js
Reviewed by: Trent Mick <trentm@gmail.com>
Reviewed by: Dave Eddy <dave.eddy@joyent.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-04-03 14:55:51 -07:00
Dave Eddy
06812c9cd4 TRITON-42 node-triton should support nics when creating an instance
Reviewed by: Michael Zeller <mike.zeller@joyent.com>
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-03-19 18:41:32 -04:00
Mike Zeller
bf64899685 TRITON-58 node-triton should support nic operations
Reviewed by: Marsell Kukuljevic <marsell@joyent.com>
Approved by: Marsell Kukuljevic <marsell@joyent.com>
2018-03-05 14:04:47 -08:00
Dave Eddy
225410b4fc TRITON-24 node-triton ListNetworkIPs has unordered results
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-12-22 18:38:33 -05:00
Dave Eddy
ab564177b5 TRITON-30 Add UpdateNetworkIP to node-triton
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-12-22 17:49:52 -05:00
Trent Mick
69a4598458 joyent/node-triton#74 triton instance list filtering on tags
Reviewed by: Josh Wilsdon <josh@wilsdon.ca>
Approved by: Josh Wilsdon <josh@wilsdon.ca>
2017-09-29 12:12:53 -07:00
Julien Gilli
dc1b6c75b7 joyent/node-triton#173 Add support for listing and getting triton nfs volumes
joyent/node-triton#174 Add support for creating triton nfs volumes
joyent/node-triton#175 Add support for deleting triton NFS volumes
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-07-20 23:48:27 +00:00
Trent Mick
a3071585aa joyent/node-triton#148 triton profile edit failes if EDITOR contains a space 2017-02-28 15:48:10 -08:00
Trent Mick
d14ac041f4 joyent/node-triton#183 triton profile create should not use ANSI code styling if stdout isn't a TTY
Reviewed by: Orlando Vazquez <orlando@joyent.com>
Approved by: Orlando Vazquez <orlando@joyent.com>
2017-02-24 13:13:27 -08:00
Trent Mick
86c689e809 joyent/node-triton#179 proposed UX tweaks to interactive triton profile create
Reviewed by: Todd Whiteman <todd.whiteman@joyent.com>
Approved by: Todd Whiteman <todd.whiteman@joyent.com>
2017-02-20 15:46:08 -08:00
Chris Burroughs
ad7d608011 joyent/node-triton#108 support passphrase protected keys
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
2016-12-13 19:01:32 +00:00
Trent Mick
152d12767c joyent/node-triton#147 4.15.0 2016-11-24 19:32:43 +00:00
Trent Mick
246810e342 TOOLS-1587 'triton profile docker-setup' fails when path to 'docker' has spaces
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Reviewed by: Orlando Vazquez <orlando@joyent.com>
Approved by: Orlando Vazquez <orlando@joyent.com>
2016-10-26 11:11:27 -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
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
54923c9ae3 Windows path fixes (should basically run on windows now)
Fixes #83.
2016-01-28 13:41:22 -08:00
Trent Mick
989a43f367 bash completion for 'triton account update <TAB>' 2016-01-18 11:58:01 -08:00
Trent Mick
5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -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
82443e2d67 joyent/node-triton#54 'triton rbac apply --dev-create-keys-and-profiles' 2015-11-23 16:57:58 -08:00
Trent Mick
6918fb93f7 joyent/node-triton#54 'triton rbac reset', 'triton [rbac] keys' default output changes, 'triton rbac apply' implicit usage of './rbac-user-keys' dir, drop shortIds for 'triton rbac ...' 2015-11-21 12:41:16 -08:00
Trent Mick
7c8554bf14 joyent/node-triton#54 'triton rbac apply' 2015-11-18 12:54:44 -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
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
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
59c41886d1 minor command help tweaks 2015-10-19 09:03:39 -07:00
Trent Mick
daecb2979b export 'promptField', broken by refactor before commit 2015-09-28 12:24:50 -07:00
Trent Mick
aeebcf19f0 'triton profile -a' from stdin, JSON file or interactively 2015-09-28 12:20:21 -07:00
Trent Mick
bf21ac467a 'triton profile{,s}' all except 'triton profile -a' 2015-09-25 12:19:29 -07:00
Dave Eddy
b4900ea626 remove UUID_RE in favor of isUUID 2015-09-21 17:02:10 -04:00
Dave Eddy
f476cc9168 audit cleanup 2015-09-08 17:30:08 -04:00
Dave Eddy
789fb4f7e5 slug asserts 2015-09-04 20:33:31 -04:00
Dave Eddy
bdc3ea6651 mpl and copyright 2015-09-04 14:12:20 -04:00
Dave Eddy
e48395d446 add common.getCliTableOptions for tabula
- common tabula options managed in "common"
- "datacenters" and "services" pass raw data with -j
2015-09-03 18:09:21 -04:00
Dave Eddy
1cc87edb0f per-profile cache directory using account+url slug 2015-09-02 23:48:14 -04:00
Dave Eddy
da8e13b45e more assertions in common, ensure tests run with assertions 2015-09-02 23:30:07 -04:00
Dave Eddy
b6e4c06742 tabula changes
- "datacenters" and "services" both use tabula
- comman tabula options moved to common
2015-09-02 23:24:08 -04:00
Dave Eddy
782c82faa7 remove executable bits on non-executable files 2015-09-02 16:33:30 -04:00
Dave Eddy
c3a91411f9 lots of unit tests 2015-09-02 15:38:27 -04:00
Trent Mick
018c46ef43 'make check' clean 2015-09-02 10:47:06 -07:00
Dave Eddy
d76535b4d2 negative sizes support, add more tests 2015-09-01 13:47:35 -04:00
Trent Mick
9241f90ccf 'make check-jsl' clean 2015-09-01 10:44:34 -07:00
Dave Eddy
42f0ee5a41 fix bug in humanSizeFromBytes 2015-09-01 13:44:10 -04:00
Trent Mick
333c47ae26 a start at a test framework 2015-09-01 00:31:00 -07:00
Dave Eddy
016e2d94f0 unnecessary call to common function 2015-08-31 17:14:48 -04:00
Trent Mick
1b2ed0758e Fix handling of SDC_TESTING envvar 2015-08-31 12:23:20 -07:00
Trent Mick
5e3efa02a6 'triton packages --human' for M/G/T units on sizes 2015-08-31 12:13:17 -07:00