Network Programmability and Automation by Jason Edelman

Network Programmability and Automation by Jason Edelman

Author:Jason Edelman
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2018-02-01T16:00:00+00:00


You may want to automate the turning on of the API.

Even if you’re automating a device with an API:

It’s good to have a backup plan

Not all operations of a device may be supported with the API.

This is not ideal, as it shows immaturity in the underlying API.

In this section, we show how to get started with a popular open source SSH client for Python called netmiko.

Netmiko’s purpose is to simplify SSH device management specifically for network devices. It is built on top of another library called paramiko.

We’re focused on netmiko, as it provides a lower barrier to entry and already understands how to communicate with a large number of network device types. netmiko has varied support for over two dozen device types, including those from Arista, Brocade, Cisco, Dell, HPE, Juniper, Palo Alto Networks, and many more. The great part about netmiko is that its overall usage is the same across vendors. This is similar to what we saw with ncclient. With the ncclient, the only difference per platform was the XML object sent to the device; with netmiko, the only difference is the commands sent to the device.

Let’s get started with netmiko.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.