| 1 |
--- |
| 2 |
PhyPortTable: |
| 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 |
|
| 10 |
PhyPortView: |
| 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 |
|
| 25 |
PhyPortStatsTable: |
| 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 |
|
| 34 |
PhyPortStatsView: |
| 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 |
rx_bps: { input-bps: int } |
| 46 |
rx_pps: { input-pps: int } |
| 47 |
tx_bytes: { output-bytes: int } |
| 48 |
tx_packets: { output-packets: int } |
| 49 |
tx_bps: { output-bps: int } |
| 50 |
tx_pps: { output-pps: int } |
| 51 |
|
| 52 |
fields_rxerrs: |
| 53 |
rx_err_input: { input-errors: int } |
| 54 |
rx_err_drops: { input-drops: int } |
| 55 |
|
| 56 |
PhyPortErrorTable: |
| 57 |
rpc: get-interface-information |
| 58 |
args: |
| 59 |
extensive: True |
| 60 |
interface_name: '[efgx][et]-*' |
| 61 |
args_key: interface_name |
| 62 |
item: physical-interface |
| 63 |
view: PhyPortErrorView |
| 64 |
|
| 65 |
PhyPortErrorView: |
| 66 |
groups: |
| 67 |
ts: traffic-statistics |
| 68 |
rxerrs: input-error-list |
| 69 |
txerrs: output-error-list |
| 70 |
|
| 71 |
# fields that are part of groups are called |
| 72 |
# "fields_<group-name>" |
| 73 |
|
| 74 |
fields_ts: |
| 75 |
rx_bytes: { input-bytes: int } |
| 76 |
rx_packets: { input-packets: int } |
| 77 |
tx_bytes: { output-bytes: int } |
| 78 |
tx_packets: { output-packets: int } |
| 79 |
|
| 80 |
fields_rxerrs: |
| 81 |
rx_err_input: { input-errors: int } |
| 82 |
rx_err_drops: { input-drops: int } |
| 83 |
rx_err_frame: { framing-errors: int } |
| 84 |
rx_err_runts: { input-runts: int } |
| 85 |
rx_err_discards: { input-discards: int } |
| 86 |
rx_err_l3-incompletes: { input-l3-incompletes: int } |
| 87 |
rx_err_l2-channel: { input-l2-channel-errors: int } |
| 88 |
rx_err_l2-mismatch: { input-l2-mismatch-timeouts: int } |
| 89 |
rx_err_fifo: { input-fifo-errors: int } |
| 90 |
rx_err_resource: { input-resource-errors: int } |
| 91 |
|
| 92 |
fields_txerrs: |
| 93 |
tx_err_carrier-transitions: { carrier-transitions: int } |
| 94 |
tx_err_output: { output-errors: int } |
| 95 |
tx_err_collisions: { output-collisions: int } |
| 96 |
tx_err_drops: { output-drops: int } |
| 97 |
tx_err_aged: { aged-packets: int } |
| 98 |
tx_err_mtu: { mtu-errors: int } |
| 99 |
tx_err_hs-crc: { hs-link-crc-errors: int } |
| 100 |
tx_err_fifo: { output-fifo-errors: int } |
| 101 |
tx_err_resource: { output-resource-errors: int } |