Lines Matching full:get

58         value = reply.get(field, None)
122 value = bit.get('value', False)
145 # TODO: --show-tunnels tunnel-info-get
146 # TODO: --show-module module-get
147 # TODO: --get-plca-cfg plca-get
148 # TODO: --get-plca-status plca-get-status
149 # TODO: --show-mm mm-get
150 # TODO: --show-fec fec-get
151 # TODO: --dump-module-eerpom module-eeprom-get
152 # TODO: pse-get
153 # TODO: rss-get
191 flags = bits_to_dict(dumpit(ynl, args, 'privflags-get')['flags'])
196 eee = dumpit(ynl, args, 'eee-get')
217 print_field(dumpit(ynl, args, 'pause-get'),
224 print_field(dumpit(ynl, args, 'coalesce-get'))
228 reply = dumpit(ynl, args, 'features-get')
255 reply = dumpit(ynl, args, 'channels-get')
275 reply = dumpit(ynl, args, 'channels-get')
304 strset = dumpit(ynl, args, 'strset-get')
323 rsp = dumpit(ynl, args, 'stats-get', req)
334 tsinfo = dumpit(ynl, args, 'tsinfo-get', req)
354 linkmodes = dumpit(ynl, args, 'linkmodes-get')
358 ports = [ p for p in supported_ports if ours.get(p, False)]
367 fec = [ p for p in supported_fec if ours.get(p, False)]
383 duplex = duplex_modes.get(linkmodes["duplex"], None)
389 if linkmodes.get("autoneg", 0) != 0:
402 linkinfo = dumpit(ynl, args, 'linkinfo-get')
403 print(f'Port: {ports.get(linkinfo["port"], "Other")}')
411 print(f'Transceiver: {transceiver.get(linkinfo["transceiver"], "Unknown")}')
417 mdix = mdix_ctrl.get(linkinfo['tp-mdix-ctrl'], None)
421 mdix = mdix_ctrl.get(linkinfo['tp-mdix'], 'Unknown (auto)')
424 debug = dumpit(ynl, args, 'debug-get')
425 msgmask = bits_to_dict(debug.get("msgmask", [])).keys()
428 linkstate = dumpit(ynl, args, 'linkstate-get')
433 # TODO: wol-get
434 detected = detected_states.get(linkstate['link'], 'unknown')