mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
cleanup
This commit is contained in:
@@ -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.
|
||||
|
@@ -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>
|
||||
</>
|
||||
);
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user