Class: PIF

A physical network interface (note separate VLANs are represented as several PIFs)

Enums

pif_igmp_status
ip_configuration_mode
ipv6_configuration_mode
primary_address_type

Fields

string DNS [RO/runtime]
string IP [RO/runtime]
string set IPv6 [RO/runtime]
string MAC [RO/constructor]
int MTU [RO/constructor]
PCI ref PCI [RO/runtime]
int VLAN [RO/constructor]
VLAN ref VLAN_master_of [RO/runtime]
VLAN ref set VLAN_slave_of [RO/runtime]
Bond ref set bond_master_of [RO/runtime]
Bond ref bond_slave_of [RO/runtime]
string set capabilities [RO/runtime]
bool currently_attached [RO/runtime]
string device [RO/constructor]
bool disallow_unplug [RO/runtime]
string gateway [RO/runtime]
host ref host [RO/constructor]
enum pif_igmp_status igmp_snooping_status [RO/runtime]
enum ip_configuration_mode ip_configuration_mode [RO/runtime]
enum ipv6_configuration_mode ipv6_configuration_mode [RO/runtime]
string ipv6_gateway [RO/runtime]
bool managed [RO/constructor]
bool management [RO/runtime]
PIF_metrics ref metrics [RO/runtime]
string netmask [RO/runtime]
network ref network [RO/constructor]
(string → string) map other_config [RW]
bool physical [RO/runtime]
enum primary_address_type primary_address_type [RO/runtime]
(string → string) map properties [RO/runtime]
network_sriov ref set sriov_logical_PIF_of [RO/runtime]
network_sriov ref set sriov_physical_PIF_of [RO/runtime]
tunnel ref set tunnel_access_PIF_of [RO/runtime]
tunnel ref set tunnel_transport_PIF_of [RO/runtime]
string uuid [RO/runtime]

Messages

void add_to_other_config (session ref, PIF ref, string, string)
Deprecated
PIF ref create_VLAN (session ref, string, network ref, host ref, int)
void db_forget (session ref, PIF ref)
PIF ref db_introduce (session ref, string, network ref, host ref, string, int, int, bool, enum ip_configuration_mode, string, string, string, string, Bond ref, VLAN ref, bool, (string → string) map, bool, enum ipv6_configuration_mode, string set, string, enum primary_address_type, bool, (string → string) map)
Deprecated
void destroy (session ref, PIF ref)
void forget (session ref, PIF ref)
string get_DNS (session ref, PIF ref)
string get_IP (session ref, PIF ref)
string set get_IPv6 (session ref, PIF ref)
string get_MAC (session ref, PIF ref)
int get_MTU (session ref, PIF ref)
PCI ref get_PCI (session ref, PIF ref)
int get_VLAN (session ref, PIF ref)
VLAN ref get_VLAN_master_of (session ref, PIF ref)
VLAN ref set get_VLAN_slave_of (session ref, PIF ref)
PIF ref set get_all (session ref)
(PIF ref → PIF record) map get_all_records (session ref)
Bond ref set get_bond_master_of (session ref, PIF ref)
Bond ref get_bond_slave_of (session ref, PIF ref)
PIF ref get_by_uuid (session ref, string)
string set get_capabilities (session ref, PIF ref)
bool get_currently_attached (session ref, PIF ref)
string get_device (session ref, PIF ref)
bool get_disallow_unplug (session ref, PIF ref)
string get_gateway (session ref, PIF ref)
host ref get_host (session ref, PIF ref)
enum pif_igmp_status get_igmp_snooping_status (session ref, PIF ref)
enum ip_configuration_mode get_ip_configuration_mode (session ref, PIF ref)
enum ipv6_configuration_mode get_ipv6_configuration_mode (session ref, PIF ref)
string get_ipv6_gateway (session ref, PIF ref)
bool get_managed (session ref, PIF ref)
bool get_management (session ref, PIF ref)
PIF_metrics ref get_metrics (session ref, PIF ref)
string get_netmask (session ref, PIF ref)
network ref get_network (session ref, PIF ref)
(string → string) map get_other_config (session ref, PIF ref)
bool get_physical (session ref, PIF ref)
enum primary_address_type get_primary_address_type (session ref, PIF ref)
(string → string) map get_properties (session ref, PIF ref)
PIF record get_record (session ref, PIF ref)
network_sriov ref set get_sriov_logical_PIF_of (session ref, PIF ref)
network_sriov ref set get_sriov_physical_PIF_of (session ref, PIF ref)
tunnel ref set get_tunnel_access_PIF_of (session ref, PIF ref)
tunnel ref set get_tunnel_transport_PIF_of (session ref, PIF ref)
string get_uuid (session ref, PIF ref)
PIF ref introduce (session ref, host ref, string, string, bool)
void plug (session ref, PIF ref)
void reconfigure_ip (session ref, PIF ref, enum ip_configuration_mode, string, string, string, string)
void reconfigure_ipv6 (session ref, PIF ref, enum ipv6_configuration_mode, string, string, string)
void remove_from_other_config (session ref, PIF ref, string)
void scan (session ref, host ref)
void set_disallow_unplug (session ref, PIF ref, bool)
void set_other_config (session ref, PIF ref, (string → string) map)
void set_primary_address_type (session ref, PIF ref, enum primary_address_type)
void set_property (session ref, PIF ref, string, string)
void unplug (session ref, PIF ref)