Releases: glennmatthews/cot
Releases · glennmatthews/cot
Version 1.5.1
Added
cot edit-hardware --network-descriptions
option, to specify the descriptive string(s) associated with each network definition.
Fixed
- #48 - NIC type not set when adding NICs to an OVF that had none before.
- When updating NIC network mapping, COT now also updates any Description that references the network mapping.
Version 1.5.0
New features
- #47 - Added
cot remove-file
subcommand. - #43 - add
cot edit-properties --transport
option to set environment transport type(s) - iso, VMWare Tools, etc.cot info
now has a new "Environment" section that displays the
transport type
- #45 - support for multiple values for
--nic-types
,--ide-subtypes
, and--scsi-subtypes
incot edit-hardware
. - COT now recognizes the Cisco IOS XRv 9000 platform identifier
com.cisco.ios-xrv9000
. - #21 - subcommand aliases (Python 3.x only):
cot edit-product
aliases:cot set-product
,cot set-version
cot edit-properties
aliases:cot set-properties
,cot edit-environment
,cot set-environment
cot info
alias:cot describe
cot inject-config
alias:cot add-bootstrap
cot remove-file
alias:cot delete-file
- Support for tab-completion of CLI parameters using argcomplete.
Other changes and fixes
cot edit-hardware
options--nic-types
,--ide-subtypes
, and--scsi-subtypes
are now validated and canonicalized by COT, meaning that:cot edit-hardware --nic-type virtio-net-pci
is now a valid command and
will correctly create an OVF withResourceSubType
virtio
(notvirtio-net-pci
)cot edit-hardware --ide-subtype foobar
will now fail with an error
cot info
is now more self-consistent in how it displays property keys. They are now always wrapped in<
>
, whereas previously this was only sometimes the case.cot info --verbose
now displays file and disk ID strings under the "Files and Disks" section.
Version 1.4.2
Bug fix release:
- Recognize
xorriso
as an alternative tomkisofs
andgenisoimage
- Installation document now recommends installation via
pip
rather than
installing from source. - #40 - Now uses faster Docker-based infrastructure from Travis CI for
CI builds/tests. - #42 -
cot deploy esxi
error handling behavior needed to be updated
forrequests
release 2.8. - #44 - test case failure seen when running pyVmomi 6.0.0.2016.4.
Version 1.4.1
Hotfix release to fix #41.
Version 1.4.0
New Features
cot deploy esxi
now creates serial ports after deployment (#24)- Serial port connectivity must be specified either via entries in the OVF (which can be defined using
cot edit-hardware ... -S
) or at deployment time using the new-S
/--serial-connection
parameter tocot deploy
. - The syntax for serial port connectivity definition is based on that of QEMU's
--serial
CLI option. - Currently only "telnet", "tcp", and "device" connection types are supported.
- Serial port connectivity must be specified either via entries in the OVF (which can be defined using
cot edit-product
can now set product and vendor information (#38)- COT now tries harder to avoid unnecessary file copies, in order to save time and disk space (#39).
Other Changes and Fixes
flake8
validation now includespep257
to validate docstring compliance toPEP 257
as well.- Added changelog file.
- Added
COT.file_reference
submodule in support of #39. - Split ESXi-specific logic out of
COT.deploy
module and into newCOT.deploy_esxi
module. - UT for
COT.deploy_esxi
now requiresmock
(standard library in Python 3.x, install via pip on Python 2.x).
Version 1.3.3
Bug fix release:
Version 1.3.2
Fix to accommodate changes in the Travis-CI testing environment. No functional change compared to v1.3.1.
Version 1.3.1
Bug fix release to address issue #30.
Version 1.3.0
Features
- Installation of helper programs is now provided by a
cot install-helpers
subcommand rather than a separate script. - COT now has man pages (
man cot
,man cot-edit-hardware
, etc.)
The man pages are also installed bycot install-helpers
. - Improved documentation of the CLI on readthedocs.org as well.
- COT no longer supports Python 3.2.
Infrastructure changes
- Refactored
COT.helper_tools
module intoCOT.helpers
subpackage.
This package has an API (COT.helpers.api
) for the rest of COT to
access it; the helper-specific logic (qemu-img, fatdisk, etc.) is split
into individual helper modules that are abstracted away by the API. - Similarly, logic from
COT.tests.helper_tools
has been refactored and
enhanced underCOT.helpers.tests
. - Renamed all test code files from "foo.py" to "test_foo.py" to
facilitate test case discovery. cot_unittest
is no more - usetox
orunit2 discover
to run tests.- As noted above, the installation script
check_and_install_helpers.py
no longer exists - this functionality is now provided by the
COT.install_helpers
module. - CLI help strings are dynamically rendered to ReST when docs are built,
providing cleaner output for both readthedocs.org and the manpages.
Version 1.2.4
Bugfix release to address #29.