Release 2.4.1
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
-
SIMPLE-4483 replaced
Lab.sync(with_node_configuration)argument withexclude_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_physicaland replaced with.physical
-
SIMPLE-4389 replaced
Lab.get_link_by_interfaces/nodeswithInterface/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_toand.get_link_to, these replaceget_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 bebool.is_connected(), was a method instead of a parameter.is_physical, for consistency withis_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
- Deprecated
-
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