Lines Matching refs:f
151 f = ubman.config.env.get('env__net_tftp_bootable_file', None)
152 if not f:
156 addr = f.get('addr', None)
160 fn = f['fn']
161 timeout = f.get('timeout', 50000)
167 sz = f.get('size', None)
172 expected_crc = f.get('crc32', None)
177 pattern = f.get('pattern')
178 chk_type = f.get('check_type', 'boot_error')
179 chk_pattern = re.compile(f.get('check_pattern', 'ERROR'))
180 config = f.get('config', None)
230 f = ubman.config.env.get('env__net_pxe_bootable_file', None)
231 if not f:
239 return f, bootfile
254 f, bootfile = setup_pxe_boot(ubman)
255 addr = f.get('addr', None)
256 timeout = f.get('timeout', ubman.p.timeout)
257 fn = f['fn']
266 sz = f.get('size', None)
271 assert f"Config file '{bootfile}' found" in output
273 pattern = f.get('pattern')
274 chk_type = f.get('check_type', 'boot_error')
275 chk_pattern = re.compile(f.get('check_pattern', 'ERROR'))
305 f, bootfile = setup_pxe_boot(ubman)
306 addr = f.get('addr', None)
307 timeout = f.get('timeout', ubman.p.timeout)
308 fn = f['fn']
309 local_label = f['local_label']
310 empty_label = f['empty_label']
311 exp_str_local = f['exp_str_local']
312 exp_str_empty = f['exp_str_empty']
321 sz = f.get('size', None)
326 assert f"Config file '{bootfile}' found" in output
328 pattern = f.get('pattern')
329 chk_type = f.get('check_type', 'boot_error')
330 chk_pattern = re.compile(f.get('check_pattern', 'ERROR'))
353 ), f'Expected string: {exp_str_local} did not match!'
364 ), f'Expected string: {exp_str_empty} did not match!'
384 f, bootfile = setup_pxe_boot(ubman)
385 addr = f.get('addr', None)
386 timeout = f.get('timeout', ubman.p.timeout)
387 fn = f['fn']
388 invalid_label = f['invalid_label']
389 exp_str_invalid = f['exp_str_invalid']
398 sz = f.get('size', None)
403 assert f"Config file '{bootfile}' found" in output
405 pattern = f.get('pattern')
424 ), f'Expected string: {exp_str_invalid} did not match!'