Network Programmability and Automation

Network Programmability and Automation PDF

Author: Jason Edelman

Publisher: "O'Reilly Media, Inc."

Published: 2018-02-02

Total Pages: 842

ISBN-13: 1491931310

DOWNLOAD EBOOK →

Like sysadmins before them, network engineers are finding that they cannot do their work manually anymore. As the field faces new protocols, technologies, delivery models, and a pressing need for businesses to be more agile and flexible, network automation is becoming essential. This practical guide shows network engineers how to use a range of technologies and tools—including Linux, Python, JSON, and XML—to automate their systems through code. Network programming and automation will help you simplify tasks involved in configuring, managing, and operating network equipment, topologies, services, and connectivity. Through the course of the book, you’ll learn the basic skills and tools you need to make this critical transition. This book covers: Python programming basics: data types, conditionals, loops, functions, classes, and modules Linux fundamentals to provide the foundation you need on your network automation journey Data formats and models: JSON, XML, YAML, and YANG for networking Jinja templating and its applicability for creating network device configurations The role of application programming interfaces (APIs) in network automation Source control with Git to manage code changes during the automation process How Ansible, Salt, and StackStorm open source automation tools can be used to automate network devices Key tools and technologies required for a Continuous Integration (CI) pipeline in network operations

Network Programmability and Automation Fundamentals

Network Programmability and Automation Fundamentals PDF

Author: Khaled Abuelenain

Publisher: Cisco Press

Published: 2021-05-06

Total Pages: 2820

ISBN-13: 0135184266

DOWNLOAD EBOOK →

Modernize and optimize network management with APIs and automation Legacy network management approaches don't scale adequately and can't be automated well. This guide will help meet tomorrow's challenges by adopting network programmability based on Application Programming Interfaces (APIs). Using these techniques, you can improve efficiency, reliability, and flexibility; simplify implementation of high-value technologies; automate routine administrative and security tasks; and deploy services far more rapidly. Four expert authors help you transition from a legacy mindset to one based on solving problems with software. They explore today's emerging network programmability and automation ecosystem; introduce each leading programmable interface; and review the protocols, tools, techniques, and technologies that underlie network programmability. You'll master key concepts through hands-on examples you can run using Linux, Python, Cisco DevNet sandboxes, and other easily accessible tools. This guide is for all network architects, engineers, operations, and software professionals who want to integrate programmability into their networks. It offers valuable background for Cisco DevNet certification—and skills you can use with any platform, whether you have software development experience or not. Master core concepts and explore the network programmability stack Manage network software and run automation scripts in Linux environments Solve real problems with Python and its Napalm and Nornir automation frameworks Make the most of the HTTP protocol, REST architectural framework, and SSH Encode your data with XML, JSON, or YAML Understand and build data models using YANG that offer a foundation for model-based network programming Leverage modern network management protocols, from gRPC and gNMI to NETCONF and RESTCONF Meet stringent service provider KPIs in large-scale, fast-changing networks Program Cisco devices running IOS XE, IOS XR, and NX-OS as well as Meraki, DNA Center, and Webex platforms Program non-Cisco platforms such as Cumulus Linux and Arista EOS Go from “zero to hero” with Ansible network automation Plan your next steps with more advanced tools and technologies

Network Programmability with YANG

Network Programmability with YANG PDF

Author: Benoit Claise

Publisher: Addison-Wesley Professional

Published: 2019-05-10

Total Pages: 937

ISBN-13: 0135180619

DOWNLOAD EBOOK →

Today, networks must evolve and scale faster than ever. You can’t manage everything by hand anymore: You need to automate relentlessly. YANG, along with the NETCONF, RESTCONF, or gRPC/gNMI protocols, is the most practical solution, but most implementers have had to learn by trial and error. Now, Network Programmability with YANG gives you complete and reliable guidance for unlocking the full power of network automation using model-driven APIs and protocols. Authored by three YANG pioneers, this plain-spoken book guides you through successfully applying software practices based on YANG data models. The authors focus on the network operations layer, emphasizing model-driven APIs, and underlying transports. Whether you’re a network operator, DevOps engineer, software developer, orchestration engineer, NMS/OSS architect, service engineer, or manager, this guide can help you dramatically improve value, agility, and manageability throughout your network. Discover the value of implementing YANG and Data Model-Driven Management in your network Explore the layers and components of a complete working solution Build a business case where value increases as your solution grows Drill down into transport protocols: NETCONF, RESTCONF, and gNMI/gRPC See how telemetry can establish a valuable automated feedback loop Find data models you can build on, and evaluate models with similar functionality Understand models, metadata, and tools from several viewpoints: architect, operator, module author, and application developer Walk through a complete automation journey: business case, service model, service implementation, device integration, and operation Leverage the authors’ experience to design successful YANG models and avoid pitfalls

Programming and Automating Cisco Networks

Programming and Automating Cisco Networks PDF

Author: Ryan Tischer

Publisher: Cisco Press

Published: 2016-09-09

Total Pages: 835

ISBN-13: 0134436768

DOWNLOAD EBOOK →

