thatmattlove / hyperglass

hyperglass is the network looking glass that tries to make the internet better.
https://hyperglass.dev
BSD 3-Clause Clear License
626 stars 94 forks source link

VRF name changed when using multiple VRFs #212

Closed ServerForge closed 4 months ago

ServerForge commented 2 years ago

Bug Description

When you define multiple VRFs for a single router you get a selector on the page to choose the route table, However it appears to change the VRF name so only the first letter is capaitalized causing the "VRF is not defined." Error because it has changed the name.

Expected behavior

The VRF name should not be altered from what is defined in the config file.

Steps to Reproduce

Setup multiple routers with multiple and overlapping VRFs.

Local Configurations

<logs>

Possible Solution

Environment

Server

Metric Value
hyperglass Version 1.0.4
hyperglass Path /etc/hyperglass
Python Version 3.7.13
Node Version 14.19.1
Platform Info Linux-5.15.0-43-generic-x86_64-with-Ubuntu-22.04-jammy
CPU Info Common KVM processor
Logical Cores 16
Physical Cores 16
Processor Speed 2.493988GHz
Total Memory 8.33 GB
Memory Utilization 16.3%
Total Disk Space 134.68 GB
Disk Utilization 8.6%

Client

Smartphone Details (if applicable)