コード例 #1
0
ファイル: test.py プロジェクト: QualiSystems/qualisnmp
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
コード例 #2
0
ファイル: test.py プロジェクト: QualiSystems/qualisnmp
 def setUp(self):
     self.autoload = AutoLoad(ip=ip, community=ro_community)