Sorry about that. The forum killed all of the indentation. It should look like 
this instead..


Code:

        def bond010InterfaceIp(self):
            try:
                bond010 = self.interfaces._getOb('bond0.10')
                return bond010.getIp()
            except AttributeError:
                return {'getIp':self.device().manageIp}




You should stick this at the end of the file before the InitializeClass(Device) 
line. Python is very particular about the indentation.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=12572#12572

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to