First job for the Python script

For our first job, let's use the Parmiko script that we built in Chapter 2, Low-Level Network Device Interactions, chapter2_3.py. If you recall, this is a script that uses Paramiko to ssh to the remote devices and grabs the show run and show version output of the devices:

$ lschapter12_1.py$ python3 /home/echou/Chapter12/chapter12_1.py...$ lschapter12_1.py iosv-1_output.txt iosv-2_output.txt

We will use the create new job link to create the job and pick the Freestyle project option:

Example 1 freestyle project

We will leave everything as default and unchecked; select Execute shell as the build option:

Get Mastering Python Networking - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.