Searched refs:pwd_2g (Results 1 – 2 of 2) sorted by relevance
284 def set_password(self, pwd_5g=None, pwd_2g=None): argument302 if pwd_2g:303 if len(pwd_2g) < 8 or len(pwd_2g) > 63:306 elif not re.match("^[A-Za-z0-9]*$", pwd_2g):310 'uci set wireless.@wifi-iface[{}].key={}'.format(2, pwd_2g))311 self.log.info("Set 2G password to :{}".format(pwd_2g))
352 self.openwrt2.set_password(pwd_2g=utils.rand_ascii_str(8))365 self.openwrt2.set_password(pwd_2g=ap2_network["password"])1124 self.openwrt2.set_password(pwd_2g=ap1_network["password"])1161 self.openwrt2.set_password(pwd_2g=ap1_network["password"])