Unit Testing Junos with JSNAPy
I’ve been passionate about the idea of proactively testing network infrastructure for some time. I revived and added to these ideas in my last post. In that post’s video, I lay out three types of network testing in my presentation:
- Config-Centric - Verify my network is configured correctly
- State-Centric - Verify the network has the operational state I expect
- Application-Centric - Verify my applications can use the network in the way I expect
In the same way a software developer might write tests in Python or Go that describe and effect desired behavior, the network engineer now has a growing set of tools they can use to make assertions about what “should be” and constantly be made aware of deviations. One of those tools popped up on my radar this week - jsnapy.
JSNAPy
JSNAPy describes itself as the python version of the Junos snapshot administrator. While this isn’t untrue, I think it’s a huge undersell. In my view, the assertions you can make on the data retrieved via these snapshots is where JSNAPy really shines. So in order to conceptually understand JSNAPy, I’d recommend you think of it as as a generic assertion engine for Junos, and the snapshots Continue reading

The acquisition expands GTT's software-defined networking services.
Several carriers including Nokia, BT, and Deutsche Telekom will trial the technologies.
SD-WAN sales have increased Verizon's MPLS usage.
One use case mentioned was to replace WiFi with 5G and 4G LTE.
The operator is working with Nokia and Intel on its vRAN 2.0 architecture.