netlab launch 1.6.0 has (most likely) the longest launch notes up to now because it incorporates so many user-visible new options together with:
New Instructions
Some customers have been complaining how complicated it was to make use of netlab create command to create graphs, examine information constructions, or create customized stories. They could discover the brand new instructions simpler to make use of:
Reviews
You could possibly retailer a Jinja2 template right into a defaults.outputs.stories.one thing dictionary worth within the lab topology to create customized stories with earlier netlab variations – most likely one of many worst kludges I ever made.
The brand new netlab report command can learn Jinja2 templates from user-, system- or bundle directories and create textual content or HTML stories. The report templates delivery with netlab launch 1.6 embrace:
- Node, interface and hyperlink addressing stories
- Lab wiring abstract
- Gadget administration IP addresses, usernames, and passwords
Should you’d prefer to produce other stories, please open a Github concern describing what you’d prefer to see in them.
Show Inside Data
netlab present command can show configuration modules, units supported by every configuration module, the state of the virtualization suppliers, output codecs supported by netlab create command, and report templates included with netlab. All stories can be found in table-, text-, or YAML format.
Exterior Connectivity
One of many earlier variations added the power to attach libvirt-based digital machines straight to the exterior networks (utilizing macvtap interfaces). A couple of days after containerlab carried out macvlan interfaces I used that performance within the clab
supplier – containers began by netlab can now talk instantly with exterior units.
Lastly, I found out it’s not too arduous to implement host-to-VM or host-to-container port forwarding, enabling direct (administration) connectivity to lab units with out connecting the administration community to the surface world.
Upgrading
To get extra particulars and study extra options included in launch 1.6.0, learn the discharge notes. To improve, execute pip3 set up --upgrade networklab
.
New to netlab? Begin with the Getting Began doc and the set up information.
Need assistance? Open a dialogue or an concern in netlab GitHub repository. There’s additionally a netlab channel in networktocode Slack crew, however you’ll get sooner response time reporting your challenges in GitHub.