Improve operations and agility in any data center, campus, LAN, or WAN Today, the best way to stay in control of your network is to address devices programmatically and automate network interactions. In this book, Cisco experts Ryan Tischer and Jason Gooley show you how to do just that. You’ll learn how to use programmability and automation to solve business problems, reduce costs, promote agility and innovation, handle accelerating complexity, and add value in any data center, campus, LAN, or WAN. The authors show you how to create production solutions that run on or interact with Nexus NX-OS-based switches, Cisco ACI, Campus, and WAN technologies.You’ll learn how to use advanced Cisco tools together with industry-standard languages and platforms, including Python, JSON, and Linux. The authors demonstrate how to support dynamic application environments, tighten links between apps and infrastructure, and make DevOps work better. This book will be an indispensable resource for network and cloud designers, architects, DevOps engineers, security specialists, and every professional who wants to build or operate high-efficiency networks. Drive more value through programmability and automation, freeing resources for high-value innovation Move beyond error-prone, box-by-box network management Bridge management gaps arising from current operational models Write NX-OS software to run on, access, or extend your Nexus switch Master Cisco’s powerful on-box automation and operation tools Manage complex WANs with NetConf/Yang, ConfD, and Cisco SDN Controller Interact with and enhance Cisco Application Centric Infrastructure (ACI) Build self-service catalogs to accelerate application delivery Find resources for deepening your expertise in network automation

Mastering Python Networking

Mastering Python Networking PDF

Author: Eric Chou

Publisher: Packt Publishing Ltd

Published: 2020-01-30

Total Pages: 577

ISBN-13: 1839218673

DOWNLOAD EBOOK →

New edition of the bestselling guide to mastering Python Networking, updated to Python 3 and including the latest on network data analysis, Cloud Networking, Ansible 2.8, and new libraries Key FeaturesExplore the power of Python libraries to tackle difficult network problems efficiently and effectively, including pyATS, Nornir, and Ansible 2.8Use Python and Ansible for DevOps, network device automation, DevOps, and software-defined networkingBecome an expert in implementing advanced network-related tasks with Python 3Book Description Networks in your infrastructure set the foundation for how your application can be deployed, maintained, and serviced. Python is the ideal language for network engineers to explore tools that were previously available to systems engineers and application developers. In Mastering Python Networking, Third edition, you'll embark on a Python-based journey to transition from traditional network engineers to network developers ready for the next-generation of networks. This new edition is completely revised and updated to work with Python 3. In addition to new chapters on network data analysis with ELK stack (Elasticsearch, Logstash, Kibana, and Beats) and Azure Cloud Networking, it includes updates on using newer libraries such as pyATS and Nornir, as well as Ansible 2.8. Each chapter is updated with the latest libraries with working examples to ensure compatibility and understanding of the concepts. Starting with a basic overview of Python, the book teaches you how it can interact with both legacy and API-enabled network devices. You will learn to leverage high-level Python packages and frameworks to perform network automation tasks, monitoring, management, and enhanced network security followed by Azure and AWS Cloud networking. Finally, you will use Jenkins for continuous integration as well as testing tools to verify your network. What you will learnUse Python libraries to interact with your networkIntegrate Ansible 2.8 using Python to control Cisco, Juniper, and Arista network devicesLeverage existing Flask web frameworks to construct high-level APIsLearn how to build virtual networks in the AWS & Azure CloudLearn how to use Elastic Stack for network data analysisUnderstand how Jenkins can be used to automatically deploy changes in your networkUse PyTest and Unittest for Test-Driven Network Development in networking engineering with PythonWho this book is for Mastering Python Networking, Third edition is for network engineers, developers, and SREs who want to use Python for network automation, programmability, and data analysis. Basic familiarity with Python programming and networking-related concepts such as Transmission Control Protocol/Internet Protocol (TCP/IP) will be useful.

Network Programmability and Automation, Volume 1

Network Programmability and Automation, Volume 1 PDF

Author: Khaled Abuelenain

Publisher: Networking Technology

Published: 2020-09

Total Pages: 800

ISBN-13: 9781587145148

DOWNLOAD EBOOK →

Network Programmability and Automation, Volume 1, covers designing, implementing, monitoring and operating networks using programmable interfaces on network devices versus the legacy (and soon-to-be obsolete) methods and protocols such as the Command Line Interface (CLI) and Simple Network Management Protocol (SNMP). It discusses the protocols, tools, techniques and technologies upon which Network Programmability is based. Covering the fundamentals that a network engineer needs to transition to the software and programmability domains, the book opens with an introduction that lays the foundation by discussing the market trends and emerging technologies such as SDN, NFV and Cloud, and how network programmability skills are paramount for aligning oneself with these technologies. It provides network engineers with a solid foundation in Python programming and Linux in the context of network programmability and automation.

Python Network Programming Techniques

Python Network Programming Techniques PDF

Author: Marcel Neidinger

Publisher: Packt Publishing Ltd

Published: 2021-10-08

Total Pages: 341

ISBN-13: 1838640479

