Lines Matching full:get

67         value = reply.get(field, None)
100 Prepare request header and get info for a specific device using doit.
130 value = bit.get('value', False)
155 # TODO: --show-tunnels tunnel-info-get
156 # TODO: --show-module module-get
157 # TODO: --get-plca-cfg plca-get
158 # TODO: --get-plca-status plca-get-status
159 # TODO: --show-mm mm-get
160 # TODO: --show-fec fec-get
161 # TODO: --dump-module-eerpom module-eeprom-get
162 # TODO: pse-get
163 # TODO: rss-get
209 flags = bits_to_dict(do_get(ynl, args, 'privflags-get')['flags'])
214 eee = do_get(ynl, args, 'eee-get')
235 print_field(do_get(ynl, args, 'pause-get'),
242 print_field(do_get(ynl, args, 'coalesce-get'))
246 reply = do_get(ynl, args, 'features-get')
273 reply = do_get(ynl, args, 'channels-get')
293 reply = do_get(ynl, args, 'channels-get')
322 strset = do_get(ynl, args, 'strset-get')
341 rsp = do_get(ynl, args, 'stats-get', req)
352 tsinfo = do_get(ynl, args, 'tsinfo-get', req)
359 print(f'PTP Hardware Clock: {tsinfo.get("phc-index", "none")}')
380 linkmodes = do_get(ynl, args, 'linkmodes-get')
384 ports = [ p for p in supported_ports if ours.get(p, False)]
393 fec = [ p for p in supported_fec if ours.get(p, False)]
409 duplex = duplex_modes.get(linkmodes["duplex"], None)
415 if linkmodes.get("autoneg", 0) != 0:
428 linkinfo = do_get(ynl, args, 'linkinfo-get')
429 print(f'Port: {ports.get(linkinfo["port"], "Other")}')
437 print(f'Transceiver: {transceiver.get(linkinfo["transceiver"], "Unknown")}')
443 mdix = mdix_ctrl.get(linkinfo['tp-mdix-ctrl'], None)
447 mdix = mdix_ctrl.get(linkinfo['tp-mdix'], 'Unknown (auto)')
450 debug = do_get(ynl, args, 'debug-get')
451 msgmask = bits_to_dict(debug.get("msgmask", [])).keys()
454 linkstate = do_get(ynl, args, 'linkstate-get')
459 # TODO: wol-get
460 detected = detected_states.get(linkstate['link'], 'unknown')