1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-24 11:18:13 +00:00
thatmattlove-hyperglass/hyperglass/plugins/_builtin
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
..
__init__.py format and lint 2025-06-14 21:44:20 -04:00
bgp_community.py upgrade major dependencies 2024-03-16 23:17:54 -04:00
bgp_route_arista.py logging overhaul 2024-04-01 23:42:07 -04:00
bgp_route_frr.py bgp_route_frr: skip empty route query results 2025-10-04 21:35:17 +02:00
bgp_route_huawei.py format and lint 2025-06-14 21:44:20 -04:00
bgp_route_juniper.py fix logging issues 2024-06-30 23:22:46 -04:00
mikrotik_garbage_output.py closes #262: fix mikrotik error 2024-06-16 16:54:14 -04:00
remove_command.py upgrade major dependencies 2024-03-16 23:17:54 -04:00