openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | Static Public Member Functions | List of all members
OMV\System\Net\NetworkInterfaceBond Class Reference
Inheritance diagram for OMV\System\Net\NetworkInterfaceBond:
OMV\System\Net\NetworkInterface

Public Member Functions

 getSlaves ()
 
 delete ()
 
- Public Member Functions inherited from OMV\System\Net\NetworkInterface
 __construct ($name)
 
 getDeviceName ()
 
 exists ()
 
 getIP ()
 
 getIP6 ()
 
 getPrefix ()
 
 getPrefix6 ()
 
 getNetmask ()
 
 getNetmask6 ()
 
 getMask ()
 
 getMask6 ()
 
 getMAC ()
 
 getMTU ()
 
 getGateway ()
 
 getGateway6 ()
 
 getState ()
 
 getLink ()
 
 getStatistics ()
 
 getOperState ()
 
 getDuplex ()
 
 getSpeed ()
 
 getCarrier ()
 
 isVlan ()
 
 getVlanId ()
 

Static Public Member Functions

static enumerate ()
 
static getNextDeviceName ()
 

Additional Inherited Members

- Public Attributes inherited from OMV\System\Net\NetworkInterface
 ipv4cidr
 
- Protected Attributes inherited from OMV\System\Net\NetworkInterface
 $name = ""
 
 $ip = null
 
 $ethtool = null
 
 $regex
 

Detailed Description

This class provides a interface to handle Linux bond network interfaces.

Member Function Documentation

◆ delete()

OMV\System\Net\NetworkInterfaceBond::delete ( )

Delete a bond interface.

Returns
Returns TRUE on success, otherwise FALSE.

◆ enumerate()

static OMV\System\Net\NetworkInterfaceBond::enumerate ( )
static

Get a list of all bond network interfaces.

Returns
Returns an array containing the bond interface names, otherwise FALSE.

◆ getNextDeviceName()

static OMV\System\Net\NetworkInterfaceBond::getNextDeviceName ( )
static

Get the next free device name.

Returns
The next free device name, or FALSE on failure.

◆ getSlaves()

OMV\System\Net\NetworkInterfaceBond::getSlaves ( )

Get the slave devices.

Returns
A list of device names used in the array, otherwise FALSE.

The documentation for this class was generated from the following file: