5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-08 21:10:26 +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.