Open hslabbert opened 7 years ago
I threw a try/except around the relevant sections in graph.py and I can complete a run now. It's not necessarily the cleanest, but at least as a PoC it works. I opted to just pass
the except
statements, as the closing return 0
will be default not return the network/IP as valid if we get through to the end of is_node_allowed()
.
Forked this over to https://github.com/hslabbert/mnet/commit/fdcfcfd7af61c7858b4de05fe12d8f8c3c7a94d3. Let me know if you want a PR or if you'd prefer a cleaner way around this.
Getting this on a graph walk using current master (0.8.2; https://github.com/MJL85/mnet/commit/3ed921f1af5519e66e3bd840dbb8e99d5b97de9a).
I don't know which node would be reporting that, but I'm assuming some kit somewhere is reporting a bad IP in CDP adjacency. We have some IBM kit in there somewhere, and I would be shocked if they report anything worthwhile/valid, so possible that's the issue.
I'm assuming this would be a try/except to grab this in graph.py?