parameters: (
          ctx: click.Context,  # noqa: B902
          cli_opts: bunch.Bunch,
          json: bool,
          areas: Sequence[str],
      )
docstring: Check all prefix & adj dbs in Decision against that in KvStore
  
          TODO: Fix json to be combined for all areas ...
          If --json is provided, returns database diffs in the following format.
          "neighbor_down" is a list of nodes not in the inspected node's dump that were expected,
          "neighbor_up" is a list of unexpected nodes in inspected node's dump,
          "neighbor_update" is a list of expected nodes whose metadata are unexpected.
              {
                  "neighbor_down": [
                      {
                          "new_adj": null,
                          "old_adj": $inconsistent_node
                      }
                  ],
                  "neighbor_up": [
                      {
                          "new_adj": $inconsistent_node
                          "old_adj": null
                      }
                  ],
                  "neighbor_update": [
                      {
                          "new_adj": $inconsistent_node
                          "old_adj": $inconsistent_node
                      }
                  ]
              }
docstring_summary: Check all prefix & adj dbs in Decision against that in KvStore
docstring_tokens: Check all prefix & adj dbs in Decision against that in KvStore
function: def validate(
          ctx: click.Context,  # noqa: B902
          cli_opts: bunch.Bunch,
          json: bool,
          areas: Sequence[str],
      ) -> None:
          """
          Check all prefix & adj dbs in Decision against that in KvStore
  
          TODO: Fix json to be combined for all areas ...
          If --json is provided, returns database diffs in the following format.
          "neighbor_down" is a list of nodes not in the inspected node's dump that were expected,
          "neighbor_up" is a list of unexpected nodes in inspected node's dump,
          "neighbor_update" is a list of expected nodes whose metadata are unexpected.
              {
                  "neighbor_down": [
                      {
                          "new_adj": null,
                          "old_adj": $inconsistent_node
                      }
                  ],
                  "neighbor_up": [
                      {
                          "new_adj": $inconsistent_node
                          "old_adj": null
                      }
                  ],
                  "neighbor_update": [
                      {
                          "new_adj": $inconsistent_node
                          "old_adj": $inconsistent_node
                      }
                  ]
              }
          """
  
          ctx.exit(decision.DecisionValidateCmd(cli_opts).run(json, areas))
function_tokens: def validate ( ctx : click . Context , # noqa: B902 cli_opts : bunch . Bunch , json : bool , areas : Sequence [ str ] , ) -> None : ctx . exit ( decision . DecisionValidateCmd ( cli_opts ) . run ( json , areas ) )