- PUBAPI-1219 - add --cns-enable and --cns-disable options to sdc-updateaccount, to enable and disable the Triton CNS.
- PUBAPI-1215 - fix an API versioning problem with getting and listing images. This unintentionally caused a backwards-compatible-breaking change. The following attributes were being omitted, which this change brings back: owner, public, state, eula, acl, origin, error
- PUBAPI-1214 updated
sshpk-agent
dependency, to fix some bad-state bugs that cause the ssh-agent support to malfunction under load.
-
[Backward incompatibility, PUBAPI-1161, PUBAPI-1180] All the node-smartdc
sdc-*
tools changed from using CloudAPI API version 7 to API version 8, by default. As well, support for the long deprecated API version 6.5 was dropped.To explicitly get the API version 7 behavior, either set the
SDC_API_VERSION=~7
environment variable or use the--api-version=~7
option tosdc-*
commands. E.g.:SDC_API_VERSION=~7 sdc-listmachines sdc-listimages --api-version=~7 --type=smartmachine
See the CloudAPI API Versions section for details.
-
sdc-listmachines
filtering bybrand
is now supported.
- PUBAPI-1166 use smartdc-auth and http-signature instead of sprintf for generating Authorization headers
- #72
sdc-fabric
doesn't honor command line flags.
- #73 revive CHANGES.md changelog
- #71 Fix data truncation (at 64k) from node-smartdc commands when piped to
another command, when using node 4.1. E.g.
sdc-listimages | cat
would truncate. - #70 Update dep to get newer dtrace-provider to fix build against node 4.x
- PUBAPI-1155, PUBAPI-1146: Updates to smartdc-auth@2.x to support
SDC_KEY_ID
being a fingerprint format other than the oldssh-keygen
MD5 default. Recentssh-keygen
(e.g. as on Linuces for a while, and on Mac OS X El Capitan) changed the default fingerprint format fromssh-keygen -l ...
to SHA1. - TOOLS-1214 Large number of keys in ssh-agent leads to failure.
- TOOLS-1027
sdc-fabric
support added. See https://docs.joyent.com/public-cloud/network/sdn. Implementation detail:sdc-fabric
uses CloudAPI API version 7.3. Other commands continue to use API version 7.2 to function with older pre-fabrics CloudAPIs.
- PUBAPI-1053: Bumped dependencies to work with node v0.12.0
- PUBAPI-858: Updated to support RBAC. See https://docs.joyent.com/public-cloud/rbac. Account sub-users can use the CLI now. New commands include: sdc-chmod, sdc-info, sdc-policy, sdc-role, and sdc-user.
-
Add 'sdc-updateimage' for updating attributes on a custom image.
-
issue#49: Add '--version' to all
sdc-\*
CLI tools.
-
issue#43: Allow '-M|--metadata-file' option to
sdc-createmachine
andsdc-updatemachinemetadata
. Accepts a parameter of the form"key=filename"
. Example usage:$ sdc-updatemachinemetadata \ --metadata-file passwd_file=/etc/passwd \ ${uuid}
-
issue#47: Deprecated '-e|--dataset' option to
sdc-listmachines
andsdc-createmachine
in favor of '-i|--image'. -
issue#46: Fix '-d|--debug' option to actually include more logging. Example usage:
sdc-listmachines -d 2>&1 | bunyan
-
Improve printing of errors on the CLI. E.g.:
$ sdc-createmachine -e asdf sdc-createmachine: error (InvalidArgument): asdf is not a valid image
Before:
$ sdc-createmachine -e asdf asdf is not a valid image
-
[PUBAPI-660] Added
sdc-createimagefrommachine
,sdc-deleteimage
,sdc-updateimage
. -
[PUBAPI-675] Allow filtering of
sdc-listimages
bypublic
,state
andtype
. -
issue#34: Change
sdc-listimages
andsdc-getimage
to use the appropriate/:account/images
CloudAPI endpoints.
- Added
sdc-enablemachinefirewall
andsdc-disablemachinefirewall
- Added
-f | --enable-firewall
option tosdc-createmachine
## 7.0.0
- Improved docs and usage strings
- Added
sdc-listnetworks
andsdc-getnetwork
.
- Added "--networks|-w" argument to sdc-createmachine
- Update README with upgrade section
- New version to support SDC 7.0 new features.
- Added
/images
resource - Added
/fwrules
resource - Added machine
/audit
- Added get/update account
- Added tests for everything
- Added token authentication
- Removed the
_CLI_
part from SDC env vars - Removed basicAuth and
sdc-setup
due to PCI compliance - Retrieve all machines tagged when
tags=*
- Allow to upload DSA keys to Cloud API, but disallow using them with node-smartdc
PUT /tags
toReplaceMachineTags
exposed.- Added Rename Machine
- Short option
-?
, valid for all thesdc-*
commands - Normalized arguments: when machine is required, is always last, not named, argument.
- Handle
noCache
option for machine metadata/tags