blob: 9e9257e0b5bb0366880d958d4038f9044f906aa6 [file] [log] [blame]
{
"ports" : {
"of:0000000000000002/1" : {
"interfaces" : [
{
"ips" : [ "192.168.10.101/24" ],
"mac" : "08:9e:01:82:38:68",
"vlan" : "100"
}
]
},
"of:0000000000000002/20" : {
"interfaces" : [
{
"ips" : [ "192.168.20.101/24" ],
"mac" : "08:9e:01:82:38:68",
"vlan" : "200"
}
]
}
},
"devices" : {
"of:0000000000000002" : {
"segmentrouting" : {
"name" : "Leaf-R1",
"nodeSid" : 101,
"routerIp" : "10.0.1.254",
"routerMac" : "00:00:00:00:01:80",
"isEdgeRouter" : true,
"adjacencySids" : [
{ "sid" : 100, "ports" : [2, 3] },
{ "sid" : 200, "ports" : [4, 5] }
]
}
},
"of:0000000000000191" : {
"segmentrouting" : {
"name" : "Spine-R1",
"nodeSid" : 105,
"routerIp" : "192.168.0.11",
"routerMac" : "00:00:01:00:11:80",
"isEdgeRouter" : false
}
}
},
"apps" : {
"org.onosproject.router" : {
"bgp" : {
"bgpSpeakers" : [
{
"connectPoint" : "of:00000000000000aa/10",
"peers" : [
"192.168.10.1"
]
},
{
"connectPoint" : "of:00000000000000aa/20",
"peers" : [
"192.168.20.1"
]
}
]
}
}
}
}