Skip to Main Content
Mastering Python Networking - Second Edition
book

Mastering Python Networking - Second Edition

by Eric Chou
August 2018
Intermediate to advanced content levelIntermediate to advanced
466 pages
10h 23m
English
Packt Publishing
Content preview from Mastering Python Networking - Second Edition

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:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python Networking

Mastering Python Networking

Eric Chou
Learning Python Networking - Second Edition

Learning Python Networking - Second Edition

José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington

Publisher Resources

ISBN: 9781789135992Supplemental Content