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

Network continuous integration example

In this section, let's integrate our GitHub repository with Jenkins. By integrating the GitHub repository, we can take advantage of the GitHub code review and collaboration tools.

First, we will create a new GitHub repository, I will call this repository chapter12_example2. We can clone this repository locally and add the files we wanted to the repository. In this case, I am adding an Ansible playbook that copies the output of the show version command to a file:

$ cat chapter12_playbook.yml---- name: show version  hosts: "ios-devices"  gather_facts: false  connection: local  vars:    cli:      host: "{{ ansible_host }}"      username: "{{ ansible_user }}"      password: "{{ ansible_password }}"  tasks: - name: show version ...
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