From 872c3ec654f77c52199a3e48d0f62cfbac79609b Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Sun, 30 Jun 2024 23:26:52 -0400 Subject: [PATCH] Closes #269: fix RPKI docs --- docs/pages/configuration/config/structured-output.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/pages/configuration/config/structured-output.mdx b/docs/pages/configuration/config/structured-output.mdx index ca9757c..df93625 100644 --- a/docs/pages/configuration/config/structured-output.mdx +++ b/docs/pages/configuration/config/structured-output.mdx @@ -14,7 +14,7 @@ Additionally, hyperglass provides the ability to control which BGP communities a | Parameter | Type | Default Value | Description | | :----------------------------- | :-------------- | :------------ | :---------------------------------------------------------------------------------------------------------------------------- | -| `structured.rpki` | String | router | Use `router` to use the router's view of the RPKI state (1 above), or `external` to use Cloudflare's view (2 above). | +| `structured.rpki.mode` | String | router | Use `router` to use the router's view of the RPKI state (1 above), or `external` to use Cloudflare's view (2 above). | | `structured.communities.mode` | String | deny | Use `deny` to deny any communities listed in `structured.communities.items`, or `permit` to _only_ permit communities listed. | | `structured.communities.items` | List of Strings | | List of communities to match. | @@ -24,14 +24,16 @@ Additionally, hyperglass provides the ability to control which BGP communities a ```yaml filename="config.yaml" copy {2} structured: - rpki: router + rpki: + mode: router ``` #### Show RPKI State from a Public/External Perspective ```yaml filename="config.yaml" copy {2} structured: - rpki: external + rpki: + mode: external ``` ### Community Filtering Examples