2.20.
CLASS: PIF
CHAPTER 2.
API REFERENCE
RPC name: scan
Overview:
Scan for physical interfaces on a host and create PIF objects to represent them.
Signature:
void scan (session_id s, host ref host)
Arguments:
type
name
description
host ref
host
The host on which to scan
Return Type:
void
RPC name: introduce
Overview:
Create a PIF object matching a particular network interface.
Signature:
(PIF ref) introduce (session_id s, host ref host, string MAC, string device)
Arguments:
type
name
description
host ref
host
The host on which the interface exists
string
MAC
The MAC address of the interface
string
device
The device name to use for the interface
Return Type:
PIF ref
The reference of the created PIF object
RPC name: forget
Overview:
Destroy the PIF object matching a particular network interface.
Signature:
void forget (session_id s, PIF ref self)
Arguments:
type
name
description
PIF ref
self
The PIF object to destroy
Return Type:
void
178