mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
add docs for the network property, closes #97
This commit is contained in:
@@ -45,7 +45,7 @@ routers:
|
||||
| :------------------ | :-----: | :----------------------------------------------------------------------------------------------------------------- |
|
||||
| <R/> `name` | String | Device hostname. This is not user-facing. |
|
||||
| <R/> `address` | String | Device management hostname or IP address. |
|
||||
| <R/> `network` | String | Primary network this device is a member of. Used for device grouping. Usually something like 'AS65000'. |
|
||||
| <R/> `network` | String | [Network Configuration](#network) |
|
||||
| <R/> `display_name` | String | Device's user-facing name. |
|
||||
| <R/> `port` | Integer | TCP port used to connect to the device. |
|
||||
| <R/> `nos` | String | Network Operating System. <MiniNote>Must be a <Link to="platforms">supported platform</Link>.</MiniNote> |
|
||||
@@ -55,6 +55,15 @@ routers:
|
||||
| `proxy` | | [SSH Proxy Configuration](#proxy) |
|
||||
| `ssl` | | [SSL Configuration](#ssl) for devices using [hyperglass-agent](https://github.com/checktheroads/hyperglass-agent). |
|
||||
|
||||
### `network`
|
||||
|
||||
A network is only used for grouping. For example, if your network contains more than one ASN, you might want to group each device separately. Currently, you must define a network on each device.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| :------------------ | :----: | :------------------------------------------------------------------- |
|
||||
| <R/> `name` | String | The network's name. This name is only used by hyperglass internally. |
|
||||
| <R/> `display_name` | String | The network's use-facing name. |
|
||||
|
||||
### `proxy`
|
||||
|
||||
Any device that uses SSH (see [platforms](platforms) for breakdown) can be accessed through an intermediary SSH "proxy". The process is nearly identical to using local SSH tunneling, e.g. `ssh -L local_port:remote_device:remote_port username@proxy_server -p proxy_port`.
|
||||
|
Reference in New Issue
Block a user