Commit Graph

92 Commits

Author SHA1 Message Date
Marius Pana 75ec73a31c merge with upstream 2018-07-24 13:22:09 +03:00
Marsell Kukuljevic 3584c82e05 TRITON-324 node-triton cli-affinity.test.js failures: create timeout, .end() called twice
Reviewed by: Pedro P. Candel <pedro@joyent.com>
Approved by: Pedro P. Candel <pedro@joyent.com>
2018-06-26 11:36:28 +00: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
Marius Pana 5438723d06 merge with latest from upstream 2018-06-06 13:21:15 +03: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
Trent Mick d3d3216a38 TRITON-304 node-triton test crash in 'triton inst nic ...' tests (extra output in tests to help diagnose failure) 2018-04-10 16:30:43 -07: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
Josh Wilsdon 39635cd0a2 TRITON-190 remove node-triton support for passing --brand flag 2018-02-27 16:45:23 -08:00
Marius Pana be74f307e0 Merge branch 'master' of https://github.com/joyent/node-triton 2018-02-23 15:28:53 +02:00
Josh Wilsdon 26b97b5bed TRITON-124 add node-triton support for bhyve
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2018-02-19 17:28:42 -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
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
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
Trent Mick e0b6c7e0bc joyent/node-triton#232 commit 8438f44 broke parseVolumeSize unit tests
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Approved by: Julien Gilli <julien.gilli@joyent.com>
2017-09-26 15:58:45 -07:00
Julien Gilli 8438f446cc joyent/node-triton#226 add new `triton volume sizes` subcommand
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2017-08-24 18:01:20 +00:00
Trent Mick c7bb6b01e1 joyent/node-triton#221 cli-image-create.test.js crashes if image creation isn't work 2017-08-08 16:58:26 -07:00
Trent Mick c0ad6bb378 joyent/node-triton#219 test: Fix test suite to not use non-existant `triton img rm -w` wait option 2017-07-31 16:31:19 -07:00
Trent Mick 546abee318 joyent/node-triton#218 add 'allowVolumesTests' to test config and skip volumes tests by default
Reviewed by: Josh Wilsdon <josh@wilsdon.ca>
Approved by: Josh Wilsdon <josh@wilsdon.ca>
2017-07-28 16:57:55 -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 8493c52be3 joyent/node-triton#199 cli-networks.test.js crash if there are no non-public networks
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Jason King <jason.king@joyent.com>
2017-04-13 12:30:50 -07:00
Trent Mick 33ff58c3d3 joyent/node-triton#195 test *kvm* image creation 2017-04-03 12:37:58 -07: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
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 3f4eff598c joyent/node-triton#170 Integration tests fail to change company name back to original value when it contains spaces
Reviewed by: Todd Whiteman <todd.whiteman@joyent.com>
Approved by: Todd Whiteman <todd.whiteman@joyent.com>
2017-02-10 16:49:43 -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 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
Trent Mick 41b5c506ce joyent/node-triton#167 test suite: use 'nodetritontest' in test key name, `createTestInst` never reports failure
Reviewed by: Brian Bennett <brian.bennett@joyent.com>
2017-01-17 14:48:40 -08: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
Trent Mick 37d475ffd9 joyent/node-triton#164 change from joyent/node-triton#137 broke 'triton --version' test case 2017-01-12 11:48:47 -08:00
Trent Mick afe1972b69 joyent/node-triton#163 "skipAffinityTests" option for test/config.json is not documented in test/config.json.sample
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Approved by: Julien Gilli <julien.gilli@joyent.com>
2017-01-12 11:41:45 -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 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 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 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 1e2b19c0e6 joyent/node-triton#103 `triton ip <inst>` to output the instance's primaryIp 2016-03-11 15:21:19 -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
Marsell Kukuljevic fb20159053 PUBAPI-1266 - add support for instance (en|dis)able-firewall. 2016-03-12 01:09:26 +11: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 314a05b082 node-triton#95 Add test case for 'triton img create', changelog update 2016-02-15 10:03:08 -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 edb28b6791 node-triton#86 "triton profiles" should not require a current profile 2016-02-02 22:03:01 -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 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
Trent Mick 5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -08:00
Marsell Kukuljevic 09954b3f55 clistyle: some more tritonapi tests. 2016-01-14 09:15:58 +11:00
Trent Mick 3f427adff1 clistyle: updated bash completion (much improved, fixes limitation that subsubcmds weren't supported) 2016-01-09 16:55:12 -08:00