Skip to content

Instantly share code, notes, and snippets.

@gunjan5
Created February 29, 2016 22:14
Show Gist options
  • Select an option

  • Save gunjan5/9134db9a42dfc4fe77df to your computer and use it in GitHub Desktop.

Select an option

Save gunjan5/9134db9a42dfc4fe77df to your computer and use it in GitHub Desktop.
{
"ports" : {
"of:0000000badbeef21/7" : {
"interfaces" : [
{
"ips" : [ "1192.168.42.22/16" ],
"vlan" : "-1"
}
]
},
"of:0000000badbeef22/8" : {
"interfaces" : [
{
"ips" : [ "192.168.42.222/16" ],
"vlan" : "-1"
}
]
}
},
"devices" : {
"of:0000000badbeef21" : {
"segmentrouting" : {
"name" : "leaf-1",
"nodeSid" : 101,
"routerIp" : "192.168.42.221",
"routerMac" : "cc:37:ab:6e:e3:c2",
"isEdgeRouter" : true,
"adjacencySids" : []
}
},
"of:0000000badbeef22" : {
"segmentrouting" : {
"name" : "leaf-2",
"nodeSid" : 102,
"routerIp" : "192.168.42.222",
"routerMac" : "cc:37:ab:6e:e4:c6",
"isEdgeRouter" : true,
"adjacencySids" : []
}
},
"of:0000000badbeef11" : {
"segmentrouting" : {
"name" : "spine-1",
"nodeSid" : 103,
"routerIp" : "192.168.42.103",
"routerMac" : "cc:37:ab:6e:e3:40",
"isEdgeRouter" : false,
"adjacencySids" : []
}
},
"of:0000000badbeef12" : {
"segmentrouting" : {
"name" : "spine-2",
"nodeSid" : 104,
"routerIp" : "192.168.42.229",
"routerMac" : "cc:37:ab:6b:0d:a6",
"isEdgeRouter" : false,
"adjacencySids" : []
}
}
},
"hosts" : {
"2c:60:0c:e3:c5:fe/4093" : {
"basic": {
"ips": ["192.168.42.108"],
"location": "of:0000000badbeef21/7"
}
},
"2c:60:0c:e3:bd:10/4093" : {
"basic": {
"ips": ["192.168.42.240"],
"location": "of:0000000badbeef22/8"
}
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment