Fields
-
string
uuid
unique identifier/object reference
-
string
device
machine-readable name of the interface (e.g. eth0)
-
network
network
virtual network to which this pif is connected
-
host
host
physical machine to which this pif is connected
-
string
MAC
ethernet MAC address of physical interface
-
int
MTU
MTU in octets
-
int
VLAN
VLAN tag for all traffic passing through this interface
-
PIF_metrics
metrics
metrics associated with this PIF
Implicit messages
-
Record[PIF]
get_record
(session session_id, PIF self)
Get a record containing the current state of the given PIF.
-
PIF
get_by_uuid
(session session_id, string uuid)
Get a reference to the PIF instance with the specified UUID.
-
Set[PIF]
get_all
(session session_id)
Return a list of all the PIFs known to the system.
-
Map[PIF,Record[PIF]]
get_all_records
(session session_id)
Return a map of PIF references to PIF records for all PIFs known to the system.
Explicit messages
-
PIF
create_VLAN
(session session_id, string device, network network, host host, int VLAN)
Create a VLAN interface from an existing physical interface
-
void
destroy
(session session_id, PIF self)
Destroy the interface (provided it is a synthetic interface like a VLAN; fail if it is a physical interface)