Skip to content

Releases: CenturyLinkCloud/clc-go-cli

HTTP User-Agent

05 Nov 22:11
Compare
Choose a tag to compare

Starting from this release a user agent is attached to every HTTP request.

MD5 sums:
clc-2015-11-06-darwin.tar.gz 8765a76c3212a265e4c68382c62d6158
clc-2015-11-06.pkg bdaa736343df96518371b3f81a8bcd6c
clc-2015-11-06-linux-amd64.tar.gz 29d0f3998b60f087684e108b96883e87
clc-2015-11-06-windows-x64.zip cdae97b8a6c249bab862efebe4abc786

Meet new commands

29 Oct 08:53
Compare
Choose a tag to compare

A couple of group commands were added in this release:

  • group set-horizontal-autoscale-policy
  • group get-horizontal-autoscale-policy
  • group get-scheduled-activities
  • group set-defaults

MD5 sums:

db8e78fa2449d12f80b19ae7e915d0d7 clc-2015-10-29-darwin.tar.gz
1c2bff8b70fcb66da136b3d74e126073 clc-2015-10-29.pkg
167e0d2c4c1f07bcfa2dfb73cf957a8c clc-2015-10-29-linux-amd64.tar.gz
0fdbac776746b4116d828eadc7f40504 clc-2015-10-29-windows-x64.zip

Some improvements on working with arrays

02 Oct 18:58
Compare
Choose a tag to compare
  • Now, if a property requires an array of values a single value can be specified as is. For example, instead of --server-ids '["serverid"]' you can simply write --server-ids serverid.
  • The --source and --destination properties of firewall-policy create/update were renamed into --sources and --destinations.
  • A {} artifact is not displayed anymore in the firewall-policy create output.

MD5 sums:

5aa4eaf63e9ac649a433b2363466d1a6 clc-2015-10-02-darwin.tar.gz
a89cec4fbaf65a4b90025601b9c031c0 clc-2015-10-02.pkg
6413c322c4411eb52b5f7e4c64db05d5 clc-2015-10-02-linux-amd64.tar.gz
deed2be46fc11079b96559d014354365 clc-2015-10-02-windows-x64.zip

New commands arrived & a bunch of bugs was fixed

30 Sep 08:42
Compare
Choose a tag to compare
  • A bug where some shadow arguments could be applied and result in a misleading error was fixed.
  • A bug where both --group-id and --group-name could be specified for group restore, group update, and group get-monitoring-statistics was fixed.
  • The --source-account-alias parameter of the firewall-policy commands gave up its role in favour of the generic --account-alias option.
  • The time format for user input/output was changed to YYYY-MM-DD hh:mm:ss.
  • A server reboot command was added.
  • The Links attribute was removed from every output for being useless.
  • A new set of commands aimed at working with autoscale policies was added. The commands are autoscale-policy get, autoscale-policy list, autoscale-policy set-on-server, autoscale-policy view-on-server, autoscale-policy remove-on-server.
  • A billing get-invoice-data command was added.
  • The data-center set-default command now checks if a data center short code exists before setting it as default.
  • A bug where there could be an empty ModifiedData field in some responses was fixed - a ModifiedDate field with the actual date is shown instead now.
  • An empty Name field in custom-fields get responses was fixed to be Value and contain the actual value.
  • The --root-password argument of server create and server import is no longer ignored.
  • The tool shows no output anymore when there is no useful information to show.
  • The query parser fails now if any of the queried fields does not exist in the output. Moreover, it shows friendlier error messages in some cases.
  • Values of enumerable properties are case-insensitive from now on.
  • A bug was fixed where tables did not adjust to fit the screen in some cases.

MD5 sums:

dc492a16d6e14a62b4b82534e1546ea8 clc-2015-09-30.pkg
clc-2015-09-30-darwin.tar.gz 256ea220cf9119f87590d98cb2031d00
e1bebe7983dd50564b5fd7aa35646d9f clc-2015-09-30-linux-amd64.tar.gz
9ef63727a4a072e02e31590cba2c2d82 clc-2015-09-30-windows-x64.zip

Parent/sub accounts, logging into a profile & bugfixes

21 Sep 16:23
Compare
Choose a tag to compare
  • The misleading description of environment variables was removed from the login command help.
  • The login command is now capable of setting the credentials from a profile.
  • An internal --ttl-string property was removed from the set of possible autocomplete options of server create.
  • A bug where server list hanged in the absence of servers was fixed. This was broken in the previous release in ecffe84.
  • A new --account-alias option was introduced. The option serves the purpose of switching a user account to one of its sub-accounts.
  • A friendlier error message is now shown if an option or an argument does not exist.
  • A clear error message is shown now if an integer or a float is out of range.
  • The help for the --custom-fields parameter of server create/import and group create was slightly extended.

MD5 sums:
287b769be80e05b4a2318011fdcf5c67 clc-2015-09-21-linux-amd64.tar.gz
97f936068c7a778566edf9d1cea30577 clc-2015-09-21-windows-x64.zip
d52207a71674eeff15849a061800f574 clc-2015-09-21-darwin.tar.gz
2657969b98a1fa1783aa16e93f4bf101 clc-2015-09-21.pkg

