Searched refs:pwd_2g (Results 1 – 2 of 2) sorted by relevance
279 def set_password(self, pwd_5g=None, pwd_2g=None): argument295 self.log.info("Set 5G password to :{}".format(pwd_2g))297 if pwd_2g:298 if len(pwd_2g) < 8 or len(pwd_2g) > 63:301 elif not re.match("^[A-Za-z0-9]*$", pwd_2g):305 'uci set wireless.@wifi-iface[{}].key={}'.format(2, pwd_2g))306 self.log.info("Set 2G password to :{}".format(pwd_2g))
351 self.openwrt2.set_password(pwd_2g=utils.rand_ascii_str(8))364 self.openwrt2.set_password(pwd_2g=ap2_network["password"])