This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> print (yaml.dump(y, default_flow_style = False)) | |
!!python/object/apply:collections.OrderedDict | |
dictitems: | |
device: !!python/object/apply:collections.OrderedDict | |
dictitems: | |
categoryId: '0' | |
contact: changed this too | |
devCategoryImgSrc: router | |
id: '116' | |
ip: 10.101.0.1 | |
label: Cisco2811.haw.int | |
link: !!python/object/apply:collections.OrderedDict | |
dictitems: | |
'@href': http://10.3.10.220:8080/imcrs/plat/res/device/116 | |
'@op': GET | |
'@rel': self | |
location: changed this too | |
mac: 00:1b:d4:47:1e:68 | |
mask: 255.255.255.0 | |
parentId: '1' | |
status: '1' | |
statusDesc: Normal | |
symbolDesc: null | |
symbolId: '1147' | |
symbolLevel: '2' | |
symbolName: Cisco2811.haw.int | |
symbolType: '3' | |
sysDescription: null | |
sysName: Cisco2811.haw.int | |
sysOid: 1.3.6.1.4.1.9.1.576 | |
topoIconName: iconroute | |
typeName: Cisco 2811 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment