Skip to content

Instantly share code, notes, and snippets.

@netmanchris
Last active August 29, 2015 14:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save netmanchris/cab2a3642ad250b3dc03 to your computer and use it in GitHub Desktop.
>>> print (json.dumps(y, indent = 4))
{
"device": {
"id": "116",
"label": "Cisco2811.haw.int",
"ip": "10.101.0.1",
"mask": "255.255.255.0",
"status": "1",
"statusDesc": "Normal",
"sysName": "Cisco2811.haw.int",
"contact": "changed this too",
"location": "changed this too",
"sysOid": "1.3.6.1.4.1.9.1.576",
"sysDescription": null,
"devCategoryImgSrc": "router",
"topoIconName": "iconroute",
"categoryId": "0",
"symbolId": "1147",
"symbolName": "Cisco2811.haw.int",
"symbolType": "3",
"symbolDesc": null,
"symbolLevel": "2",
"parentId": "1",
"typeName": "Cisco 2811",
"mac": "00:1b:d4:47:1e:68",
"link": {
"@op": "GET",
"@rel": "self",
"@href": "http://10.3.10.220:8080/imcrs/plat/res/device/116"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment