Cot

Latest version: v2.2.0

Safety actively analyzes 625513 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

1.6.1

---------------------

**Fixed**

- ``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!

1.6.0

---------------------

**Added**

- ``cot edit-product --product-class`` option, to set or change the
product class identifier (such as ``com.cisco.csr1000v``).
- Enabled additional code quality validation with `Pylint`_, `pep8-naming`_,
and `mccabe`_ (`49`_).

**Changed**

- Lots of refactoring to reduce code complexity as measured by `Pylint`_
and `mccabe`_.

**Fixed**

- COT now recognizes ``AllocationUnits`` values like ``megabytes``.
- COT no longer ignores the ``AllocationUnits`` value given for RAM.
- :func:`COT.ovf.byte_string` now properly uses binary units (``KiB`` rather
than ``kB``, etc.)

1.5.2

---------------------

**Changed**

- Development requirement changes: The package `pep8`_ has been renamed to
`pycodestyle`_, and `pep257`_ has been renamed to `pydocstyle`_. Updated
configuration and documentation to reflect these changes. Also,
`flake8-pep257`_ does not presently handle these changes, so replaced it
as a dependency with the more up-to-date `flake8-docstrings`_ package.

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.

1.5.0

---------------------

**Added**

- `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`` in ``cot 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`_.

**Changed**

- ``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 with ``ResourceSubType`` ``virtio``
(not ``virtio-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.

1.4.2

---------------------

**Added**

- COT now supports ``xorriso`` as another alternative to ``mkisofs`` and
``genisoimage``

**Fixed**

- `42`_ - ``cot deploy esxi`` error handling behavior needed to be updated
for `requests`_ release 2.8.
- `44`_ - test case failure seen when running `pyVmomi`_ 6.0.0.2016.4.

**Changed**

- 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.

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.