Commit Graph

271 Commits

Author SHA1 Message Date
Julien Gilli
c68c975d88 changes according to latest code review 2017-04-03 18:11:06 -07:00
Julien Gilli
43620ff56f make triton volume feature hidden 2017-04-03 14:10:30 -07:00
Julien Gilli
f00d1bd9c0 changes according to latest code review from Trent 2017-03-23 13:12:24 -07:00
Julien Gilli
984c692d2f fix handling of volume list filters 2017-03-22 18:19:02 -07:00
Julien Gilli
00f92d67a5 more changes according to discussion after initial code review 2017-03-22 16:54:36 -07:00
Julien Gilli
c152fa77e4 more changes according to first code review 2017-03-20 18:56:51 -07:00
Julien Gilli
d2fce639dd changes according to code review 2017-03-08 17:58:04 -08:00
Julien Gilli
679157d453 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
2017-03-07 12:46:31 -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
b66939751d joyent/node-triton#182 'triton profile create' and 'triton profile docker-setup' need a non-interactive option
Reviewed by: Todd Whiteman <todd.whiteman@joyent.com>
Approved by: Todd Whiteman <todd.whiteman@joyent.com>
2017-02-24 09:29:05 -08:00
Trent Mick
2bad27fcbb joyent/node-triton#142 triton help create could give fuller help
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
2017-02-21 11:29:50 -08:00
Trent Mick
46ded211f3 joyent/node-triton#180 triton profile docker-setup fails with a non-MD5 keyId
Reviewed by: Todd Whiteman <todd.whiteman@joyent.com>
Approved by: Todd Whiteman <todd.whiteman@joyent.com>
2017-02-21 08:56:04 -08:00
Trent Mick
dba8915d4f joyent/node-triton#150 fallback to ~/.ssh during docker profile creation
Reviewed by: Todd Whiteman <todd.whiteman@joyent.com>
Approved by: Todd Whiteman <todd.whiteman@joyent.com>
2017-02-20 19:39:16 -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
Trent Mick
4ee67a5725 joyent/node-triton#176 triton --act-as option was broken by joyent/node-triton#156
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
2017-02-17 17:17:51 -08:00
andrew
ec9b6cc5aa joyent/node-triton#157 support resizing of instances
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-02-16 17:00:32 -08:00
Trent Mick
3dd59ab109 joyent/node-triton#129 triton reboot --wait INST doesn't wait
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
2017-02-08 16:49:00 -08:00
Chris Burroughs
75cb032f3a joyent/node-triton#156 allow all profile fields to be given on the cli
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
2017-01-31 16:09:01 +00:00
Chris Burroughs
68e5b68583 PUBAPI-1171 improve boolean envvar error handling
PUBAPI-1205 mirror node-smartdc meaning for SDC_TESTING
PUBAPI-1351 label each group of env vars for clarity
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
2017-01-25 18:26:14 +00:00
Yang Yong
c7c91aea83 joyent/node-triton#80 would be nice if triton network list public=false worked
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-01-17 15:39:43 -08:00
Julien Gilli
d99110553d ZAPI-757 VMAPI should dump core when an uncaught error is thrown
Reviewed by: Trent Mick <trentm@gmail.com>
2017-01-14 00:27:16 +00:00
Yang Yong
5dab69c002 joyent/node-triton#146 triton instance rename --wait 2017-01-13 16:06:45 -08:00
Yang Yong
16cff8d60a joyent/node-triton#133 triton instance fwrule list and triton fwrules` are not recognized
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
2017-01-13 23:05:53 +00:00
Dillon Amburgey
76759e547e joyent/node-triton#3 triton ssh command not aware of "ubuntu" login for ubuntu-certified images 2017-01-05 19:37:35 -05:00
Chris Burroughs
04cc61ee1d joyent/node-triton#160 missing file from cr:1129 rebase
Reviewed by: Dillon Amburgey <dillona@dillona.com>
Approved by: Marsell Kukuljevic <marsell@joyent.com>
2016-12-28 15:00:48 +00:00
Chris Burroughs
3a369e4bb8 joyent/node-triton#137 triton CLI tool fails in default usecase
Reviewed by: Chris Burroughs <chris.burroughs@joyent.com>
Approved by: Chris Burroughs <chris.burroughs@joyent.com>
2016-12-21 19:27:46 +00:00
Dillon Amburgey
2453bc12e8 joyent/node-triton#158 tritonapi image cache never expires
Reviewed by: Chris Burroughs <chris.burroughs@joyet.com>
Approved by: Chris Burroughs <chris.burroughs@joyet.com>
2016-12-21 19:00:47 +00:00
Trent Mick
c7140609f0 joyent/node-triton#155 doc TritonApi method callback guidelines 2016-12-14 14:33:29 -08:00
Trent Mick
f7bbe5fcff joyent/node-triton#154 #108 changes broke triton cloudapi ... 2016-12-14 11:01:18 -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
Yang Yong
e721ebe865 joyent/node-triton#143 triton rbac key duplicate output 2016-11-30 10:40:34 +09:00
Trent Mick
152d12767c joyent/node-triton#147 4.15.0 2016-11-24 19:32:43 +00:00
Yang Yong
a2c83aab56 joyent/node-triton#64 support instance renaming
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2016-11-24 16:47:32 +00:00
Trent Mick
84338a44b2 TOOLS-1592 triton CLI *using node 6* fails various commands with MD5 errors
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
2016-10-31 16:54:55 -07: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
0d4850405b joyent/node-triton#136 bash completion for 'triton profile create --copy <TAB>'
Reviewed by: Angela Fong <angela.fong@joyent.com>
Approved by: Angela Fong <angela.fong@joyent.com>
2016-09-30 15:43:51 -07:00
Trent Mick
21f2d29c86 joyent/node-triton#130 triton image caching should include disabled images
Reviewed by: Cody Peter Mello <cody.mello@joyent.com>
Approved by: Cody Peter Mello <cody.mello@joyent.com>
2016-09-16 16:01:38 -07: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
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
8d8d9ed39f bash completion for 'triton env TAB' 2016-04-22 13:09:35 -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
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
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
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