All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- The
external_link
,help
, andterms
parameters no longer exist and have been replaced with genericlinks
andmenus
options. - The transitionary
frr_ssh
andbird_ssh
NOS parameters no longer exist —frr
andbird
can now be used for SSH-based connectivity. hyperglass-agent users must now usefrr_legacy
andbird_legacy
until hyperglass-agent is fully deprecated.
- #139: Fix an issue where the API cannot be queried by device name.
- Updated UI dependencies
- #140: Genericize links and menus so that multiple links and/or menus can be defined and fully customized.
NodeJS 14.15 or later is required. See the docs for installation instructions.
- #135: Fix an issue where Juniper indirect next-hops were empty.
- Fix an issue where Juniper structured AS_PATH or Community queries would appear to fail if one address family (IPv4 or IPv6) had an empty response. For example, if an AS_PATH query for
.* 29414 .*
was made (which only returns IPv4 routes), the query would fail.
- Updated major Python dependencies (FastAPI, Scrapli, Netmiko, Pydantic, Uvicorn, Gunicorn, etc.)
- Updated UI dependencies
- #128: Add
best
to all Juniper BGP Route queries. See Juniper docs for more details.
- The driver for devices can now be overridden with the
driver
parameter.
- #124: Fix an issue where networks weren't always sorted alphabetically.
- #126: Fix rendering of markdown tables.
- #132: Fix an issue where iBGP routes on Arista devices caused output parsing to fail.
- #133: Use body styles for background/foreground color, allowing the user to override the
light
anddark
colors per the docs. - Fix an issue with select menu list style.
- Fix an issue where the UI did not properly filter and detect the correct Query VRF when only one was defined.
- #121: Fix issue with select menu styling in light mode.
Major changes have been made to how VRFs are defined and handled. Previously, you would signal to hyperglass that a VRF was the "default" VRF (meaning, a VRF does not need to be specified in any commands) by setting name: default
in the VRF block. This limitation meant that a VRF named default
had to be defined, and that any users who keep their global routing table in a non-default VRF must define it separately.
Moving forward, the name
field is only used to define the name of the VRF as known by the device. To signal that hyperglass should use the device's default VRF, set default: true
on the VRF. This is not the default.
- Fix an issue where long-running commands, such as traceroutes that never complete, time out and display an error instead of the output.
- Don't do external RPKI lookups for non global unicast prefixes.
- Migrate to palette-by-numbers for theming.
- Update UI dependencies.
- Experimental table output/structured data support for Arista EOS.
- Corrected warning color on active routes in table output.
- Caught fetch errors now display the HTTP status text in the UI, instead of the caught error message.
POTENTIALLY BREAKING CHANGE: The device display_name
field is being deprecated, in favor of a single name
field, which will be displayed to the end user. The display_name
field still works, but you should migrate away from it as soon as possible.
- #117: Fix naming and mapping of the Arista EOS driver.
arista
andarista_eos
will both work now.
- Removed
display_name
field from device model. Thename
field will be used in the UI. If adisplay_name
is defined, it will be used, for backwards compatibility.
NOTICE: hyperglass-agent will be deprecated soon. Use frr_ssh
or bird_ssh
for SSH connectivity in the meantime.
- FRR & BIRD may now be accessed via standard SSH using the
frr_ssh
andbird_ssh
NOS. See the docs for important caveats.
port
indevices.yaml
now defaults to 22 if not specified.
- AS Path graph view now uses dagre to properly arrange each AS.
- Added timeout argument to
hyperglass start --build
- fixes issue where running a UI build in this way failed due to a missing timeout argument error.
- Default UI build timeout is now 180 seconds.
- The hyperglass
build-ui
CLI command now accepts a--timeout
argument to override the UI build timeout.
- The Scrapli driver no longer specifically ignores the system's SSH config file.
- Updated UI dependencies.
- #109: Remove the custom error page, because it doesn't work and doesn't really add much.
- #106: Add built-in support for Nokia SR OS (thanks @paunadeu!).
- #105: Check NodeJS version on startup to ensure the minimum supported version is present.
- Update UI dependencies.
- #107: Fix footer menu styling so it doesn't overflow the viewport, especially on mobile.
- #104: Handle the usage of
juniper_junos
as a NOS.juniper_junos
will now automatically be mapped tojuniper
. - Fix an issue with dual RP juniper devices and structured output, where output containing
{master}
outside of the XML output was improperly stripped out, causing a parsing failure.
- BREAKING: The installer no longer generates a Systemd service file. While this was likely convenient for most, it introduced significant complexity and caused most installations using
~/hyperglass
as the app path to fail, with no clear way to resolve it. Further, while Systemd is arguably the most common, it is not the only process manager available. As such, the docs will be updated with a Systemd example, much like the current reverse proxy documentation.
- Added Google Analytics Support. Use the
google_analytics
field for the tracking ID inhyperglass.yaml
.
- Minor frontend code improvements.
- #100: Fix result panel bug where incorrect panels would open, or panels would not open at all. Resolved by accessing internal state of the
Accordion />
component viauseAccordionContext()
instead of directly changing the index prop via state.
- Query results now automatically cancel when each result panel unmounts (e.g. when one clicks the back button).
- Fix Safari browser-specific issues
- Setup no longer fails when
commands.yaml
doesn't exist, even though it isn't needed.
- Setup no longer adds example files
- Fix handling of
web.theme.default_color_mode
. Starting in 1.0.0-beta.65, it was completely ignored and used the library's default oflight
. Now, it's handled properly. - Fix table output layout issues, particularly on mobile.
- Fixed Safari browser-specific issues
- Fixed mobile layout issues
web.theme.colors.black
andweb.theme.colors.white
are nowweb.theme.colors.dark
andweb.theme.colors.light respectively
- #72: EXPERIMENTAL BGP map support for devices supporting structured output (Juniper Junos, currently).
- Fix an issue causing Juniper Junos BGP output parsing to fail if the XML output contains a banner.
web.text.title
andweb.text.subtitle
now carry a 32 character limit for simpler styling.- Various UI layout, styling improvements, and stability improvements.
- Fix an issue causing hyperglass custom exceptions to not be properly raised, which caused more generic error messages in the UI/API.
- Fix an issue causing exceptions not to be logged to the log file (but logged to stdout).
When hyperglass starts up, it will check to see if ~/hyperglass
or /etc/hyperglass/
exists. Previously, it would silently choose the first one found, even if both exist. Now, if both exist, an exception is raised with instruction to delete one of them. If your system has both directories, hyperglass may not start up normally after you upgrade.
- Fix a DNS resolution issue which caused Debian systems to be unable to resolve the hostnames of any devices. This was due to differences in how the Python socket module works on Debian vs other distros (even Ubuntu).
- #90: Fix a typing error that caused ping & traceroute queries to fail for certain devices.
- #82: Add support for Redis password authentication. Authentication can be configured in the following manner:
# hyperglass.yaml
cache:
password: examplepassword
This would correspond with the following stanza in the Redis configuration file:
requirepass examplepassword
- Native Mikrotik support.
hyperglass clear-cache
command for easy manual clearing of the Redis cache.
- Improve output parsing scalability - parsers can now be defined on a per-NOS basis regardless of whether or not structured-data is used.
- Restructure model locations & importing to remove some complexities.
- #79: Run the UI build on startup & clarify docs.
- Removed all f-strings from log messages.
- Migrate icon library to @meronex/icons for better tree-shaking.
- Improve console (stdout) logging
- Fix file logging format
- #74: Fix UI build failures caused by
.alias.js
. - #75: Fix whitespace stripping of query target.
- #77: Allow dashes in FQDN validation pattern.
- #83: Fix lack of support for
protocol-nh
field in Juniper XML BGP table.
If you use hyperglass-agent, you must upgrade your version of hyperglass-agent to 0.1.6 or later. If using hyperglass-agent with SSL, this release will require you to re-generate & re-send your SSL certificates to hyperglass:
$ hyperglass-agent certificate
$ hyperglass-agent send-certificate
- Verify a device's address is either an IPv4 or IPv6 address, or a resolvable hostname.
- Devices using hyperglass-agent (FRR, BIRD) no longer need to use a DNS-resolvable hostname in the
address:
field, as long as the certificate has been generated by hyperglass-agent, and the proper IP addresses were selected during the prompts to generate the certificate. If using your own certificate and you want to connect to hyperglass-agent via an IP address instead of a hostname, you need to ensure the IP address of hyperglass-agent is listed as a Subject Alternative Name in the certificate extensions. - Refactored device, query, proxy models to no longer scrub unsupported characters from the device name for the purposes of Python class attribute accessing.
- Updated hyperglass-agent docs.
- Improved Gunicorn address formatting.
- Improved Redis connection error handling.
- #56: Fix a silent Redis connection error if the Redis server was anything other than
localhost
, preventing hyperglass from starting.
- Removed JS favicon build process in favor of native Python implementation (favicons)
- Queries to hyperglass-agent devices failed due to the error
AttributeError: 'AgentConnection' object has no attribute 'collect'
- BREAKING CHANGE: Scrapli is now used for SSH connectivity to Cisco IOS, Cisco IOS-XE, Cisco IOS-XR, Cisco NX-OS Juniper Junos, and Arista EOS, which should improve the speed at which output is gathered from devices. As of this release, Cisco IOS/IOS-XE and Juniper Junos have been directly tested and worked without issue. However, if you discover any anomalies with any of these operating systems, please open an issue.
- Refactor of SSH & HTTPS command execution to enable pluggable underlying driver capabilities.
- Remove
aiofile
dependency by removing unnecessary asyncio file operations in the UI build process. - Added
scrapli[asyncssh]
dependency for Scrapli driver support.
- UI: Error messages couldn't be copied with the copy button
- API route
/api/info
, which displays general system information such as the name of the organization and version of hyperglass. - API docs configuration parameters for the
/api/info
route. - #63: Minimum RAM requirements.
hyperglass system-info
CLI command to gather system CPU, Memory, Disk, Python Version, hyperglass Version, & OS info. Note: this information is only gathered if you run the command, and even then, is printed to the console and not otherwise shared or exported.
- Updated docs dependencies.
- Improved YAML alias & anchor docs.
- #55: Removed YAML alias & anchors from default examples to avoid confusion.
- API docs logo URL now displays correctly.
- #62: Added
epel-release
to CentOS installation instructions. - #59: Fixed copy output for Juniper devices on non-table output query types.
- hyperglass-agent #6: Fixed hyperglass-agent documentation issues.
- Improve command customization docs.
- #61: Fixed copy output for table data. Output is now a bulleted list of parsed data.
- Improved config import process & error handling.
- Improved logging initialization so that noisy logs aren't generated on startup unless debugging is enabled.
- #54: A Junos parsing error caused routes with no communities to raise an error.
- Pre-validated config files are no longer logged on startup unless debugging is enabled.
- Synchronous API for Redis caching.
- New
redis-py
dependency for synchronous Redis communication.
- Improved cache type conversion when reading cached data.
- External data via bgp.tools is now gathered via their bulk mode API.
- External data via bgp.tools is now cached via Redis to reduce external traffic and improve performance.
- RPKI validation via Cloudflare is now cached via Redis to reduce external traffic and improve performance.
- Update Python dependencies.
- #54: A Junos structured/table output parsing error caused routes with multiple next-hops to raise an error.
- RPKI validation no longer occurs twice (once on serialization of the output, once on validation of the API response).
- Update UI dependencies
- Removed react-textfit in favor of responsive font sizes and line breaking
- Refactor & clean up React components
- Route lookups for private (RFC 1918) addresses failed due to an unnecessary lookup to bgp.tools
- New NOS: VyOS. See docs for important caveats.
- UI: If the logo
width
parameter was set to ~ 50% and thetitle_mode
was set tologo_subtitle
, the subtitle would appear next to the logo instead of underneath. - When copying the opengraph image, the copied image was not deleted.
- Default traceroute help link now actually points to the new docs site.
- Opengraph images are now automatically generated in the correct format from any valid image file.
- Better color mode toggle icons (they now match hyperglass.io).
- Improved SEO & Accessibility for UI.
- Default traceroute help link now points to new docs site.
- Slightly different default black & white colors (they now match hyperglass.io).
- Various docs site improvements
- Remove
platform.linux_distribution()
which was removed in Python 3.8 - Width of page is no longer askew when
logo_subtitle
is set as thetitle_mode
- Generated favicon manifest files now go to the correct directory.
- Various docs site fixes
- Support for hyperglass-agent 0.1.5
- Removed RIPEStat for external data gathering, switched to bgp.tools
- Webhook construction bugs that caused webhooks not to send
- Empty response handling for table output
- Support for Microsoft Teams webhook
- If webhooks were enabled, a hung test connection to RIPEStat would cause the query to time out
- Logo path handling in UI
- Automatic favicon generation
- BREAKING CHANGE: The
logo
section now requires the full path for logo files. See the docs for details.