Meet entity names as an ID alternative & some minor improvements

16 Sep 20:59
Compare
Choose a tag to compare
  • The data-center get-deployment-capabilities response was updated with the SupportsBareMetalServers and ImportableOsTypes properties.
  • A --patch-operation artifact used internally was removed from the set of autocomplete options for the server update and group update arguments.
  • Autocomplete now supports options with spaces.
  • A bug was fixed where unexpected errors occurred if types of nested objects in the JSON input did not match.
  • The --template-id property of server create was removed because templates can actually be thought of having only names, though unique.
  • The --memory property of server update was renamed into --memory-gb for consistency.
  • All entities that have been previously determined by IDs can now be specified by names. See the README for details.
  • Autocomplete for entity names was introduced. See the README for details.

MD5 sums:
2c4d47ea0e9d91ad6e3c5b99d8d335ae - clc-2015-09-16-darwin.tar.gz
72dee1ce062ad8fcfe151b2418994b1f - clc-2015-09-16-linux-amd64.tar.gz
f8ae55255bcc571b194ee3b3b4c5424b - clc-2015-09-16-windows-x64.zip

Default Data Centers & Bug Fixing

03 Sep 09:44
Compare
Choose a tag to compare
Pre-release
  • A bug was fixed where wait failed with an unrelated error when there were nothing to wait for.
  • The --location-id parameter of server get-imports and the --location parameter of anti-affinity-policy create were renamed into --data-center for consistency.
  • Logged in as <username> appears now after logging in.
  • A "default data center" facility was introduced. See README for details.
  • server list and group list were reworked to be data center centric. They also have help now.
  • A bug was fixed where server list hanged in the absence of servers.
  • New properties were added for server create: --is-managed-backup, --configuration-id and --os-type.
  • The meaning of --source-server-id was clarified a bit in help.
  • A bug was fixed where server create and server import ignored many of their not required parameters.
  • --memory-GB and --is-managed-OS were renamed into --memory-gb and --is-managed-os respectively.
  • The config folder was renamed into clc on Windows.

MD5Sums:
a59768846429fb37c3b138eceba171b3 clc-2015-09-03-linux-amd64.tar.gz
7f1f5fa14601b3104e8a26d8ca8c8e11 clc-2015-09-03-windows-x64.zip

Minor help fixes and improvements

31 Aug 07:59
Compare
Choose a tag to compare
Pre-release

This release introduces some bug-fixing related to #6.

In details:

  • --firewall-policy was removed from help for firewall-policy list.
  • The description of --anti-affinity-policy-id for server create was fixed.
  • Wrong help for the --nodes argument of load-balancer update-nodes was corrected.
  • The unrelated --destination-account-alias was removed from firewall-policy update help.
  • For every argument an information about whether it is required or not was provided.

MD5sums:
b7102932004b83101fb0fe9c8f48e877 clc-2015-08-31-linux-amd64.tar.gz
c428b4457668e6c1aec0014bd622e825 clc-2015-08-31-windows-x64.zip
1f6ba1dfac911dce5e9f7910cd3d4046 clc-2015-08-31-darwin.tar.gz

More command help arrives

28 Aug 13:17
Compare
Choose a tag to compare
Pre-release
  • A bug where filters not enclosed in quotes could result in panic was fixed.
  • The --ip-addresses argument of the network get command is now validated against its possible values and autocompleted accordingly.
  • The format of the resource help messages was changed slightly for better readability.
  • The help description of the --generate-cli-skelton option was clarified a bit.
  • Help was provided for the rest of commands except for server list and group list, which are currently a subject to change.

MD5Sums:
076ba3674a7f2b8d824488d0d5d23e0a clc-2015-08-28-linux-amd64.tar.gz
6ef03b42292f577e936468bed60ab224 clc-2015-08-28-windows-x64.zip

The first Windows build and stuff

26 Aug 16:28
Compare
Choose a tag to compare
Pre-release

In this release:

  • The order of applying filters and queries was changed: filters are applied first now.
  • Text Formatter was implemented. Apply via --output text.
  • The defaultformat config entry is now taken into account when printing command results.
  • Table cells corresponding to nil values are displayed blank now.
  • Nested objects headers in tables were fixed to always appear above its values.
  • The values for enumerable fields are now validated against the presence within the possible options.
  • Support for autocomplete of enumerable fields values was added.
  • Support for --output and --profile values was added.
  • The acceptable values for the type parameter of the group get-monitoring-statistics command were fixed to start with lower-case letters.
  • A script for enabling autocomplete in Windows PowerShell v3 was added.

MD5Sums:
f09b428f8bcc62bf64287a1b41cd7808 clc-2015-08-26-linux-amd64.tar.gz
c616d797a56a0f76c9b54a2e3df2236d clc-2015-08-26-windows-x64.zip