1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-29 05:19:20 +00:00
Commit graph

166 commits

Author SHA1 Message Date
Wilhelm Schonfeldt
7a6388bd39 fix: Improve handling of missing data fields in MikroTik BGP parser
- Update MikroTik parser to return -1 for unavailable age data instead of "0"
- Change age property return type from string to int for consistency
- Enhance frontend Age component to display "N/A" when age is -1
- Improve MonoField component to handle empty/undefined values gracefully
- Add appropriate tooltips and styling for missing data indicators

This addresses the issue where MikroTik devices don't provide route age
and source RID information, ensuring the UI displays user-friendly
indicators instead of potentially misleading placeholder values.
2025-09-26 11:55:51 +02:00
Wilhelm Schonfeldt
b2a05994aa fix: Improve error message for community name validation and clean up test formatting 2025-09-26 11:49:27 +02:00
Wilhelm Schonfeldt
eabd98b606 feat: Add BGP community friendly names and enhance RPKI configuration
- Add new 'name' mode for BGP communities to append friendly names
  - New configuration option `structured.communities.mode: name`
  - Community mappings via `structured.communities.names` dictionary
  - Communities display as "65000:1000 - Upstream Any" in UI
  - Backward compatible with existing permit/deny modes

- Enhance RPKI configuration documentation
  - Document both Cloudflare and Routinator backend options
  - Add `structured.rpki.backend` and `structured.rpki.rpki_server_url` parameters
  - Clarify Routinator web API endpoint usage vs RTR port
  - Add comprehensive configuration examples

- Update structured output platform support
  - Document all supported platforms: Arista EOS, FRRouting, Huawei VRP, Juniper Junos, Mikrotik RouterOS/SwitchOS

- Frontend enhancements
  - Parse comma-separated community format in UI components
  - Display friendly names alongside community codes
  - Maintain existing functionality for communities without names

- Add validation and examples
  - Validate that 'name' mode has community mappings configured
  - Include example configuration and test cases
  - Generic examples using ASN 65000 instead of specific networks
2025-09-26 11:32:29 +02:00
Wilhelm Schonfeldt
e78685d8c6 Enhance MikroTik BGP route handling by adding BGPRoute import and simplifying BGPRouteTable initialization 2025-09-26 10:04:56 +02:00
Wilhelm Schonfeldt
ae6a1a0bb8 Refactor code for improved readability and consistency across multiple files using black 2025-09-26 09:43:06 +02:00
Wilhelm Schonfeldt
8131853daa Added broader support for external RPKI validation.
Expanded params config for rpki server URL and backend type for query switching and lookup handling.
Initial support for routinator server API endpoint.
2025-09-25 20:35:47 +02:00
Carlos Santos
b3d4834d3b
Update mikrotik.py rpki ajustado pelo wilhelm_pa 2025-09-17 17:00:45 -03:00
Carlos Santos
bee642697e
Create mikrotik.py 2025-09-13 00:19:57 -03:00
Carlos Santos
2eb9c409d6
Create huawei.py 2025-09-13 00:19:36 -03:00
Jason Hall
cf137bd7e8
format and lint 2025-06-14 21:44:20 -04:00
Jelson Stoelben Rodrigues
23522da754 fix: ensure query_target is transformed after validation
Transformation must occur after validation, or else the transformation will possibly make the validation fail
2025-06-09 21:37:14 -04:00
Chris Wiggins
51c7f9eef6 feat: Add FRR structured output for BGP Routes 2025-06-09 21:12:18 -04:00
cooperwinser
c369af439d Removed Union import 2025-05-17 23:34:15 +10:00
cooperwinser
7135ec3c9c Fix: allow integer values in extCommunityListRaw field for Arista BGP parsing 2024-12-09 12:08:25 +11:00
cooperwinser
2ed949a7a4 Fix: allow integer values in extCommunityListRaw field for Arista BGP parsing 2024-12-09 11:53:19 +11:00
thatmattlove
f340e65082 fix BGP route validation 2024-06-30 23:33:06 -04:00
thatmattlove
08fd310b44 fix issue where pattern rules failed validation 2024-06-16 17:12:54 -04:00
thatmattlove
6d06b9809d (possibly) fix log width issue 2024-06-16 16:59:22 -04:00
thatmattlove
aab4ada723 add support for any DoH provider; closes #254; closes #256 2024-06-01 15:25:41 -04:00
thatmattlove
bfcae89bf0 fix prepending of HYPERGLASS_APP_PATH to values; closes #253 2024-06-01 15:08:59 -04:00
thatmattlove
4b6e6cba70 fix config value overwrite; closes #249 2024-05-31 22:24:41 -04:00
thatmattlove
15ff03806a properly format menu content with configuration parameters 2024-05-28 14:42:45 -04:00
thatmattlove
ee5a418264 fix import sorting 2024-05-27 16:25:47 -04:00
thatmattlove
594d2e90f8 fix container file handling 2024-05-27 16:08:50 -04:00
thatmattlove
e84cc4ac00 remove deprecated pydantic constr usage 2024-05-27 14:41:04 -04:00
thatmattlove
7c398fdf4f remove params.docs.mode field; fix params.docs.path default value 2024-04-02 00:08:06 -04:00
thatmattlove
e6b6ab5812 remove test function 2024-04-01 23:45:56 -04:00
thatmattlove
d2f734ba1c logging overhaul 2024-04-01 23:42:07 -04:00
thatmattlove
d2e1486b5a initial migration to litestar 2024-03-26 23:59:42 -04:00
thatmattlove
e7e8b9b881 update docs 2024-03-25 00:01:16 -04:00
thatmattlove
19bdfe74d0 fix PeeringDB link rendering 2024-03-24 16:50:31 -04:00
thatmattlove
5d39ff054f fix ip validation rule when querying an IPv6 target 2024-03-19 23:27:38 -04:00
thatmattlove
a8476f2ea9 fix import sorting 2024-03-17 16:04:41 -04:00
thatmattlove
74827c02b9 fix unused import 2024-03-17 16:04:00 -04:00
thatmattlove
d706ff1959 fix test fixtures 2024-03-17 15:59:34 -04:00
thatmattlove
77c0a31256 upgrade major dependencies 2024-03-16 23:17:54 -04:00
thatmattlove
20ae02e2e5 fix & clean up api response models 2024-03-03 00:21:08 -05:00
thatmattlove
99ec07d055 fix issues causing test failure 2024-03-01 23:19:08 -05:00
thatmattlove
cd6bf7a162 tooling overhaul 2024-02-27 17:44:19 -05:00
thatmattlove
446853e4a9 countless updates I mostly don't remember. 2023-04-13 23:05:05 -04:00
thatmattlove
a15fe52061 fix typo 2022-12-30 23:40:14 -05:00
thatmattlove
7fd35f5d6f fix device_type selection for linux platforms 2022-12-26 16:23:56 -05:00
thatmattlove
c8c13eea27 migrate legacy builtin commands to directives 2022-12-26 10:57:30 -05:00
thatmattlove
43faa0f8e4 fix zip error 2022-12-24 18:21:25 -05:00
thatmattlove
9c9a8469a4 replace flake8 with ruff for linting, refactor issues 2022-12-24 17:53:05 -05:00
thatmattlove
4dfe5749ae fix import sorting 2022-12-19 16:58:12 -05:00
thatmattlove
f37eb9abf7 add v2 docs, minor refactoring 2022-12-19 14:57:20 -05:00
thatmattlove
fc3ba3a8be clean up unused parameters and start work on 2.0.0 docs 2022-12-12 18:52:39 -05:00
thatmattlove
60429ebbc1 commit previous changes and dep updates 2022-12-11 17:30:20 -05:00
thatmattlove
9300105d9f #142: Start multiple query target implementation 2021-12-23 00:00:35 -07:00