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/f2b0e6d02b1ad534e97e to your computer and use it in GitHub Desktop.
>>> x = '''<device>
<id>116</id>
<label>Cisco2811.haw.int</label>
<ip>10.101.0.1</ip>
<mask>255.255.255.0</mask>
<status>1</status>
<statusDesc>Normal</statusDesc>
<sysName>Cisco2811.haw.int</sysName>
<contact>changed this too</contact>
<location>changed this too</location>
<sysOid>1.3.6.1.4.1.9.1.576</sysOid>
<sysDescription></sysDescription>
<devCategoryImgSrc>router</devCategoryImgSrc>
<topoIconName>iconroute</topoIconName>
<categoryId>0</categoryId>
<symbolId>1147</symbolId>
<symbolName>Cisco2811.haw.int</symbolName>
<symbolType>3</symbolType>
<symbolDesc></symbolDesc>
<symbolLevel>2</symbolLevel>
<parentId>1</parentId>
<typeName>Cisco 2811</typeName>
<mac>00:1b:d4:47:1e:68</mac>
<link op="GET" rel="self" href="http://10.3.10.220:8080/imcrs/plat/res/device/116"/>
</device>'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment