From 2cdcaade82f0596a4cdb44b36609b6fbddb92453 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Tue, 2 Jun 2020 01:37:56 -0700 Subject: [PATCH] add more hyperglass-agent docs --- docs/docs/agent/installation.mdx | 29 +---------------------------- docs/sidebars.js | 6 +++++- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/docs/docs/agent/installation.mdx b/docs/docs/agent/installation.mdx index 88562b7..4054740 100644 --- a/docs/docs/agent/installation.mdx +++ b/docs/docs/agent/installation.mdx @@ -3,7 +3,7 @@ id: installation title: Linux Agent Installation sidebar_label: Installation keywords: [configuration, linux, frr, frrouting, bird, agent] -description: hyperglass agent configuration +description: Install hyperglass-agent on your system --- import Tabs from "@theme/Tabs"; @@ -59,33 +59,6 @@ Now that Python 3.6+ is installed, you can install the hyperglass agent: $ pip3 install --user hyperglass-agent ``` -## Setup - -Just like with hyperglass, the hyperglass agent is easy to set up. To automatically create an application directory, generate SSL certificates, generate and symlink a systemd file, and generate a random secret, run: - -```shell-session -$ hyperglass setup -``` - -:::note -You can also run the setup wizard with certain options disabled, if needed: - -```shell-session -$ hyperglass-agent setup --help -Usage: hyperglass-agent setup [OPTIONS] - - Run the setup wizard - -Options: - --config / --no-config Don't regenerate config file - --certs / --no-certs Don't regenerate certificates - --systemd / --no-systemd Don't generate a systemd file - --force Force regeneration of config file - -h, --help Show this message and exit. -``` - -::: - :::important More coming soon Documentation for [hyperglass-agent](https://github.com/checktheroads/hyperglass-agent) is in progress! ::: diff --git a/docs/sidebars.js b/docs/sidebars.js index 56bcda6..699d0f6 100755 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -20,7 +20,11 @@ module.exports = { "messages", ], }, - { type: "category", label: "Linux Agent", items: ["agent/installation"] }, + { + type: "category", + label: "Linux Agent", + items: ["agent/installation", "agent/setup"], + }, { type: "doc", id: "production" }, { type: "doc", id: "upgrading" }, { type: "doc", id: "platforms" },