forked from mirrors/thatmattlove-hyperglass
cleanup
This commit is contained in:
parent
4a5c4b5f7b
commit
53fcf67968
3 changed files with 10 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue