Learning Byte 001

  • By
  • Published
  • Posted in Africa
  • Updated
  • Post category:Africa
  • Post last modified:November 7, 2025
  • Post author:

Juniper PyEZ Series — 01C: Building junos_lib.py (Beginner Library + Tests)

 

Scope: Intro-level Python + PyEZ. We’ll build a small reusable library (junos_lib.py) that wraps common Junos RPCs, then write tiny test scripts that import and use it. This keeps future posts focused—no repeating boilerplate.

Topics covered: Python modules, safe NETCONF sessions, basic XML parsing → Python dicts/lists, common Junos RPCs: facts, interfaces, LLDP, BGP summary, configuration (set format).

 

Learning Byte 001