Skip to content

Release 2.4.1

Compare
Choose a tag to compare
@rschmied rschmied released this 05 Oct 13:52
· 16 commits to main since this release

This is the VIRL (CML) Client Library for the CML release 2.4.1. It is functionally equivalent to the bundled version.

What's Changed

  • Missing changes from Bitbucket by @rschmied in #11

  • SIMPLE-4483 replaced Lab.sync(with_node_configuration) argument with exclude_configurations

  • SIMPLE-4496 deprecated multiple Interface methods in favor of better ones
    In Interface:

    • functions that return/expect multiple links replaced with singular versions, originals deprecated
    • deprecated .is_connected() and replaced with .connected
    • deprecated .is_physical and replaced with .physical
  • SIMPLE-4389 replaced Lab.get_link_by_interfaces/nodes with Interface/Node.get_link(s)_to, Interface deprecations

    • Deprecated Lab.get_link_by_nodes/interfaces, used IDs instead of objects like the name would suggest
    • Added Node.get_links_to and .get_link_to, these replace get_link_by_nodes
    • Added Lab.get_interface_by_id

    Deprecations in Interface:

    • .links(), was pointlessly looking for multiple links despite one interface only being connected to one link
    • .degree, always 1 or 0, should be bool
    • .is_connected(), was a method instead of a parameter
    • .is_physical, for consistency with is_connected()

    Additions in Interface:

    • .link, replaces .links()
    • .connected, replaces .is_connected() and .degree
    • .physical, replaces .is_physical, to be consistent with .connected
    • .get_link_to(), replaces .get_link_by_interfaces

    Other changes:

    • reordered interface functions
    • first docstring letters capitalized for consistency
    • other minor docstring / syntax fixes
  • SIMPLE-4313: update examples in client library docs, remove redundant typing

  • SIMPLE-4463: PCL support for node compute ID

Note
For the future, we're moving the development of the PCL to Github, thus eliminating issues with commits and tags by maintaining different remotes / repositories. This should make everything a tad bit smoother.

Full Changelog: v2.4.0...v2.4.1