1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
This commit is contained in:
checktheroads
2020-01-26 02:21:12 -07:00
parent 4a5c4b5f7b
commit 53fcf67968
3 changed files with 10 additions and 2 deletions

View File

@@ -159,6 +159,15 @@ For information about how to interpret traceroute results, [click here]\
(https://hyperglass.readthedocs.io/en/latest/assets/traceroute_nanog.pdf).
"""
SUPPORTED_QUERY_FIELDS = ("query_location", "query_type", "query_target", "query_vrf")
SUPPORTED_QUERY_TYPES = (
"bgp_route",
"bgp_community",
"bgp_aspath",
"ping",
"traceroute",
)
class Supported:
"""Define items supported by hyperglass.

View File

@@ -91,7 +91,7 @@ const Layout = () => {
credit={config.branding.credit}
extLink={config.branding.external_link}
/>
{config.general.debug && <Debugger />}
{config.general.developer_mode && <Debugger />}
</Flex>
</>
);

View File

@@ -5,7 +5,6 @@ export default ({ vrfs, onChange }) => {
return (
<ChakraSelect
size="lg"
placeholder="VRF"
onChange={e => onChange({ field: "query_vrf", value: e.value })}
name="query_vrf"
options={vrfs}