Hi,
I haven't found any sollution to this:
>>> from xmlrpclib import ServerProxy
>>> serv =
>>> ServerProxy('http://admin:zen...@zenoss:8080/zport/dmd/DeviceLoader',
>>> encoding='UTF-8')
>>> dev = {'deviceName':'foo.bar', 'devicePath':'/Server/Linux'}
>>> serv.loadDevice(dev)
0
No matter what I set into Dev's table I always get 0 as result.
And when using:
serv.loadDevice('deviceName':'foo.bar', 'devicePath':'/Server/Linux')
I recieve:
xml.parsers.expat.ExpatError: junk after document element: line 6, column 0
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=29213#29213
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users