1--- 2PhyPortTable: 3 rpc: get-interface-information 4 args: 5 interface_name: '[efgx][et]-*' 6 args_key: interface_name 7 item: physical-interface 8 view: PhyPortView 9 10PhyPortView: 11 fields: 12 oper : oper-status 13 admin : admin-status 14 description: description 15 mtu: { mtu : int } 16 link_mode: link-mode 17 speed: speed 18 macaddr: current-physical-address 19 flapped: interface-flapped 20 21### --------------------------------------------------------------------------- 22### get extensive information 23### --------------------------------------------------------------------------- 24 25PhyPortStatsTable: 26 rpc: get-interface-information 27 args: 28 extensive: True 29 interface_name: '[efgx][et]-*' 30 args_key: interface_name 31 item: physical-interface 32 view: PhyPortStatsView 33 34PhyPortStatsView: 35 groups: 36 ts: traffic-statistics 37 rxerrs: input-error-list 38 39 # fields that are part of groups are called 40 # "fields_<group-name>" 41 42 fields_ts: 43 rx_bytes: { input-bytes: int } 44 rx_packets: { input-packets: int } 45 tx_bytes: { output-bytes: int } 46 tx_packets: { output-packets: int } 47 48 fields_rxerrs: 49 rx_err_input: { input-errors: int } 50 rx_err_drops: { input-drops: int } 51 52PhyPortErrorTable: 53 rpc: get-interface-information 54 args: 55 extensive: True 56 interface_name: '[efgx][et]-*' 57 args_key: interface_name 58 item: physical-interface 59 view: PhyPortErrorView 60 61PhyPortErrorView: 62 groups: 63 ts: traffic-statistics 64 rxerrs: input-error-list 65 txerrs: output-error-list 66 67 # fields that are part of groups are called 68 # "fields_<group-name>" 69 70 fields_ts: 71 rx_bytes: { input-bytes: int } 72 rx_packets: { input-packets: int } 73 tx_bytes: { output-bytes: int } 74 tx_packets: { output-packets: int } 75 76 fields_rxerrs: 77 rx_err_input: { input-errors: int } 78 rx_err_drops: { input-drops: int } 79 rx_err_frame: { framing-errors: int } 80 rx_err_runts: { input-runts: int } 81 rx_err_discards: { input-discards: int } 82 rx_err_l3-incompletes: { input-l3-incompletes: int } 83 rx_err_l2-channel: { input-l2-channel-errors: int } 84 rx_err_l2-mismatch: { input-l2-mismatch-timeouts: int } 85 rx_err_fifo: { input-fifo-errors: int } 86 rx_err_resource: { input-resource-errors: int } 87 88 fields_txerrs: 89 tx_err_carrier-transitions: { carrier-transitions: int } 90 tx_err_output: { output-errors: int } 91 tx_err_collisions: { output-collisions: int } 92 tx_err_drops: { output-drops: int } 93 tx_err_aged: { aged-packets: int } 94 tx_err_mtu: { mtu-errors: int } 95 tx_err_hs-crc: { hs-link-crc-errors: int } 96 tx_err_fifo: { output-fifo-errors: int } 97 tx_err_resource: { output-resource-errors: int } 98