2.21.
CLASS: PIF METRICS
CHAPTER 2.
API REFERENCE
2.21
Class: PIF metrics
2.21.1
Fields for class: PIF metrics
Name
PIF metrics
Description
The metrics associated with a physical network interface.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
run
io/read kbs
float
Read bandwidth (KiB/s)
RO
run
io/write kbs
float
Write bandwidth (KiB/s)
RO
run
carrier
bool
Report if the PIF got a carrier or not
RO
run
vendor id
string
Report vendor ID
RO
run
vendor name
string
Report vendor name
RO
run
device id
string
Report device ID
RO
run
device name
string
Report device name
RO
run
speed
int
Speed of the link (if available)
RO
run
duplex
bool
Full duplex capability of the link (if
available)
RO
run
pci bus path
string
PCI bus path of the pif (if available)
RO
run
last updated
datetime
Time at which this information was
last updated
2.21.2
RPCs associated with class: PIF metrics
RPC name: get all
Overview:
Return a list of all the PIF metrics instances known to the system.
Signature:
((PIF_metrics ref) Set) get_all (session_id s)
Return Type:
(PIF metrics ref) Set
references to all objects
RPC name: get all records
Overview:
Return a map of PIF metrics references to PIF metrics records for all PIF metrics instances known
to the system.
Signature:
((PIF_metrics ref -> PIF_metrics record) Map) get_all_records (session_id s)
Return Type:
(PIF metrics ref
→
PIF metrics record) Map
records of all objects
188