Step 1 validates that access to JUNOS works correctly. This tests:
- IP-layer connectivity between our management host and the JUNOS device,
- That the NETCONF-over-SSH service is running on TCP port 830
- Our ability to create an SSH session with the provided key.
If any of these conditions don’t hold, then we circle back on one of the recipes as described in step 2.
In step 3, we use the apt-get features of Ubuntu in order to download the Python package manager, pip. pip provides a simplistic way of managing external Python packages and modules. In a lot of cases, pip will be installed along with Python and this step may not even be necessary.
Step 4 makes use of pip in order to install PyEZ, which has the Python module name of ...