Pseudo-Math to Measure Network Fragility Risk
Some of you may have heard me ranting on Packet Pushers on stupid network tricks and why we continue to be forced to implement kluges as a result. I made some comment about trying to come up with some metric to help measure the deviation of the network from the “golden” desired state to the dirty, dirty thing that it’s become over time due to kluges and just general lack of network hygiene.
So I decided that I would write a bit of code to get the conversation started. All code discussed is available on my github here
The Idea
What I wanted here was to create some pseudo-mathematical way of generating a measurement that can communicate to the management structure WHY the requested change is a really, really, bad idea.
Imagine these two conversations:
Which conversation would you like to be part of?
Assumptions:
I’m making some assumptions here that I think it’s important to talk about.
- You have a source-of-truth defined for your network state. That is you have abstracted your network state into some YAML files or something like that.
- You have golden configurations defined in templates (ex Jinja2 ). These templates can be combined with your Continue reading


The private cloud titan is a convert to hybrid cloud.
Yay, another acronym! Software-Defined Access (SDA).
GoTo is nearly gone, and that makes the math complicated.