Install System Software¶
netlab install uses internal installation scripts to install nice-to-have Ubuntu software, Ansible and related networking libraries, or libvirt+vagrant.
The ubuntu and libvirt installation scripts run only on Ubuntu[1] and Debian[2], the ansible installation script should run in any environment with bash and pip3.
Usage¶
usage: netlab install [-h] [-v] [-q] [-y] [{ubuntu,containerlab,ansible,grpc,libvirt} ...]
Install additional software
positional arguments:
{ubuntu,containerlab,ansible,grpc,libvirt}
Run the specified installation script
optional arguments:
-h, --help show this help message and exit
-v, --verbose Verbose logging
-q, --quiet Be as quiet as possible
-y, --yes Run the script without prompting for a confirmation
Installation Scripts¶
ubuntu script installs Python3 development components that might be needed for Ansible installation, common tools like git and sshpass, and XML libraries.
ansible script uses pip to install the latest version of Ansible, networking libraries (netaddr, paramiko, netmiko), text parsing libraries (testfsm, ttp, ntc-templates), and a few other utility libraries (jmespath, yamllint, yq)
libvirt script installs libvirt and supporting libraries/packages, vagrant, vagrant-libvirt plugin, and creates the vagrant-libvirt virtual network.
containerlab script installs Docker Engine and containerlab.
grpc installs gRPC Python libraries needed to configure Nokia SR Linux and Nokia SR OS.