Last active
February 23, 2016 12:24
-
-
Save nemesifier/0e04e184fbc6e235524a to your computer and use it in GitHub Desktop.
Example olsrd2 netjsoninfo specific NetworkGraph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "NetworkGraph", | |
"protocol": "olsrv2", | |
"version": "0.1", | |
"revision": "e38e0a8", | |
"router_id": "10.27.253.2", | |
"metric": "ff_dat_metric", | |
"topology_id": "0", | |
"label": "ipv4", | |
"nodes": [ | |
{ | |
"id": "10.27.253.2" | |
}, | |
{ | |
"id": "10.27.254.1" | |
} | |
], | |
"links": [ | |
{ | |
"source": "10.27.253.2", | |
"target": "10.27.254.1", | |
"cost": 2105088, | |
"cost_text": "1020 bit/s", | |
"properties": { | |
"in": 2105088, | |
"in_text": "1020 bit/s", | |
"outgoing_tree": false | |
} | |
}, | |
{ | |
"source": "10.27.254.1", | |
"target": "10.27.253.2", | |
"cost": 2105088, | |
"cost_text": "1020 bit/s", | |
"properties": { | |
"in": 2105088, | |
"in_text": "1020 bit/s", | |
"outgoing_tree": false | |
} | |
} | |
], | |
"endpoints": [ | |
{ | |
"source": "10.27.254.1", | |
"target": "172.27.254.251", | |
"cost": 2105088, | |
"cost_text": "1020 bit/s" | |
}, | |
{ | |
"source": "10.27.254.1", | |
"target": "172.27.254.252", | |
"cost": 2105088, | |
"cost_text": "1020 bit/s" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment