Technical requirements
For this chapter and the remainder of the book, you'll require an installation of Python. Specifically, you'll need a Python interpreter of version 3.6.1 or higher. This book makes use of the language constructs of Python 3 and, therefore, is incompatible with Python 2.x. Please also install the napalm
package (that is, python3 -m pip install napalm
). At the time of writing, we are using the latest version of napalm
, which is version 3.2.0. You can install this exact version by issuing python3 -m pip install ncclient==3.2.0
. All of the code examples have been developed and tested on a Mac OS X machine that is running Mac OS X version 10.15.4.
You will also need a code editor. Some popular choices include Microsoft Visual Studio Code or Notepad++. Additionally, you'll need a device (either virtual or physical) that you can log in to via SSH.
You can view this chapter's code in action here: https://bit.ly/3iLeyU1