Commit Graph

62 Commits

Author SHA1 Message Date
Trent Mick
cc07717008 joyent/node-triton#258 triton instance create picks disabled image
Reviewed by: Brian Bennett <brian.bennett@joyent.com>
Approved by: Brian Bennett <brian.bennett@joyent.com>
2019-03-06 17:25:00 -08:00
Todd Whiteman
c86804cfe4 TRITON-52 x-DC image copy
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-06-29 16:44:17 -07:00
Todd Whiteman
dc5dc12052 TRITON-53 x-account image clone
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-06-27 17:28:02 -07:00
Marsell Kukuljevic
0bc11c1e33 TRITON-401 Add support for fabric vlans and networks to node-triton
Reviewed by: Trent Mick <trent.mick@joyent.com>
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Reviewed by: Pedro P. Candel <pedro@joyent.com>
Approved by: Pedro P. Candel <pedro@joyent.com>
2018-06-25 17:42:33 +02:00
Trent Mick
f100c4dbb5 TRITON-524 'triton inst get' should support '--credentials'
Reviewed by: Marsell Kukuljevic <marsell@joyent.com>
Approved by: Marsell Kukuljevic <marsell@joyent.com>
2018-06-19 14:42:10 -07:00
Marsell Kukuljevic
6417595ba6 TRITON-167 Anti-affinity rules fail when no instances match the name
TRITON-168 Regex anti-affinity rules fail unexpectedly
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-04-11 12:56:38 +12:00
Marsell Kukuljevic
8e6cf27121 TRITON-19 Triton equivalent to AWS' termination protection
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-03-14 01:51:43 +00: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
Todd Whiteman
3f243f8c8f TRITON-116 node-triton image sharing
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-02-14 11:52:29 -08: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
Mike Zeller
da5f3bade8 PUBAPI-1452 Add ListNetwork IP and GetNetworkIP to node-triton
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-11-29 13:58:59 -08: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
Jason King
17669f35ea joyent/node-triton#197 Create triton image export command 2017-04-10 16:59:16 -05: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
Yang Yong
5dab69c002 joyent/node-triton#146 triton instance rename --wait 2017-01-13 16:06:45 -08: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
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
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
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
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
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
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
Trent Mick
88c52d1610 node-triton#98 triton inst get ID fails obtusely on a destroyed instance 2016-03-02 00:05:06 -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
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
4760defd05 joyent/node-triton#88: triton inst ... support for updating tags 2016-02-11 09:46:43 -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
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
Marsell Kukuljevic
09954b3f55 clistyle: some more tritonapi tests. 2016-01-14 09:15:58 +11:00
Trent Mick
9fbb2006bc add 'triton env -t' 2016-01-12 10:27:46 -08:00
Trent Mick
b50f0c8aa1 joyent/node-triton#63 "triton images" with a filter should not be cached 2015-12-29 14:53:49 -08:00
Trent Mick
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
4576918909 joyent/node-triton#58: triton --act-as=ACCOUNT ... for operator accounts 2015-12-02 10:52:47 -08:00
Trent Mick
3cd4b0d735 'triton --accept-version VER ...' developer option 2015-11-25 11:04:44 -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
dfbbf309e9 joyent/node-triton#54 'triton rbac {instance,image,network,package,}role-tags ...' 2015-11-12 16:13:23 -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
4e45e4061f joyent/node-triton#54 a start at 'triton rbac info', add 'triton rbac instance-role-tags' 2015-11-09 15:09:37 -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
dd95ab5f4a joyent/node-triton#54 first pass at 'triton rbac role' and 'triton rbac roles' 2015-11-04 15:38:38 -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
a71a1ddba3 fix 'name' var usage; style nit on for-loop usage for early out 2015-10-06 23:33:18 -07:00