80 lines
1.6 KiB
JSON
80 lines
1.6 KiB
JSON
{
|
|
"1": {
|
|
"level-1": {
|
|
"ipv4": [
|
|
{
|
|
"vertex": "r2"
|
|
}
|
|
],
|
|
"ipv6": [
|
|
{
|
|
"vertex": "r2"
|
|
}
|
|
]
|
|
},
|
|
"level-2": {
|
|
"ipv4": [
|
|
{
|
|
"vertex": "r2"
|
|
},
|
|
{
|
|
"metric": "0",
|
|
"parent": "r2(4)",
|
|
"type": "IP internal",
|
|
"vertex": "10.0.21.0/24"
|
|
},
|
|
{
|
|
"interface": "r2-eth0",
|
|
"metric": "10",
|
|
"next-hop": "r4",
|
|
"parent": "r2(4)",
|
|
"type": "TE-IS",
|
|
"vertex": "r4"
|
|
},
|
|
{
|
|
"interface": "r2-eth0",
|
|
"metric": "10",
|
|
"next-hop": "r4",
|
|
"parent": "r4(4)",
|
|
"type": "IP TE",
|
|
"vertex": "10.0.21.0/24"
|
|
},
|
|
{
|
|
"interface": "r2-eth0",
|
|
"metric": "10",
|
|
"next-hop": "r4",
|
|
"parent": "r4(4)",
|
|
"type": "IP TE",
|
|
"vertex": "10.0.11.0/24"
|
|
}
|
|
],
|
|
"ipv6": [
|
|
{
|
|
"vertex": "r2"
|
|
},
|
|
{
|
|
"metric": "0",
|
|
"parent": "r2(4)",
|
|
"type": "IP6 internal",
|
|
"vertex": "2001:db8:1:2::/64"
|
|
},
|
|
{
|
|
"interface": "r2-eth0",
|
|
"metric": "10",
|
|
"next-hop": "r4",
|
|
"parent": "r2(4)",
|
|
"type": "TE-IS",
|
|
"vertex": "r4"
|
|
},
|
|
{
|
|
"metric": "10",
|
|
"interface": "r2-eth0",
|
|
"next-hop": "r4",
|
|
"parent": "r4(4)",
|
|
"type": "IP6 internal",
|
|
"vertex": "2001:db8:2:2::/64"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|