1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add fake output option for dev [skip ci]

This commit is contained in:
checktheroads
2020-12-13 01:47:09 -07:00
parent 53dd6fada4
commit 0c1399d766
3 changed files with 141 additions and 2 deletions

View File

@@ -43,6 +43,11 @@ class Params(HyperglassModel):
title="Developer Mode",
description='Enable developer mode. If enabled, the hyperglass backend (Python) and frontend (React/Javascript) applications are "unlinked", so that React tools can be used for front end development. A `<Debugger />` convenience component is also displayed in the UI for easier UI development.',
)
fake_output: StrictBool = Field(
False,
title="Fake Output",
description="If enabled, the hyperglass backend will return static fake output for development/testing purposes.",
)
primary_asn: Union[StrictInt, StrictStr] = Field(
"65001",
title="Primary ASN",