Home | History | Annotate | Download | only in hosts

Lines Matching refs:args_dict

206     def _extract_arguments(args_dict, key_subset):
207 """Extract options from `args_dict` and return a subset result.
216 @param args_dict Dictionary from which to extract the arguments.
217 @param key_subset Tuple of keys to extract from the args_dict, e.g.
222 if arg in args_dict:
223 result[arg] = args_dict[arg]
228 def get_chameleon_arguments(args_dict):
229 """Extract chameleon options from `args_dict` and return the result.
233 args_dict = utils.args_to_dict(args)
234 chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict)
238 @param args_dict Dictionary from which to extract the chameleon
242 args_dict, ('chameleon_host', 'chameleon_port'))
246 def get_plankton_arguments(args_dict):
247 """Extract chameleon options from `args_dict` and return the result.
251 args_dict = utils.args_to_dict(args)
252 plankon_args = hosts.CrosHost.get_plankton_arguments(args_dict)
256 @param args_dict Dictionary from which to extract the plankton
260 args_dict, ('plankton_host', 'plankton_port'))
265 def get_servo_arguments(args_dict):
266 """Extract servo options from `args_dict` and return the result.
270 args_dict = utils.args_to_dict(args)
271 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
275 @param args_dict Dictionary from which to extract the servo
279 args_dict, ('servo_host', 'servo_port'))