Searched refs:admin (Results 1 – 2 of 2) sorted by relevance
87 def lock_device(name, admin): argument100 data=json.dumps({"hostname":name, "locked_by":admin}))
116 self.admin = 'admin' + str(random.randint(1000001, 12345678))139 if dutils.lock_device(device_name, self.admin):331 if ap_info['lock_status'] and ap_info['locked_by'] != self.admin:334 if not dutils.lock_device(hostname, self.admin):