Searched refs:command_dict (Results 1 – 2 of 2) sorted by relevance
240 def send_packet(self, command_dict, set_sequence=True): argument246 command_dict['seq'] = self.sequence249 json_str = json.dumps(command_dict, separators=(',', ':'))454 command_dict = None463 command_dict = read_packet(f)466 if command_dict is None:469 pprint.PrettyPrinter(indent=2).pprint(command_dict)471 self.send_packet(command_dict, set_sequence)484 self.validate_response(command_dict, actual_response)519 command_dict = {[all …]
101 command_dict = {'base': {'reboot': {}}}102 new_command = c_client.create_command(device['id'], command_dict)