Commit Graph

35 Commits

Author SHA1 Message Date
Trent Mick 053d7354f2 PUBAPI-1233 Add firewalls to node-triton
PUBAPI-1234 Add snapshots to node-triton

CR updates.
- add 'triton fwrule update ID <TAB>' completion on updatable fields
- make ID arg first in ^^
- make 'triton fwrule create ...' have the rule enabled by default
- cosmetic help output tweaks
- allow 'triton fwrule update ...' to not *require* that the rule is
  updated. i.e you can update just the description
2016-03-01 16:46:06 -08:00
Marsell Kukuljevic f3f4f86f2f PUBAPI-1233/PUBAPI-1234 - code-review fixes. 2016-02-18 00:47:31 +11:00
Marsell Kukuljevic b7aa52dd0d Merge branch 'master' of https://github.com/joyent/node-triton into snapshot-fwrules 2016-02-12 23:50:09 +11:00
Trent Mick 4760defd05 joyent/node-triton#88: `triton inst ...` support for updating tags 2016-02-11 09:46:43 -08:00
Marsell Kukuljevic e6334db9e1 PUBAPI-1233/PUBAPI-1234 - add support for --snapshot= flag when
starting a machine, and shortId support for fwrules.
2016-02-05 23:54:13 +11: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
Trent Mick b73766d399 style nits, no functional change 2015-10-06 23:28:25 -07:00
Trent Mick 8ece8d0024 Integration test config handling improvements. Add 'ResourceNotFound' error and fine tune exit status handling.
Fixes #37.
2015-10-06 23:24:42 -07:00
Dave Eddy 3cbf85a121 show image name and version when UUID is specified, fixes #29 2015-10-05 16:34:24 -04:00
Dave Eddy e7109071de cloudapi and tritonapi exports should match 2015-09-29 18:13:34 -04:00
Dave Eddy ee9f897f22 filter for name and version if supplied 2015-09-21 18:57:53 -04:00
Dave Eddy a6d9bad267 filter image version on the server 2015-09-21 17:16:47 -04:00
Dave Eddy 7ab6453b1f remove broken cache files if found, fixes #27 2015-09-21 17:00:58 -04:00
Dave Eddy 44ce942d97 triton create support image name@version format, fixes #25 2015-09-21 16:37:48 -04:00
Trent Mick 94ebdb9f47 stop `TritonApi.listImages` passing internal options as query params to cloudapi
E.g.: `useCache` in the following:

    $ triton -v insts
    ...
    [2015-09-21T17:37:57.600Z] TRACE: triton/34623 on danger0.local (/Users/trentm/joy/node-triton/node_modules/restify-clients/lib/HttpClient.js:265 in rawRequest): request sent
        GET /trentm/images?useCache=true HTTP/1.1
        Host: 10.88.88.6
        date: Mon, 21 Sep 2015 17:37:57 GMT
        authorization: Signature keyId="/trentm/keys/de:e7:73:...
        accept: application/json
        user-agent: triton/1.0.0 (x64-darwin; node/0.10.40)
        accept-version: *
2015-09-21 10:41:13 -07:00
Trent Mick d2e999916b joyent/node-triton#18 first cut of 'triton profiles' 2015-09-09 16:04:15 -07:00
Dave Eddy bdc3ea6651 mpl and copyright 2015-09-04 14:12:20 -04:00
Dave Eddy 0fee17fda0 getting ready for OSS
- s/triton/tritonapi/
- s/Triton/TritonApi/
- s/CloudAPI/CloudApi/
2015-09-04 14:05:36 -04:00