Skip to content
LinuxOak
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About
  • Toggle website search
Menu Close
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About
  • Toggle website search
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About

Network

  1. Home>
  2. Network
Network / Python

NAPALM: One API for Cisco, Arista, and Juniper

NAPALM gives network engineers one Python API across Cisco, Arista, and Juniper — normalized getters plus config diff, commit, and rollback for safe multi-vendor automation.

0 Comments
June 4, 2026
Network / Python

Multi-Vendor SSH with Netmiko: send_command and send_config_set

Netmiko makes router SSH automation easy: send_command with TextFSM parsing, send_config_set for changes, save_config, enable mode, and fleet-wide pushes with error isolation.

0 Comments
June 3, 2026
Network / Python

SSH Automation with Paramiko: Your First Hello, Router in Python

Drive a real SSH session to a router from Python with Paramiko — exec_command vs invoke_shell, disabling paging, handling auth failures, and a reusable connect-and-run helper.

Comments Off on SSH Automation with Paramiko: Your First Hello, Router in Python
June 2, 2026
Network / Python

Socket Programming Basics: A Tiny TCP Port Reachability Checker in Python

Build a TCP port reachability checker with Python's socket module — connect_ex, timeouts, DNS resolution, and a management-plane service audit across a device list.

Comments Off on Socket Programming Basics: A Tiny TCP Port Reachability Checker in Python
June 1, 2026
Network / Python

subprocess: Wrapping ping, traceroute, and nslookup in Python

Run ping, traceroute, and nslookup from Python with subprocess.run — capture output, check return codes, set timeouts, and avoid shell-injection bugs.

Comments Off on subprocess: Wrapping ping, traceroute, and nslookup in Python
May 31, 2026
Network / Python

Regex with re: Extracting Counters and Parsing show Output in Python

Use Python's re module to pull IPs, MACs, interface counters, and BGP states out of show command output — with named groups and the metacharacters that cover most network parsing.

Comments Off on Regex with re: Extracting Counters and Parsing show Output in Python
May 30, 2026
Network / Python

The ipaddress Module: Subnets, Supernets, and Host Iteration in Python

Python's built-in ipaddress module handles subnets, host iteration, overlap detection, and subnetting for network engineers — no pip install required.

Comments Off on The ipaddress Module: Subnets, Supernets, and Host Iteration in Python
May 29, 2026
Firewalls / Network / Security

How to Connect Any Device to OPNsense OpenVPN: iOS, Android, macOS, Windows, and Linux

A complete, device-agnostic walkthrough for building a road-warrior OpenVPN server on an OPNsense firewall (running on a Zimaboard), then connecting iPhone, Android, MacBook, Windows, and Linux clients to your home network.

Comments Off on How to Connect Any Device to OPNsense OpenVPN: iOS, Android, macOS, Windows, and Linux
May 20, 2026
Network / Python

Files, Exceptions, and Logging — Robust Scripts That Don’t Lie to You

Day 7 closes Week 1 of the Python for Network Engineers series. Read and write files cleanly with `with`, catch only the exceptions you mean, and use the standard logging module so your scripts leave a real paper trail.

Comments Off on Files, Exceptions, and Logging — Robust Scripts That Don’t Lie to You
May 10, 2026
Network / Python

Functions and Modules — Building Reusable Network Helpers

Day 6 of the Python for Network Engineers series. Define functions, use *args/**kwargs the way Netmiko expects, write your first reusable module, and learn the __name__ == '__main__' guard.

Comments Off on Functions and Modules — Building Reusable Network Helpers
May 9, 2026
  • 1
  • 2
  • 3
  • 4
  • Go to the next page
  • NAPALM: One API for Cisco, Arista, and Juniper
    In Network, Python
    June 4, 2026
  • Multi-Vendor SSH with Netmiko: send_command and send_config_set
    In Network, Python
    June 3, 2026
  • SSH Automation with Paramiko: Your First Hello, Router in Python
    In Network, Python
    June 2, 2026
  • Socket Programming Basics: A Tiny TCP Port Reachability Checker in Python
    In Network, Python
    June 1, 2026
  • subprocess: Wrapping ping, traceroute, and nslookup in Python
    In Network, Python
    May 31, 2026
LinuxOak © 2024