Lines Matching refs:params
402 def intialize(self, params): argument
404 self.mac = params.get('EUI')
405 self.backboneNetif = params.get('Param8') or 'eth0'
406 self.extraParams = self.__parseExtraParams(params.get('Param9'))
409 self._parseConnectionParams(params)
454 def _parseConnectionParams(self, params): argument
460 self.port = params.get('SerialPort', '')
462 self.log('All parameters: %r', params)
470 self.telnetUsername = 'pi' if params.get('Param6') is None else params.get('Param6')
471 … self.telnetPassword = 'raspberry' if params.get('Param7') is None else params.get('Param7')
473 self.connectType = (params.get('Param5') or 'usb').lower()
474 self.telnetIp = params.get('TelnetIP')
475 self.telnetPort = int(params.get('TelnetPort')) if params.get('TelnetPort') else 22
477 self.telnetUsername = 'pi' if params.get('Param6') is None else params.get('Param6')
479 … self.telnetPassword = 'raspberry' if params.get('Param7') is None else params.get('Param7')
509 params = json.loads(jsonStr)
510 return params