mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
156 lines
4.1 KiB
YAML
156 lines
4.1 KiB
YAML
# cache:
|
|
# database: 1
|
|
# host: localhost
|
|
# port: 6379
|
|
# show_text: true
|
|
# timeout: 120
|
|
# cors_origins: []
|
|
# debug: false
|
|
# developer_mode: false
|
|
# docs:
|
|
# base_url: https://lg.example.net
|
|
# description: ""
|
|
# devices:
|
|
# description: List of all devices/locations with associated identifiers, display names, networks, & VRFs.
|
|
# summary: Devices List
|
|
# title: Devices
|
|
# enable: true
|
|
# mode: redoc
|
|
# openapi_uri: /openapi.json
|
|
# queries:
|
|
# description: List of supported query types.
|
|
# summary: Query Types
|
|
# title: Supported Queries
|
|
# query:
|
|
# description: Request a query response per-location.
|
|
# summary: Query the Looking Glass
|
|
# title: Submit Query
|
|
# title: "{site_title} API Documentation"
|
|
# uri: /api/docs
|
|
# listen_address: localhost
|
|
# listen_port: 8001
|
|
# messages:
|
|
# acl_denied: "{target} is a member of {denied_network}, which is not allowed."
|
|
# acl_not_allowed: "{target} is not allowed."
|
|
# authentication_error: Authentication error occurred.
|
|
# connection_error: "Error connecting to {device_name}: {error}"
|
|
# feature_not_enabled: "{feature} is not enabled."
|
|
# general: Something went wrong.
|
|
# invalid_field: "{input} is an invalid {field}."
|
|
# invalid_input: "{target} is not a valid {query_type} target."
|
|
# no_input: "{field} must be specified."
|
|
# no_output: No output.
|
|
# no_response: No response.
|
|
# request_timeout: Request timed out.
|
|
# vrf_not_associated: VRF {vrf_name} is not associated with {device_name}.
|
|
# vrf_not_found: VRF {vrf_name} is not defined.
|
|
# netmiko_delay_factor: 0.1
|
|
# org_name: Beloved Hyperglass User
|
|
# primary_asn: "65001"
|
|
# queries:
|
|
# bgp_aspath:
|
|
# display_name: BGP AS Path
|
|
# enable: true
|
|
# pattern:
|
|
# asdot: ^(\^|^\_)((\d+\.\d+)\_|(\d+\.\d+)\$|(\d+\.\d+)\(\_\.\+\_\))+$
|
|
# asplain: ^(\^|^\_)(\d+\_|\d+\$|\d+\(\_\.\+\_\))+$
|
|
# mode: asplain
|
|
# bgp_community:
|
|
# display_name: BGP Community
|
|
# enable: true
|
|
# pattern:
|
|
# decimal: ^[0-9]{1,10}$
|
|
# extended_as: ^([0-9]{0,5})\:([0-9]{1,5})$
|
|
# large: ^([0-9]{1,10})\:([0-9]{1,10})\:[0-9]{1,10}$
|
|
# bgp_route:
|
|
# display_name: BGP Route
|
|
# enable: true
|
|
# ping:
|
|
# display_name: Ping
|
|
# enable: true
|
|
# traceroute:
|
|
# display_name: Traceroute
|
|
# enable: true
|
|
# request_timeout: 90
|
|
# site_description: Beloved Hyperglass User Network Looking Glass
|
|
# site_keywords:
|
|
# - hyperglass
|
|
# - looking glass
|
|
# - lg
|
|
# - peer
|
|
# - peering
|
|
# - ip
|
|
# - ipv4
|
|
# - ipv6
|
|
# - transit
|
|
# - community
|
|
# - communities
|
|
# - bgp
|
|
# - routing
|
|
# - network
|
|
# - isp
|
|
# - internet service provider
|
|
# site_title: hyperglass
|
|
# web:
|
|
# credit:
|
|
# enable: true
|
|
# dns_provider:
|
|
# name: cloudflare
|
|
# url: https://cloudflare-dns.com/dns-query
|
|
# external_link:
|
|
# enable: true
|
|
# title: PeeringDB
|
|
# url: https://www.peeringdb.com/asn/{primary_asn}
|
|
# help_menu:
|
|
# enable: true
|
|
# file: null
|
|
# title: Help
|
|
# logo:
|
|
# dark: images/hyperglass-dark.png
|
|
# favicons: ui/images/favicons/
|
|
# height: null
|
|
# light: images/hyperglass-light.png
|
|
# width: 80%
|
|
# opengraph:
|
|
# height: 1132
|
|
# image: images/hyperglass-opengraph.png
|
|
# width: 7355
|
|
# terms:
|
|
# enable: true
|
|
# file: null
|
|
# title: Terms
|
|
# text:
|
|
# cache: Results will be cached for {timeout} {period}.
|
|
# fqdn_tooltip: Use {protocol}
|
|
# query_location: Location
|
|
# query_target: Target
|
|
# query_type: Query Type
|
|
# query_vrf: Routing Table
|
|
# subtitle: AS{primary_asn}
|
|
# title: hyperglass
|
|
# title_mode: logo_only
|
|
# theme:
|
|
# colors:
|
|
# black: "#262626"
|
|
# blue: "#314cb6"
|
|
# cyan: "#118ab2"
|
|
# danger: "#d84b4b"
|
|
# error: "#ff6b35"
|
|
# gray: "#c1c7cc"
|
|
# green: "#35b246"
|
|
# orange: "#ff6b35"
|
|
# pink: "#f2607d"
|
|
# primary: "#118ab2"
|
|
# purple: "#8d30b5"
|
|
# red: "#d84b4b"
|
|
# secondary: "#314cb6"
|
|
# success: "#35b246"
|
|
# teal: "#35b299"
|
|
# warning: "#edae49"
|
|
# white: "#f7f7f7"
|
|
# yellow: "#edae49"
|
|
# default_color_mode: null
|
|
# fonts:
|
|
# body: Nunito
|
|
# mono: Fira Code
|