• Home
  • Raw
  • Download

Lines Matching full:print

20         print(f'no attributes, expected: {valid_attrs}')
27 print(f'expected value for \'{attr}\'')
31 print(f'invalid attribute \'{attr}\', expected: {valid_attrs}')
41 Pretty-print a set of fields from the reply. desc specifies the
62 print(f'{name}: {value}')
66 Print out the speed-like strings from the value dict.
70 print(f'{name}: {" ".join(speed)}')
102 print(f"Not supported for device {args.device}")
162 print("not implemented")
176 print("not implemented")
204 print(f'EEE status: {status}')
245 print(f'{f}: {value}{fixed}{req}')
251 print(f'Channel parameters for {args.device}:')
253 print(f'Pre-set maximums:')
260 print(f'Current hardware settings:')
272 print(f'Ring parameters for {args.device}:')
274 print(f'Pre-set maximums:')
281 print(f'Current hardware settings:')
296 print(f'NIC statistics:')
331 print(f'Time stamping parameters for {args.device}:')
333 print('Capabilities:')
334 [print(f'\t{v}') for v in bits_to_dict(tsinfo['timestamping'])]
336 print(f'PTP Hardware Clock: {tsinfo.get("phc-index", "none")}')
339 print('Hardware Transmit Timestamp Modes:')
340 [print(f'\t{v}') for v in bits_to_dict(tsinfo['tx-types'])]
342 print('Hardware Transmit Timestamp Modes: none')
345 print('Hardware Receive Filter Modes:')
346 [print(f'\t{v}') for v in bits_to_dict(tsinfo['rx-filters'])]
348 print('Hardware Receive Filter Modes: none')
351 print('Statistics:')
352 [print(f'\t{k}: {v}') for k, v in tsinfo['stats'].items()]
356 print(f'Settings for {args.device}:')
362 print(f'Supported ports: [ {" ".join(ports)} ]')
375 print(f'Supported FEC modes: {fec_str}')
380 print(f'Speed: {speed}')
389 print(f'Duplex: {duplex}')
394 print(f'Auto-negotiation: {autoneg}')
406 print(f'Port: {ports.get(linkinfo["port"], "Other")}')
414 print(f'Transceiver: {transceiver.get(linkinfo["transceiver"], "Unknown")}')
425 print(f'MDI-X: {mdix}')
429 print(f'Current message level: {" ".join(msgmask)}')
438 print(f'Link detected: {detected}')