From d50e0861f36d2987567a6307e154776405571692 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Tue, 31 Aug 2021 23:59:26 -0700 Subject: [PATCH] lf_json_autogen.py: WIP column help from tool tips This should help nicely when it works. Signed-off-by: Jed Reynolds --- py-json/LANforge/lf_json_autogen.py | 1104 +++++++++++++-------------- 1 file changed, 552 insertions(+), 552 deletions(-) diff --git a/py-json/LANforge/lf_json_autogen.py b/py-json/LANforge/lf_json_autogen.py index 7a590217..adf90e43 100644 --- a/py-json/LANforge/lf_json_autogen.py +++ b/py-json/LANforge/lf_json_autogen.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- - Generated by LANforge JsonApiPythonGenerator, Tue Aug 17 15:34:45 PDT 2021 + Generated by LANforge JsonApiPythonGenerator, Tue Aug 31 23:53:08 PDT 2021 - - WORK IN PROGRESS - - The API this library provides is actively being changed. This file expects to live in py-json/LANforge directory. @@ -98,19 +98,19 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'entity id': # ... - 'module 1': # ... - 'module 2': # ... - 'module 3': # ... - 'module 4': # ... - 'module 5': # ... - 'module 6': # ... - 'module 7': # ... - 'module 8': # ... - 'name': # ... - 'script': # ... - 'state': # ... - 'temperature': # ... + 'entity id': # (entity id) + 'module 1': # (module 1) + 'module 2': # (module 2) + 'module 3': # (module 3) + 'module 4': # (module 4) + 'module 5': # (module 5) + 'module 6': # (module 6) + 'module 7': # (module 7) + 'module 8': # (module 8) + 'name': # (name) + 'script': # (script) + 'state': # (state) + 'temperature': # (temperature) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -169,28 +169,28 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'chamber': # ... - 'chamber connections': # ... - 'chamber resources': # ... - 'chamber type': # ... - 'duts': # ... - 'entity id': # ... - 'flags': # ... - 'hide': # ... - 'isolation': # ... - 'marked': # ... - 'open': # ... - 'reported rotation (deg)': # ... - 'reported rpm ': # ... - 'reported tilt (deg)': # ... - 'resource': # ... - 'rotation (deg)': # ... - 'rpm': # ... - 'smas': # ... - 'tilt (deg)': # ... - 'turntable': # ... - 'turntable type': # ... - 'virtual': # ... + 'chamber': # (chamber) + 'chamber connections': # (chamber connections) + 'chamber resources': # (chamber resources) + 'chamber type': # (chamber type) + 'duts': # (duts) + 'entity id': # (entity id) + 'flags': # (flags) + 'hide': # (hide) + 'isolation': # (isolation) + 'marked': # (marked) + 'open': # (open) + 'reported rotation (deg)': # (reported rotation (deg)) + 'reported rpm ': # (reported rpm ) + 'reported tilt (deg)': # (reported tilt (deg)) + 'resource': # (resource) + 'rotation (deg)': # (rotation (deg)) + 'rpm': # (rpm) + 'smas': # (smas) + 'tilt (deg)': # (tilt (deg)) + 'turntable': # (turntable) + 'turntable type': # (turntable type) + 'virtual': # (virtual) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -294,22 +294,22 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'avg rtt': # ... - 'bps rx a': # ... - 'bps rx b': # ... - 'drop pkts a': # ... - 'drop pkts b': # ... - 'eid': # ... - 'endpoints (a ↔ b)': # ... - 'entity id': # ... - 'name': # ... - 'pkt rx a': # ... - 'pkt rx b': # ... - 'rpt timer': # ... - 'rx drop % a': # ... - 'rx drop % b': # ... - 'state': # ... - 'type': # ... + 'avg rtt': # (avg rtt) + 'bps rx a': # (bps rx a) + 'bps rx b': # (bps rx b) + 'drop pkts a': # (drop pkts a) + 'drop pkts b': # (drop pkts b) + 'eid': # (eid) + 'endpoints (a ↔ b)': # (endpoints (a ↔ b)) + 'entity id': # (entity id) + 'name': # (name) + 'pkt rx a': # (pkt rx a) + 'pkt rx b': # (pkt rx b) + 'rpt timer': # (rpt timer) + 'rx drop % a': # (rx drop % a) + 'rx drop % b': # (rx drop % b) + 'state': # (state) + 'type': # (type) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -370,47 +370,47 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'api version': # ... - 'bssid-1': # ... - 'bssid-2': # ... - 'bssid-3': # ... - 'bssid-4': # ... - 'bssid-5': # ... - 'bssid-6': # ... - 'bssid-7': # ... - 'bssid-8': # ... - 'dut': # ... - 'eap-id': # ... - 'entity id': # ... - 'hw info': # ... - 'image file': # ... - 'lan': # ... - 'mgt ip': # ... - 'model number': # ... - 'notes': # ... - 'num ant radio 1': # ... - 'num ant radio 2': # ... - 'num ant radio 3': # ... - 'password-1': # ... - 'password-2': # ... - 'password-3': # ... - 'password-4': # ... - 'password-5': # ... - 'password-6': # ... - 'password-7': # ... - 'password-8': # ... - 'serial number': # ... - 'serial port': # ... - 'ssid-1': # ... - 'ssid-2': # ... - 'ssid-3': # ... - 'ssid-4': # ... - 'ssid-5': # ... - 'ssid-6': # ... - 'ssid-7': # ... - 'ssid-8': # ... - 'sw info': # ... - 'wan': # ... + 'api version': # (api version) + 'bssid-1': # (bssid-1) + 'bssid-2': # (bssid-2) + 'bssid-3': # (bssid-3) + 'bssid-4': # (bssid-4) + 'bssid-5': # (bssid-5) + 'bssid-6': # (bssid-6) + 'bssid-7': # (bssid-7) + 'bssid-8': # (bssid-8) + 'dut': # (dut) + 'eap-id': # (eap-id) + 'entity id': # (entity id) + 'hw info': # (hw info) + 'image file': # (image file) + 'lan': # (lan) + 'mgt ip': # (mgt ip) + 'model number': # (model number) + 'notes': # (notes) + 'num ant radio 1': # (num ant radio 1) + 'num ant radio 2': # (num ant radio 2) + 'num ant radio 3': # (num ant radio 3) + 'password-1': # (password-1) + 'password-2': # (password-2) + 'password-3': # (password-3) + 'password-4': # (password-4) + 'password-5': # (password-5) + 'password-6': # (password-6) + 'password-7': # (password-7) + 'password-8': # (password-8) + 'serial number': # (serial number) + 'serial port': # (serial port) + 'ssid-1': # (ssid-1) + 'ssid-2': # (ssid-2) + 'ssid-3': # (ssid-3) + 'ssid-4': # (ssid-4) + 'ssid-5': # (ssid-5) + 'ssid-6': # (ssid-6) + 'ssid-7': # (ssid-7) + 'ssid-8': # (ssid-8) + 'sw info': # (sw info) + 'wan': # (wan) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -474,62 +474,62 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - '1st rx': # ... - 'a/b': # ... - 'bursty': # ... - 'crc fail': # ... - 'cwnd': # ... - 'cx active': # ... - 'cx estab': # ... - 'cx estab/s': # ... - 'cx to': # ... - 'delay': # ... - 'destination addr': # ... - 'dropped': # ... - 'dup pkts': # ... - 'eid': # ... - 'elapsed': # ... - 'entity id': # ... - 'jitter': # ... - 'max pdu': # ... - 'max rate': # ... - 'min pdu': # ... - 'min rate': # ... - 'mng': # ... - 'name': # ... - 'ooo pkts': # ... - 'pattern': # ... - 'pdu/s rx': # ... - 'pdu/s tx': # ... - 'pps rx ll': # ... - 'pps tx ll': # ... - 'rcv buf': # ... - 'replays': # ... - 'run': # ... - 'rx ber': # ... - 'rx bytes': # ... - 'rx drop %': # ... - 'rx dup %': # ... - 'rx ooo %': # ... - 'rx pdus': # ... - 'rx pkts ll': # ... - 'rx rate': # ... - 'rx rate (1 min)': # ... - 'rx rate (last)': # ... - 'rx rate ll': # ... - 'rx wrong dev': # ... - 'script': # ... - 'send buf': # ... - 'source addr': # ... - 'tcp mss': # ... - 'tcp rtx': # ... - 'tx bytes': # ... - 'tx pdus': # ... - 'tx pkts ll': # ... - 'tx rate': # ... - 'tx rate (1 min)': # ... - 'tx rate (last)': # ... - 'tx rate ll': # ... + '1st rx': # (1st rx) + 'a/b': # (a/b) + 'bursty': # (bursty) + 'crc fail': # (crc fail) + 'cwnd': # (cwnd) + 'cx active': # (cx active) + 'cx estab': # (cx estab) + 'cx estab/s': # (cx estab/s) + 'cx to': # (cx to) + 'delay': # (delay) + 'destination addr': # (destination addr) + 'dropped': # (dropped) + 'dup pkts': # (dup pkts) + 'eid': # (eid) + 'elapsed': # (elapsed) + 'entity id': # (entity id) + 'jitter': # (jitter) + 'max pdu': # (max pdu) + 'max rate': # (max rate) + 'min pdu': # (min pdu) + 'min rate': # (min rate) + 'mng': # (mng) + 'name': # (name) + 'ooo pkts': # (ooo pkts) + 'pattern': # (pattern) + 'pdu/s rx': # (pdu/s rx) + 'pdu/s tx': # (pdu/s tx) + 'pps rx ll': # (pps rx ll) + 'pps tx ll': # (pps tx ll) + 'rcv buf': # (rcv buf) + 'replays': # (replays) + 'run': # (run) + 'rx ber': # (rx ber) + 'rx bytes': # (rx bytes) + 'rx drop %': # (rx drop %) + 'rx dup %': # (rx dup %) + 'rx ooo %': # (rx ooo %) + 'rx pdus': # (rx pdus) + 'rx pkts ll': # (rx pkts ll) + 'rx rate': # (rx rate) + 'rx rate (1 min)': # (rx rate (1 min)) + 'rx rate (last)': # (rx rate (last)) + 'rx rate ll': # (rx rate ll) + 'rx wrong dev': # (rx wrong dev) + 'script': # (script) + 'send buf': # (send buf) + 'source addr': # (source addr) + 'tcp mss': # (tcp mss) + 'tcp rtx': # (tcp rtx) + 'tx bytes': # (tx bytes) + 'tx pdus': # (tx pdus) + 'tx pkts ll': # (tx pkts ll) + 'tx rate': # (tx rate) + 'tx rate (1 min)': # (tx rate (1 min)) + 'tx rate (last)': # (tx rate (last)) + 'tx rate ll': # (tx rate ll) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -590,15 +590,15 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'eid': # ... - 'entity id': # ... - 'event': # ... - 'event description': # ... - 'id': # ... - 'name': # ... - 'priority': # ... - 'time-stamp': # ... - 'type': # ... + 'eid': # (eid) + 'entity id': # (entity id) + 'event': # (event) + 'event description': # (event description) + 'id': # (id) + 'name': # (name) + 'priority': # (priority) + 'time-stamp': # (time-stamp) + 'type': # (type) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -657,33 +657,33 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'buf-rd': # ... - 'buf-wr': # ... - 'bytes-rd': # ... - 'bytes-wr': # ... - 'crc fail': # ... - 'eid': # ... - 'entity id': # ... - 'files #': # ... - 'files-read': # ... - 'files-wr': # ... - 'io fail': # ... - 'max-file-sz': # ... - 'max-rd-bps': # ... - 'max-rw-sz': # ... - 'max-wr-bps': # ... - 'min-file-sz': # ... - 'min-rd-bps': # ... - 'min-rw-sz': # ... - 'min-wr-bps': # ... - 'name': # ... - 'read-bps': # ... - 'rpt timer': # ... - 'rx-bps-20s': # ... - 'status': # ... - 'tx-bps-20s': # ... - 'type': # ... - 'write-bps': # ... + 'buf-rd': # (buf-rd) + 'buf-wr': # (buf-wr) + 'bytes-rd': # (bytes-rd) + 'bytes-wr': # (bytes-wr) + 'crc fail': # (crc fail) + 'eid': # (eid) + 'entity id': # (entity id) + 'files #': # (files #) + 'files-read': # (files-read) + 'files-wr': # (files-wr) + 'io fail': # (io fail) + 'max-file-sz': # (max-file-sz) + 'max-rd-bps': # (max-rd-bps) + 'max-rw-sz': # (max-rw-sz) + 'max-wr-bps': # (max-wr-bps) + 'min-file-sz': # (min-file-sz) + 'min-rd-bps': # (min-rd-bps) + 'min-rw-sz': # (min-rw-sz) + 'min-wr-bps': # (min-wr-bps) + 'name': # (name) + 'read-bps': # (read-bps) + 'rpt timer': # (rpt timer) + 'rx-bps-20s': # (rx-bps-20s) + 'status': # (status) + 'tx-bps-20s': # (tx-bps-20s) + 'type': # (type) + 'write-bps': # (write-bps) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -741,25 +741,25 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'bps rx': # ... - 'bps tx': # ... - 'command': # ... - 'dropped': # ... - 'eid': # ... - 'elapsed': # ... - 'entity id': # ... - 'last results': # ... - 'name': # ... - 'pdu/s rx': # ... - 'pdu/s tx': # ... - 'rpt timer': # ... - 'rpt#': # ... - 'rx bytes': # ... - 'rx pkts': # ... - 'status': # ... - 'tx bytes': # ... - 'tx pkts': # ... - 'type': # ... + 'bps rx': # (bps rx) + 'bps tx': # (bps tx) + 'command': # (command) + 'dropped': # (dropped) + 'eid': # (eid) + 'elapsed': # (elapsed) + 'entity id': # (entity id) + 'last results': # (last results) + 'name': # (name) + 'pdu/s rx': # (pdu/s rx) + 'pdu/s tx': # (pdu/s tx) + 'rpt timer': # (rpt timer) + 'rpt#': # (rpt#) + 'rx bytes': # (rx bytes) + 'rx pkts': # (rx pkts) + 'status': # (status) + 'tx bytes': # (tx bytes) + 'tx pkts': # (tx pkts) + 'type': # (type) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -867,50 +867,50 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - '!conn': # ... - 'acc. denied': # ... - 'bad-proto': # ... - 'bad-url': # ... - 'bytes-rd': # ... - 'bytes-wr': # ... - 'dns-avg': # ... - 'dns-max': # ... - 'dns-min': # ... - 'eid': # ... - 'elapsed': # ... - 'entity id': # ... - 'fb-avg': # ... - 'fb-max': # ... - 'fb-min': # ... - 'ftp-host': # ... - 'ftp-port': # ... - 'ftp-stor': # ... - 'http-p': # ... - 'http-r': # ... - 'http-t': # ... - 'login-denied': # ... - 'name': # ... - 'nf (4xx)': # ... - 'other-err': # ... - 'read': # ... - 'redir': # ... - 'rpt timer': # ... - 'rslv-h': # ... - 'rslv-p': # ... - 'rx rate': # ... - 'rx rate (1 min)': # ... - 'status': # ... - 'timeout': # ... - 'total-err': # ... - 'total-urls': # ... - 'tx rate': # ... - 'tx rate (1 min)': # ... - 'type': # ... - 'uc-avg': # ... - 'uc-max': # ... - 'uc-min': # ... - 'urls/s': # ... - 'write': # ... + '!conn': # (!conn) + 'acc. denied': # (acc. denied) + 'bad-proto': # (bad-proto) + 'bad-url': # (bad-url) + 'bytes-rd': # (bytes-rd) + 'bytes-wr': # (bytes-wr) + 'dns-avg': # (dns-avg) + 'dns-max': # (dns-max) + 'dns-min': # (dns-min) + 'eid': # (eid) + 'elapsed': # (elapsed) + 'entity id': # (entity id) + 'fb-avg': # (fb-avg) + 'fb-max': # (fb-max) + 'fb-min': # (fb-min) + 'ftp-host': # (ftp-host) + 'ftp-port': # (ftp-port) + 'ftp-stor': # (ftp-stor) + 'http-p': # (http-p) + 'http-r': # (http-r) + 'http-t': # (http-t) + 'login-denied': # (login-denied) + 'name': # (name) + 'nf (4xx)': # (nf (4xx)) + 'other-err': # (other-err) + 'read': # (read) + 'redir': # (redir) + 'rpt timer': # (rpt timer) + 'rslv-h': # (rslv-h) + 'rslv-p': # (rslv-p) + 'rx rate': # (rx rate) + 'rx rate (1 min)': # (rx rate (1 min)) + 'status': # (status) + 'timeout': # (timeout) + 'total-err': # (total-err) + 'total-urls': # (total-urls) + 'tx rate': # (tx rate) + 'tx rate (1 min)': # (tx rate (1 min)) + 'type': # (type) + 'uc-avg': # (uc-avg) + 'uc-max': # (uc-max) + 'uc-min': # (uc-min) + 'urls/s': # (urls/s) + 'write': # (write) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -983,80 +983,80 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - '4way time (us)': # ... - 'activity': # ... - 'alias': # ... - 'anqp time (us)': # ... - 'ap': # ... - 'beacon': # ... - 'bps rx': # ... - 'bps rx ll': # ... - 'bps tx': # ... - 'bps tx ll': # ... - 'bytes rx ll': # ... - 'bytes tx ll': # ... - 'channel': # ... - 'collisions': # ... - 'connections': # ... - 'crypt': # ... - 'cx ago': # ... - 'cx time (us)': # ... - 'device': # ... - 'dhcp (ms)': # ... - 'down': # ... - 'entity id': # ... - 'gateway ip': # ... - 'ip': # ... - 'ipv6 address': # ... - 'ipv6 gateway': # ... - 'key/phrase': # ... - 'login-fail': # ... - 'login-ok': # ... - 'logout-fail': # ... - 'logout-ok': # ... - 'mac': # ... - 'mask': # ... - 'misc': # ... - 'mode': # ... - 'mtu': # ... - 'no cx (us)': # ... - 'noise': # ... - 'parent dev': # ... - 'phantom': # ... - 'port': # ... - 'port type': # ... - 'pps rx': # ... - 'pps tx': # ... - 'qlen': # ... - 'reset': # ... - 'retry failed': # ... - 'rx bytes': # ... - 'rx crc': # ... - 'rx drop': # ... - 'rx errors': # ... - 'rx fifo': # ... - 'rx frame': # ... - 'rx length': # ... - 'rx miss': # ... - 'rx over': # ... - 'rx pkts': # ... - 'rx-rate': # ... - 'sec': # ... - 'signal': # ... - 'ssid': # ... - 'status': # ... - 'time-stamp': # ... - 'tx abort': # ... - 'tx bytes': # ... - 'tx crr': # ... - 'tx errors': # ... - 'tx fifo': # ... - 'tx hb': # ... - 'tx pkts': # ... - 'tx wind': # ... - 'tx-failed %': # ... - 'tx-rate': # ... - 'wifi retries': # ... + '4way time (us)': # (4way time (us)) + 'activity': # (activity) + 'alias': # (alias) + 'anqp time (us)': # (anqp time (us)) + 'ap': # (ap) + 'beacon': # (beacon) + 'bps rx': # (bps rx) + 'bps rx ll': # (bps rx ll) + 'bps tx': # (bps tx) + 'bps tx ll': # (bps tx ll) + 'bytes rx ll': # (bytes rx ll) + 'bytes tx ll': # (bytes tx ll) + 'channel': # (channel) + 'collisions': # (collisions) + 'connections': # (connections) + 'crypt': # (crypt) + 'cx ago': # (cx ago) + 'cx time (us)': # (cx time (us)) + 'device': # (device) + 'dhcp (ms)': # (dhcp (ms)) + 'down': # (down) + 'entity id': # (entity id) + 'gateway ip': # (gateway ip) + 'ip': # (ip) + 'ipv6 address': # (ipv6 address) + 'ipv6 gateway': # (ipv6 gateway) + 'key/phrase': # (key/phrase) + 'login-fail': # (login-fail) + 'login-ok': # (login-ok) + 'logout-fail': # (logout-fail) + 'logout-ok': # (logout-ok) + 'mac': # (mac) + 'mask': # (mask) + 'misc': # (misc) + 'mode': # (mode) + 'mtu': # (mtu) + 'no cx (us)': # (no cx (us)) + 'noise': # (noise) + 'parent dev': # (parent dev) + 'phantom': # (phantom) + 'port': # (port) + 'port type': # (port type) + 'pps rx': # (pps rx) + 'pps tx': # (pps tx) + 'qlen': # (qlen) + 'reset': # (reset) + 'retry failed': # (retry failed) + 'rx bytes': # (rx bytes) + 'rx crc': # (rx crc) + 'rx drop': # (rx drop) + 'rx errors': # (rx errors) + 'rx fifo': # (rx fifo) + 'rx frame': # (rx frame) + 'rx length': # (rx length) + 'rx miss': # (rx miss) + 'rx over': # (rx over) + 'rx pkts': # (rx pkts) + 'rx-rate': # (rx-rate) + 'sec': # (sec) + 'signal': # (signal) + 'ssid': # (ssid) + 'status': # (status) + 'time-stamp': # (time-stamp) + 'tx abort': # (tx abort) + 'tx bytes': # (tx bytes) + 'tx crr': # (tx crr) + 'tx errors': # (tx errors) + 'tx fifo': # (tx fifo) + 'tx hb': # (tx hb) + 'tx pkts': # (tx pkts) + 'tx wind': # (tx wind) + 'tx-failed %': # (tx-failed %) + 'tx-rate': # (tx-rate) + 'wifi retries': # (wifi retries) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1162,32 +1162,32 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - '_links': # ... - 'antenna': # ... - 'ap': # ... - 'capabilities': # ... - 'channel': # ... - 'country': # ... - 'driver': # ... - 'entity id': # ... - 'firmware version': # ... - 'frag': # ... - 'frequency': # ... - 'max_sta': # ... - 'max_vap': # ... - 'max_vifs': # ... - 'monitors_down': # ... - 'monitors_up': # ... - 'phantom': # ... - 'port': # ... - 'resource': # ... - 'rts': # ... - 'stations_down': # ... - 'stations_up': # ... - 'tx-power': # ... - 'vaps_down': # ... - 'vaps_up': # ... - 'verbose debug': # ... + '_links': # (_links) + 'antenna': # (antenna) + 'ap': # (ap) + 'capabilities': # (capabilities) + 'channel': # (channel) + 'country': # (country) + 'driver': # (driver) + 'entity id': # (entity id) + 'firmware version': # (firmware version) + 'frag': # (frag) + 'frequency': # (frequency) + 'max_sta': # (max_sta) + 'max_vap': # (max_vap) + 'max_vifs': # (max_vifs) + 'monitors_down': # (monitors_down) + 'monitors_up': # (monitors_up) + 'phantom': # (phantom) + 'port': # (port) + 'resource': # (resource) + 'rts': # (rts) + 'stations_down': # (stations_down) + 'stations_up': # (stations_up) + 'tx-power': # (tx-power) + 'vaps_down': # (vaps_down) + 'vaps_up': # (vaps_up) + 'verbose debug': # (verbose debug) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1248,31 +1248,31 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'bps-rx-3s': # ... - 'bps-tx-3s': # ... - 'cli-port': # ... - 'cpu': # ... - 'ctrl-ip': # ... - 'ctrl-port': # ... - 'eid': # ... - 'entity id': # ... - 'free mem': # ... - 'free swap': # ... - 'gps': # ... - 'hostname': # ... - 'hw version': # ... - 'load': # ... - 'max if-up': # ... - 'max staged': # ... - 'mem': # ... - 'phantom': # ... - 'ports': # ... - 'rx bytes': # ... - 'shelf': # ... - 'sta up': # ... - 'sw version': # ... - 'swap': # ... - 'tx bytes': # ... + 'bps-rx-3s': # (bps-rx-3s) + 'bps-tx-3s': # (bps-tx-3s) + 'cli-port': # (cli-port) + 'cpu': # (cpu) + 'ctrl-ip': # (ctrl-ip) + 'ctrl-port': # (ctrl-port) + 'eid': # (eid) + 'entity id': # (entity id) + 'free mem': # (free mem) + 'free swap': # (free swap) + 'gps': # (gps) + 'hostname': # (hostname) + 'hw version': # (hw version) + 'load': # (load) + 'max if-up': # (max if-up) + 'max staged': # (max staged) + 'mem': # (mem) + 'phantom': # (phantom) + 'ports': # (ports) + 'rx bytes': # (rx bytes) + 'shelf': # (shelf) + 'sta up': # (sta up) + 'sw version': # (sw version) + 'swap': # (swap) + 'tx bytes': # (tx bytes) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1384,22 +1384,22 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'ap': # ... - 'auth-for': # ... - 'capabilities': # ... - 'entity id': # ... - 'idle': # ... - 'roam-duration': # ... - 'rx bytes': # ... - 'rx pkts': # ... - 'rx rate': # ... - 'signal': # ... - 'station bssid': # ... - 'tx bytes': # ... - 'tx pkts': # ... - 'tx rate': # ... - 'tx retries': # ... - 'tx-failed': # ... + 'ap': # (ap) + 'auth-for': # (auth-for) + 'capabilities': # (capabilities) + 'entity id': # (entity id) + 'idle': # (idle) + 'roam-duration': # (roam-duration) + 'rx bytes': # (rx bytes) + 'rx pkts': # (rx pkts) + 'rx rate': # (rx rate) + 'signal': # (signal) + 'station bssid': # (station bssid) + 'tx bytes': # (tx bytes) + 'tx pkts': # (tx pkts) + 'tx rate': # (tx rate) + 'tx retries': # (tx retries) + 'tx-failed': # (tx-failed) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1509,11 +1509,11 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'cross connects': # ... - 'entity id': # ... - 'name': # ... - 'run': # ... - 'script': # ... + 'cross connects': # (cross connects) + 'entity id': # (entity id) + 'name': # (name) + 'run': # (run) + 'script': # (script) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1571,10 +1571,10 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'eid': # ... - 'name': # ... - 'text': # ... - 'type': # ... + 'eid': # (eid) + 'name': # (name) + 'text': # (text) + 'type': # (type) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1641,23 +1641,23 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'bps rx a': # ... - 'bps rx b': # ... - 'delay a ← b': # ... - 'delay a → b': # ... - 'eid': # ... - 'endpoints (a ↔ b)': # ... - 'entity id': # ... - 'jitter a ← b': # ... - 'jitter a → b': # ... - 'name': # ... - 'pkt tx a ← b': # ... - 'pkt tx a → b': # ... - 'rpt timer': # ... - 'rx drop % a': # ... - 'rx drop % b': # ... - 'state': # ... - 'type': # ... + 'bps rx a': # (bps rx a) + 'bps rx b': # (bps rx b) + 'delay a ← b': # (delay a ← b) + 'delay a → b': # (delay a → b) + 'eid': # (eid) + 'endpoints (a ↔ b)': # (endpoints (a ↔ b)) + 'entity id': # (entity id) + 'jitter a ← b': # (jitter a ← b) + 'jitter a → b': # (jitter a → b) + 'name': # (name) + 'pkt tx a ← b': # (pkt tx a ← b) + 'pkt tx a → b': # (pkt tx a → b) + 'rpt timer': # (rpt timer) + 'rx drop % a': # (rx drop % a) + 'rx drop % b': # (rx drop % b) + 'state': # (state) + 'type': # (type) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1717,43 +1717,43 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'calls answered': # ... - 'calls attempted': # ... - 'calls completed': # ... - 'calls failed': # ... - 'cf 404': # ... - 'cf 408': # ... - 'cf busy': # ... - 'cf canceled': # ... - 'delay': # ... - 'destination addr': # ... - 'dropped': # ... - 'dup pkts': # ... - 'eid': # ... - 'elapsed': # ... - 'entity id': # ... - 'jb cur': # ... - 'jb over': # ... - 'jb silence': # ... - 'jb under': # ... - 'jitter': # ... - 'mng': # ... - 'name': # ... - 'ooo pkts': # ... - 'pesq': # ... - 'pesq bklg': # ... - 'pesq#': # ... - 'reg state': # ... - 'rst': # ... - 'rtp rtt': # ... - 'run': # ... - 'rx bytes': # ... - 'rx pkts': # ... - 'source addr': # ... - 'state': # ... - 'tx bytes': # ... - 'tx pkts': # ... - 'vad pkts': # ... + 'calls answered': # (calls answered) + 'calls attempted': # (calls attempted) + 'calls completed': # (calls completed) + 'calls failed': # (calls failed) + 'cf 404': # (cf 404) + 'cf 408': # (cf 408) + 'cf busy': # (cf busy) + 'cf canceled': # (cf canceled) + 'delay': # (delay) + 'destination addr': # (destination addr) + 'dropped': # (dropped) + 'dup pkts': # (dup pkts) + 'eid': # (eid) + 'elapsed': # (elapsed) + 'entity id': # (entity id) + 'jb cur': # (jb cur) + 'jb over': # (jb over) + 'jb silence': # (jb silence) + 'jb under': # (jb under) + 'jitter': # (jitter) + 'mng': # (mng) + 'name': # (name) + 'ooo pkts': # (ooo pkts) + 'pesq': # (pesq) + 'pesq bklg': # (pesq bklg) + 'pesq#': # (pesq#) + 'reg state': # (reg state) + 'rst': # (rst) + 'rtp rtt': # (rtp rtt) + 'run': # (run) + 'rx bytes': # (rx bytes) + 'rx pkts': # (rx pkts) + 'source addr': # (source addr) + 'state': # (state) + 'tx bytes': # (tx bytes) + 'tx pkts': # (tx pkts) + 'vad pkts': # (vad pkts) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1818,41 +1818,41 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'active ipv6 router': # ... - 'bgp 4byte as': # ... - 'bgp damping': # ... - 'bgp peers': # ... - 'cluster id': # ... - 'collision domain id': # ... - 'confederation id': # ... - 'damping half life': # ... - 'damping max suppress': # ... - 'damping reuse': # ... - 'damping suppress': # ... - 'entity id': # ... - 'height': # ... - 'ipv6 radv': # ... - 'is bgp reflector': # ... - 'local as': # ... - 'multicast routing': # ... - 'name': # ... - 'netsmith-state': # ... - 'notes': # ... - 'pad': # ... - 'ripv2': # ... - 'router connections': # ... - 'router id': # ... - 'router id': # ... - 'use confederation ': # ... - 'use existing cfg': # ... - 'use ospf': # ... - 'use rip dft route': # ... - 'using bgp': # ... - 'using olsr': # ... - 'width': # ... - 'x': # ... - 'xorp sha': # ... - 'y': # ... + 'active ipv6 router': # (active ipv6 router) + 'bgp 4byte as': # (bgp 4byte as) + 'bgp damping': # (bgp damping) + 'bgp peers': # (bgp peers) + 'cluster id': # (cluster id) + 'collision domain id': # (collision domain id) + 'confederation id': # (confederation id) + 'damping half life': # (damping half life) + 'damping max suppress': # (damping max suppress) + 'damping reuse': # (damping reuse) + 'damping suppress': # (damping suppress) + 'entity id': # (entity id) + 'height': # (height) + 'ipv6 radv': # (ipv6 radv) + 'is bgp reflector': # (is bgp reflector) + 'local as': # (local as) + 'multicast routing': # (multicast routing) + 'name': # (name) + 'netsmith-state': # (netsmith-state) + 'notes': # (notes) + 'pad': # (pad) + 'ripv2': # (ripv2) + 'router connections': # (router connections) + 'router id': # (router id) + 'router id': # (router id) + 'use confederation ': # (use confederation ) + 'use existing cfg': # (use existing cfg) + 'use ospf': # (use ospf) + 'use rip dft route': # (use rip dft route) + 'using bgp': # (using bgp) + 'using olsr': # (using olsr) + 'width': # (width) + 'x': # (x) + 'xorp sha': # (xorp sha) + 'y': # (y) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1910,25 +1910,25 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'entity id': # ... - 'height': # ... - 'interface cost': # ... - 'local-a': # ... - 'local-b': # ... - 'netsmith-state': # ... - 'remote-a': # ... - 'remote-b': # ... - 'resource': # ... - 'rip metric': # ... - 'vrrp id': # ... - 'vrrp interval': # ... - 'vrrp ip': # ... - 'vrrp ip-prefix': # ... - 'vrrp priority': # ... - 'wan link': # ... - 'width': # ... - 'x': # ... - 'y': # ... + 'entity id': # (entity id) + 'height': # (height) + 'interface cost': # (interface cost) + 'local-a': # (local-a) + 'local-b': # (local-b) + 'netsmith-state': # (netsmith-state) + 'remote-a': # (remote-a) + 'remote-b': # (remote-b) + 'resource': # (resource) + 'rip metric': # (rip metric) + 'vrrp id': # (vrrp id) + 'vrrp interval': # (vrrp interval) + 'vrrp ip': # (vrrp ip) + 'vrrp ip-prefix': # (vrrp ip-prefix) + 'vrrp priority': # (vrrp priority) + 'wan link': # (wan link) + 'width': # (width) + 'x': # (x) + 'y': # (y) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -1995,17 +1995,17 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'bps rx a': # ... - 'bps rx b': # ... - 'eid': # ... - 'endpoints (a ↔ b)': # ... - 'entity id': # ... - 'k-m': # ... - 'name': # ... - 'pkt tx a ← b': # ... - 'pkt tx a → b': # ... - 'rpt timer': # ... - 'state': # ... + 'bps rx a': # (bps rx a) + 'bps rx b': # (bps rx b) + 'eid': # (eid) + 'endpoints (a ↔ b)': # (endpoints (a ↔ b)) + 'entity id': # (entity id) + 'k-m': # (k-m) + 'name': # (name) + 'pkt tx a ← b': # (pkt tx a ← b) + 'pkt tx a → b': # (pkt tx a → b) + 'rpt timer': # (rpt timer) + 'state': # (state) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----""" @@ -2065,41 +2065,41 @@ class LFJsonGet(LFCliBase): The record returned will have these members: { - 'buffer': # ... - 'corrupt 1': # ... - 'corrupt 2': # ... - 'corrupt 3': # ... - 'corrupt 4': # ... - 'corrupt 5': # ... - 'corrupt 6': # ... - 'delay': # ... - 'dropfreq %': # ... - 'dropped': # ... - 'dup pkts': # ... - 'dupfreq %': # ... - 'eid': # ... - 'elapsed': # ... - 'extrabuf': # ... - 'failed-late': # ... - 'jitfreq %': # ... - 'max rate': # ... - 'maxjitter': # ... - 'maxlate': # ... - 'name': # ... - 'ooo pkts': # ... - 'qdisc': # ... - 'reordfrq %': # ... - 'run': # ... - 'rx bytes': # ... - 'rx pkts': # ... - 'script': # ... - 'serdelay': # ... - 'tx bytes': # ... - 'tx drop %': # ... - 'tx pkts': # ... - 'tx rate': # ... - 'tx-failed': # ... - 'wps': # ... + 'buffer': # (buffer) + 'corrupt 1': # (corrupt 1) + 'corrupt 2': # (corrupt 2) + 'corrupt 3': # (corrupt 3) + 'corrupt 4': # (corrupt 4) + 'corrupt 5': # (corrupt 5) + 'corrupt 6': # (corrupt 6) + 'delay': # (delay) + 'dropfreq %': # (dropfreq %) + 'dropped': # (dropped) + 'dup pkts': # (dup pkts) + 'dupfreq %': # (dupfreq %) + 'eid': # (eid) + 'elapsed': # (elapsed) + 'extrabuf': # (extrabuf) + 'failed-late': # (failed-late) + 'jitfreq %': # (jitfreq %) + 'max rate': # (max rate) + 'maxjitter': # (maxjitter) + 'maxlate': # (maxlate) + 'name': # (name) + 'ooo pkts': # (ooo pkts) + 'qdisc': # (qdisc) + 'reordfrq %': # (reordfrq %) + 'run': # (run) + 'rx bytes': # (rx bytes) + 'rx pkts': # (rx pkts) + 'script': # (script) + 'serdelay': # (serdelay) + 'tx bytes': # (tx bytes) + 'tx drop %': # (tx drop %) + 'tx pkts': # (tx pkts) + 'tx rate': # (tx rate) + 'tx-failed': # (tx-failed) + 'wps': # (wps) } ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----"""