Skip to content

Releases: glennmatthews/cot

Version 1.8.1

18 Jan 15:11
Compare
Choose a tag to compare

Fixed

  • Under Python versions older than 2.7.9, explicitly require pyOpenSSL and
    ndg-httpsclient to avoid issues like
    hostname 'people.freebsd.org' doesn't match 'wfe0.ysv.freebsd.org'
    when installing vmdktool.

Version 1.8.0

18 Jan 15:11
Compare
Choose a tag to compare

Fixed

  • TypeError in find_item method (#54).
  • cot inject-config correctly handles OVAs with multiple empty CD-ROM drives to choose amongst (#54).
  • Cisco CSR1000v platform now supports 8 CPUs as a valid option.

Added

  • cot inject-config --extra-files parameter (#53).
  • Helper class for isoinfo (a companion to mkisofs).
  • Added glossary of terms to COT documentation.
  • Inline documentation (docstrings) are now validated using the Pylint docparams extension.

Changed

  • Refactored the monolithic COT/platforms.py file into a proper submodule.
  • MkIsoFs.create_iso now adds Rock Ridge extensions by default.
  • Refactored COT.helpers into two modules - COT.helpers (now just for handling helper programs such as apt-get and mkisofs) and COT.disks (which uses the helpers to handle ISO/VMDK/QCOW2/RAW image files).
  • Inline documentation (docstrings) have been converted to "Google style" for better readability in the code. Sphinx rendering of documentation (for readthedocs.org, etc) now makes use of the napoleon extension to handle this style.

Removed

  • get_checksum is no longer part of the COT.helpers API. (It's now the method file_checksum in COT.data_validation, where it really belonged from the start).
  • download_and_expand is no longer part of the COT.helpers public API. (It's now the static method
    download_and_expand_tgz on class Helper.)

Version 1.7.4

22 Sep 13:26
Compare
Choose a tag to compare

Newer versions of Sphinx have dropped support for Python 2.6 and 3.3, so
I have updated COT's installation requirements to use older Sphinx versions
under these Python versions. No functional changes in COT.

Version 1.7.3

22 Sep 13:26
Compare
Choose a tag to compare

Enhancement request #18 - When adding NICs to an OVF, if no -nic-networks are specified, cot edit-hardware will now try to infer sequential naming of the Network elements and if successful, offer to create additional Networks as appropriate.

Version 1.7.2

22 Sep 13:25
Compare
Choose a tag to compare

Fixed issue #52 - OVFItemDataError raised when adding NICs to CSR1000V OVA, or more generally when cloning an OVFItem whose ElementName references its Connection.

Version 1.7.1

15 Aug 14:41
Compare
Choose a tag to compare

Fix issue #51 - cot deploy ... --serial-connection will now correctly create additional serial ports beyond those defined in the OVF, if requested. Previously it would ask the user for confirmation but not actually do anything about it.

Version 1.7.0

05 Aug 18:34
Compare
Choose a tag to compare

Added

  • Support for Python 3.5
  • Enhancements to cot edit-properties (#50):
    • Added --user-configurable option to set whether created/updated
      properties are marked as user-configurable in the OVF.
    • Added --labels and --descriptions options to set/update the
      labels and descriptions associated with properties.
    • It's now valid to set no default value for a property by
      omitting the =value, as in -p property-with-no-value, as well as
      the existing -p property-with-empty-value= syntax to set
      an empty string as the value.
    • Users can now optionally specify the property type to enforce for each
      property by using the delimiter +type, as in -p key=1+boolean.

Changed

  • Switched from statement coverage to branch coverage for better test analysis.
  • Moved from Coveralls to Codecov for test coverage tracking, since Coveralls does not support branch coverage reporting.

Fixed

  • When cot edit-hardware is used to create new NICs in an OVF that
    previously had none, and the user does not specify any corresponding Network
    entries, automatically create a 'VM Network' entry, because all NICs must
    be mapped to Networks for a valid OVF descriptor.

Version 1.6.1

07 Jul 13:23
Compare
Choose a tag to compare

Bug Fixes

  • ValueMismatchError exceptions are properly caught by the CLI wrapper so as to result in a graceful exit rather than a stack trace.
  • cot remove-file now errors if the user specifies both file-id and file-path, one of which matches a file in the OVF, but the other does not match this or any other file.
  • Better handling of exceptions and usage of sudo when installing helpers.
  • Manual pages are now correctly included in the distribution. Oops!

Version 1.6.0

07 Jul 13:22
Compare
Choose a tag to compare

New Features

  • cot edit-product --product-class option, to set or change the product class identifier (such as com.cisco.csr1000v).
  • COT now recognizes AllocationUnits values like ``megabytes`.

Bug Fixes and Behavior Changes

  • COT no longer ignores the AllocationUnits value given for RAM.
  • COT.ovf.byte_string now properly uses binary units (KiB rather than kB, etc.) - this primarily affects the output of cot info.

Under the Hood

  • Enabled additional code quality validation with Pylint, pep8-naming,
    and mccabe (#49).
  • Lots of refactoring to reduce code complexity as measured by Pylint
    and mccabe.

Version 1.5.2

17 Jun 18:20
Compare
Choose a tag to compare

Hotfix release to account for changes in test package dependencies (pep8 -> pycodestyle, pep257 -> pydocstyle, replace flake8-pep257 with flake8-docstrings).