Exemple #1
0
class AutoLoadTest(TestCase):

    def setUp(self):
        self.autoload = AutoLoad(ip=ip, community=ro_community)

    def testAutoload(self):\

        print self.autoload.entPhysicalTable
        print self.autoload.ifTable

        hierarchy = self.autoload.get_hierarchy()
        print hierarchy
        mapping = self.autoload.get_mapping()
        print mapping

        pass
Exemple #2
0
 def setUp(self):
     self.autoload = AutoLoad(ip=ip, community=ro_community)