5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-19 16:09:36 +00:00

Update admin.md

This commit is contained in:
Neil Alexander 2018-06-02 13:47:32 +01:00 committed by GitHub
parent e997a9753d
commit 3b8d33dd24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,11 @@ To get the JSON response body instead of a "friendly" output, specify the `-json
yggdrasilctl -json getSwitchPeers
```
To draw a map of a node's view of the network, install Graphviz onto your system and use `dot`:
```
yggdrasilctl dot | dot -Tpng -o map.png
```
## Admin Socket
The Yggdrasil admin socket uses JSON for request and response formats.