1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-23 10:48:06 +00:00
thatmattlove-hyperglass/hyperglass/plugins
Tan Siewert 934e8f3146
bgp_route_frr: skip empty route query results
In case a route is not present in the RIB, FRR returns an empty JSON
object:

```
$ vtysh -c "show bgp ipv4 unicast 1.2.3.4 json"
{}
```

Skip these empty objects to prevent the parser from failing.

Signed-off-by: Tan Siewert <tan@siewert.io>
2025-10-04 21:35:17 +02:00
..
_builtin bgp_route_frr: skip empty route query results 2025-10-04 21:35:17 +02:00
external Fix tests 2021-10-04 01:43:02 -07:00
tests format and lint 2025-06-14 21:44:20 -04:00
__init__.py replace flake8 with ruff for linting, refactor issues 2022-12-24 17:53:05 -05:00
_base.py upgrade major dependencies 2024-03-16 23:17:54 -04:00
_input.py remove deprecated pydantic constr usage 2024-05-27 14:41:04 -04:00
_manager.py fix logging issues 2024-06-30 23:22:46 -04:00
_output.py logging overhaul 2024-04-01 23:42:07 -04:00
main.py Fix plugin import error 2021-12-17 20:32:08 -07:00