DOWNLOAD EBOOK →

Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and open-source packages Key FeaturesExplore different Python packages to automate your infrastructureLeverage AWS APIs and the Python library Boto3 to administer your public cloud network efficientlyGet started with infrastructure automation by enhancing your network programming knowledgeBook Description Network automation offers a powerful new way of changing your infrastructure network. Gone are the days of manually logging on to different devices to type the same configuration commands over and over again. With this book, you'll find out how you can automate your network infrastructure using Python. You'll get started on your network automation journey with a hands-on introduction to the network programming basics to complement your infrastructure knowledge. You'll learn how to tackle different aspects of network automation using Python programming and a variety of open source libraries. In the book, you'll learn everything from templating, testing, and deploying your configuration on a device-by-device basis to using high-level REST APIs to manage your cloud-based infrastructure. Finally, you'll see how to automate network security with Cisco's Firepower APIs. By the end of this Python network programming book, you'll have not only gained a holistic overview of the different methods to automate the configuration and maintenance of network devices, but also learned how to automate simple to complex networking tasks and overcome common network programming challenges. What you will learnProgrammatically connect to network devices using SSH (secure shell) to execute commandsCreate complex configuration templates using PythonManage multi-vendor or multi-device environments using network controller APIs or unified interfacesUse model-driven programmability to retrieve and change device configurationsDiscover how to automate post modification network infrastructure testsAutomate your network security using Python and Firepower APIsWho this book is for This book is for network engineers who want to make the most of Python to automate their infrastructure. A basic understanding of Python programming and common networking principles is necessary.

Foundations of Python Network Programming

Foundations of Python Network Programming PDF

Author: John Goerzen

Publisher: Apress

Published: 2004-08-16

Total Pages: 520

ISBN-13: 1430207523

DOWNLOAD EBOOK →

* Covers low-level networking in Python —essential for writing a new networked application protocol. * Many working examples demonstrate concepts in action -- and can be used as starting points for new projects. * Networked application security is demystified. * Exhibits and explains multitasking network servers using several models, including forking, threading, and non-blocking sockets. * Features extensive coverage of Web and E-mail. Describes Python's database APIs.

Network Automation Made Easy

Network Automation Made Easy PDF

Author: Ivo Pinto

Publisher: Cisco Press

Published: 2021-11-04

Total Pages: 651

ISBN-13: 0137506678

DOWNLOAD EBOOK →

Practical strategies and techniques for automating network infrastructure As networks grow ever more complex, network professionals are seeking to automate processes for configuration, management, testing, deployment, and operation. Using automation, they aim to lower expenses, improve productivity, reduce human error, shorten time to market, and improve agility. In this guide, expert practitioner Ivo Pinto presents all the concepts and techniques you'll need to move your entire physical and virtual infrastructure towards greater automation and maximize the value it delivers. Writing for experienced professionals, the author reviews today's leading use cases for automation, compares leading tools, and presents a deep dive into using the open source Ansible engine to automate common tasks. You'll find everything you need: from practical code snippets to real-world case studies to a complete methodology for planning strategy. This guide is for everyone seeking to improve network operations and productivity, including system, network, storage, and virtualization administrators, network and security engineers, and many other technical professionals and managers. You can apply its vendor-neutral concepts throughout your entire environment—from servers to the cloud, switches to security. Explore modern use cases for network automation, and compare today's most widely used automation tools Capture essential data for use in network automation, using standard formats such as JSON, XML, and YAML Get more value from the data your network can provide Install Ansible and master its building blocks, including plays, tasks, modules, variables, conditionals, loops, and roles Perform common networking tasks with Ansible playbooks: manage files, devices, VMs, cloud constructs, APIs, and more See how Ansible can be used to automate even the largest global network architectures Discover how NetDevOps can transform your approach to automation--and create a new NetDevOps pipeline, step by step Build a network automation strategy from the ground up, reflecting lessons from the world's largest enterprises

Network Programmability and Automation

Network Programmability and Automation PDF

Author: Matt Oswalt

Publisher: "O'Reilly Media, Inc."

Published: 2022-06-23

Total Pages: 837

ISBN-13: 1098110781

DOWNLOAD EBOOK →

Network engineers are finding it harder than ever to rely solely on manual processes to get their jobs done. New protocols, technologies, delivery models, and the need for businesses to become more agile and flexible have made network automation essential. The updated second edition of this practical guide shows network engineers how to use a range of technologies and tools, including Linux, Python, APIs, and Git, to automate systems through code. This edition also includes brand new topics such as network development environments, cloud, programming with Go, and a reference network automation architecture. Network Programmability and Automation will help you automate tasks involved in configuring, managing, and operating network equipment, topologies, services, and connectivity. Through the course of the book, you'll learn the basic skills and tools you need to make this critical transition. You'll learn: Programming skills with Python and Go: data types, conditionals, loops, functions, and more How to work with Linux-based systems, the foundation for modern networking and cloud platforms Data formats and models: JSON, XML, YAML, and YANG Jinja templating for creating network device configurations The role of application programming interfaces (APIs) in network automation Source control with Git to manage code changes during the automation process Cloud-native technologies like Docker and Kubernetes How to automate network devices and services using Ansible, Salt, and Terraform Tools and technologies for developing and continuously integrating network automation