From 5fb3fbeb54d08bb77001178b4671def92e97c8c7 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sat, 6 Feb 2021 00:48:38 -0700 Subject: [PATCH] update docs with frr/bird information --- docs/docs/adding-devices.mdx | 2 +- docs/docs/commands.mdx | 2 +- docs/docs/platforms.mdx | 24 ++++++++++++++++++++++-- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/docs/docs/adding-devices.mdx b/docs/docs/adding-devices.mdx index 1bf1def..41829b7 100644 --- a/docs/docs/adding-devices.mdx +++ b/docs/docs/adding-devices.mdx @@ -47,7 +47,7 @@ routers: | `address` | String | Device management hostname or IP address. | | `network` | String | [Network Configuration](#network) | | `display_name` | String | Device's user-facing name. | -| `port` | Integer | TCP port used to connect to the device. | +| `port` | Integer | TCP port used to connect to the device. `22` by default. | | `nos` | String | Network Operating System. Must be a supported platform. | | `structured_output` | Boolean | Disabled output parsing to structured data. | | `credential` | | [Device Credential Configuration](#credential) | diff --git a/docs/docs/commands.mdx b/docs/docs/commands.mdx index 96e82fc..e66e287 100644 --- a/docs/docs/commands.mdx +++ b/docs/docs/commands.mdx @@ -30,7 +30,7 @@ hyperglass comes with built in support for the following platforms: - Huawei VRP - VyOS -:::warning VyOS & VRFs +:::caution VyOS & VRFs As of `vyos-1.3-rolling-202007050117` which is the latest release VyOS has been tested with hyperglass, VyOS does not support BGP or other dynamic routing protocols in a VRF. As such, the default BGP commands for VyOS **omit the VRF from the command**. ::: diff --git a/docs/docs/platforms.mdx b/docs/docs/platforms.mdx index 116b871..145f0ac 100644 --- a/docs/docs/platforms.mdx +++ b/docs/docs/platforms.mdx @@ -11,8 +11,12 @@ description: Platforms supported by hyperglass The following platforms use [hyperglass-agent](agent/installation.mdx) for connection handling. When configuring the `nos` property of a device, use the value in the **Key** column. +:::caution hyperglass agent is being deprecated +While hyperglass-agent was a cool idea, maintaining the two codebases and protocol sets has proven cumbersome, with very little benefit. As of **v1.0.0-beta.76**, `frr_ssh` and `bird_ssh` are available for use as replacements. +::: + | Name | Key | -| --------- | ------ | +| :-------- | :----- | | BIRD | `bird` | | FRRouting | `frr` | @@ -21,7 +25,7 @@ The following platforms use [hyperglass-agent](agent/installation.mdx) for conne The following platforms use [Netmiko](https://github.com/ktbyers/netmiko) or [Scrapli](https://github.com/carlmontanari/scrapli) for connection handling. When configuring the `nos` property of a device, use the value in the **Key** column. | Name | Key | -| ------------------------- | --------------------- | +| :------------------------ | :-------------------- | | A10 | `a10` | | Accedian | `accedian` | | Alcatel AOS | `alcatel_aos` | @@ -31,6 +35,7 @@ The following platforms use [Netmiko](https://github.com/ktbyers/netmiko) or [Sc | Aruba | `aruba_os` | | Avaya ERS | `avaya_ers` | | Avaya VSP | `avaya_vsp` | +| BIRD | `bird_ssh` | | Calix B6 | `calix_b6` | | Check Point GAiA | `checkpoint_gaia` | | Ciena SAOS | `ciena_saos` | @@ -65,6 +70,7 @@ The following platforms use [Netmiko](https://github.com/ktbyers/netmiko) or [Sc | F5 Linux | `f5_linux` | | Flex VNF | `flexvnf` | | Fortinet | `fortinet` | +| FRRouting | `frr_ssh` | | Generic Terminal Server | `generic_termserver` | | HPE/3COM Comware | `hp_comware` | | HPE ProCurve | `hp_procurve` | @@ -97,3 +103,17 @@ The following platforms use [Netmiko](https://github.com/ktbyers/netmiko) or [Sc | Ubuiquiti EdgeSwitch | `ubiquiti_edgeswitch` | | Vyatta VyOS | `vyatta_vyos` | | VyOS | `vyos` | + +## Caveats + +### BIRD + +If using BIRD, more specifically [`bird_ssh`](platforms.mdx), you'll more than likely need to provide hyperglass with credentials that have root privileges. This is because, to my knowledge, the socket `birdc` uses is created by root. Therefore, if hyperglass runs the `birdc` commands as an unprivileged user, they will fail with a permissions error. + +### FRRouting + +The user account you provide hyperglass in the `credential` field needs to be a member of the `frrvty` group. See [the FRR docs](http://docs.frrouting.org/en/latest/vtysh.html) for more detail. + +### VyOS + +As of `vyos-1.3-rolling-202007050117` which is the latest release VyOS has been tested with hyperglass, VyOS does not support BGP or other dynamic routing protocols in a VRF. As such, the default BGP commands for VyOS **omit the VRF from the command**.