• Home
  • Raw
  • Download

Lines Matching full:get

54         value = reply.get(field, None)
118 value = bit.get('value', False)
141 # TODO: --show-tunnels tunnel-info-get
142 # TODO: --show-module module-get
143 # TODO: --get-plca-cfg plca-get
144 # TODO: --get-plca-status plca-get-status
145 # TODO: --show-mm mm-get
146 # TODO: --show-fec fec-get
147 # TODO: --dump-module-eerpom module-eeprom-get
148 # TODO: pse-get
149 # TODO: rss-get
186 flags = bits_to_dict(dumpit(ynl, args, 'privflags-get')['flags'])
191 eee = dumpit(ynl, args, 'eee-get')
212 print_field(dumpit(ynl, args, 'pause-get'),
219 print_field(dumpit(ynl, args, 'coalesce-get'))
223 reply = dumpit(ynl, args, 'features-get')
250 reply = dumpit(ynl, args, 'channels-get')
270 reply = dumpit(ynl, args, 'channels-get')
299 strset = dumpit(ynl, args, 'strset-get')
318 rsp = dumpit(ynl, args, 'stats-get', req)
329 tsinfo = dumpit(ynl, args, 'tsinfo-get', req)
336 print(f'PTP Hardware Clock: {tsinfo.get("phc-index", "none")}')
357 linkmodes = dumpit(ynl, args, 'linkmodes-get')
361 ports = [ p for p in supported_ports if ours.get(p, False)]
370 fec = [ p for p in supported_fec if ours.get(p, False)]
386 duplex = duplex_modes.get(linkmodes["duplex"], None)
392 if linkmodes.get("autoneg", 0) != 0:
405 linkinfo = dumpit(ynl, args, 'linkinfo-get')
406 print(f'Port: {ports.get(linkinfo["port"], "Other")}')
414 print(f'Transceiver: {transceiver.get(linkinfo["transceiver"], "Unknown")}')
420 mdix = mdix_ctrl.get(linkinfo['tp-mdix-ctrl'], None)
424 mdix = mdix_ctrl.get(linkinfo['tp-mdix'], 'Unknown (auto)')
427 debug = dumpit(ynl, args, 'debug-get')
428 msgmask = bits_to_dict(debug.get("msgmask", [])).keys()
431 linkstate = dumpit(ynl, args, 'linkstate-get')
436 # TODO: wol-get
437 detected = detected_states.get(linkstate['link'], 'unknown')