Exemplo n.º 1
0
 def __init__(self, hostname, ipaddress, pwd,
                    max_uptime=crawler_util.SEVEN_DAYS):
     HostControl.__init__(self, hostname, ipaddress,
                            crawler_conf.USERNAME_MIKROTIK, pwd, max_uptime)
     self.host_make  = crawler_util.HOST_MAKE_MIKROTIK
     self.version  = None
     self.hardware = None
Exemplo n.º 2
0
 def __init__(self,
              hostname,
              ipaddress,
              pwd,
              max_uptime=crawler_util.SEVEN_DAYS):
     HostControl.__init__(self, hostname, ipaddress,
                          crawler_conf.USERNAME_UBIQUITI, pwd, max_uptime)
     self.host_make = crawler_util.HOST_MAKE_UBIQUITI
     self.version = None
     self.hardware = None