Python 归档 - 夜莺博客

标签:Python

TextFSM vs TTP vs Genie: Parsing Show Command Output

TextFSM vs TTP vs Genie: Parsing Show Command Output

Compare TextFSM/NTC Templates, TTP and pyATS Genie for parsing network CLI output, with templates and Netmiko examples for each.

admin admin 2026-10-12
0 0 0
Arista EOS eAPI and pyeapi Automation Guide

Arista EOS eAPI and pyeapi Automation Guide

Automate Arista EOS with eAPI: enable the JSON-RPC API over HTTPS, run enable and config commands with pyeapi, and use the resource APIs for idempoten

admin admin 2026-10-06
0 0 0
Scrapli: Fast Python Network Automation Guide

Scrapli: Fast Python Network Automation Guide

Scrapli is a fast, async-ready Python library for driving network device CLIs. Compare it with Netmiko and build a resilient multi-vendor script step

admin admin 2026-10-05
0 0 0
Netmiko Python Script: Configure Cisco IOS Devices

Netmiko Python Script: Configure Cisco IOS Devices

Write a Netmiko Python script for Cisco IOS: ConnectHandler setup, send_command, send_config_set, commit versus save_config, and session logging.

admin admin 2026-10-03
0 0 0
SuzieQ: Network State Observability with Python

SuzieQ: Network State Observability with Python

Use SuzieQ for network observability: multi-vendor data collection, SQL-like queries, BGP and interface analysis, plus the Python API.

admin admin 2026-09-30
0 0 0
NTC-Templates and TextFSM: Parsing CLI Output

NTC-Templates and TextFSM: Parsing CLI Output

Turn show command output into structured data with TextFSM and NTC-Templates: parse_output usage, writing your own template, and Netmiko integration.

admin admin 2026-09-27
0 0 0
SaltStack for Network Device Configuration Management

SaltStack for Network Device Configuration Management

Use SaltStack to manage network devices at scale: proxy minions, NAPALM and Junos execution modules, states, grains and a first templated push.

admin admin 2026-09-27
0 0 0
Batfish: Validate Network Config Changes Offline

Batfish: Validate Network Config Changes Offline

Use Batfish to validate configuration changes before deployment: create snapshots, run reachability and differentialReachability queries over real con

admin admin 2026-09-27
0 0 0
Junos PyEZ: Python Automation over NETCONF

Junos PyEZ: Python Automation over NETCONF

Automate Juniper devices with Junos PyEZ: connect over NETCONF, use configuration utilities for safe changes, load operational tables, handle errors.

admin admin 2026-09-24
0 0 0
Cisco IOS-XE Guest Shell: On-Box Python Automation

Cisco IOS-XE Guest Shell: On-Box Python Automation

Enable and use IOS-XE Guest Shell for on-box automation: IOX prerequisites, container networking, running Python and bash, and NETCONF from inside the

admin admin 2026-09-24
0 0 0
1 2