Methods summary
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
|
#
getLayer3IPv4Addresses( )
|
public
|
#
getLayer3IPv6Addresses( )
|
public
|
#
getLayer3IPAddresses( )
|
public
|
|
public
EthernetInterface[]
|
|
public
|
|
public
boolean
|
#
setName( string $name )
return true if change was successful false if not (duplicate rulename?)
return true if change was successful false if not (duplicate rulename?)
Parameters
- $name
string $name new name for the rule
Returns
boolean
|
public
boolean
|
#
setTag( string $tag )
return true if change was successful false if not (duplicate rulename?)
return true if change was successful false if not (duplicate rulename?)
Parameters
- $tag
string $name new name for the rule
Returns
boolean
|
public
boolean
|
#
setAE( string $ae )
return true if change was successful false if not (duplicate rulename?)
return true if change was successful false if not (duplicate rulename?)
Parameters
- $ae
string $name new name for the rule
Returns
boolean
|
public
boolean
|
#
addIPv4Address( string $ip )
return true if change was successful false if not (duplicate ipaddress?)
return true if change was successful false if not (duplicate ipaddress?)
Parameters
Returns
boolean
|
public
boolean
|
#
API_addIPv4Address( Address $ip )
Add a ip to this interface, it must be passed as an object or string
Add a ip to this interface, it must be passed as an object or string
Parameters
- $ip
Address $ip Object to be added, or String
Returns
boolean
|
public
boolean
|
#
removeIPv4Address( string $ip )
return true if change was successful false if not (duplicate ipaddress?)
return true if change was successful false if not (duplicate ipaddress?)
Parameters
Returns
boolean
|
public
boolean
|
#
API_removeIPv4Address( Address $ip )
remove a ip address to this interface, it must be passed as an object or
string
remove a ip address to this interface, it must be passed as an object or
string
Parameters
- $ip
Address $ip Object to be added, or String
Returns
boolean
|
public
boolean
|
#
addIPv6Address( string $ip )
return true if change was successful false if not (duplicate ipaddress?)
return true if change was successful false if not (duplicate ipaddress?)
Parameters
Returns
boolean
|
public
EthernetInterface
|
#
addSubInterface( string $tag, mixed $name = "" )
return true if change was successful false if not (duplicate ipaddress?)
return true if change was successful false if not (duplicate ipaddress?)
Parameters
Returns
|
public
EthernetInterface
|
#
API_addSubInterface( Address $tag )
Add a ip to this interface, it must be passed as an object or string
Add a ip to this interface, it must be passed as an object or string
Parameters
- $tag
Address $ip Object to be added, or String
Returns
|
public
string
&
|
|
Properties summary
public
EthernetIfStore
|
$owner |
|
|
public
string
|
$type |
'tmp' |
|
protected
boolean
|
$isSubInterface |
FALSE |
|
protected
EthernetInterface[]
|
$subInterfaces |
array() |
|
protected
null|EthernetInterface
|
$parentInterface |
null |
|
protected
integer
|
$tag |
|
|
protected
integer
|
$ae |
null |
|
protected
mixed
|
$l3ipv4Addresses |
|
|
protected
mixed
|
$l3ipv6Addresses |
|
|
public static
array
|
$supportedTypes |
array('layer3', 'layer2', 'virtual-wire', 'tap', 'ha', 'aggregate-group', 'log-card', 'decrypt-mirror', 'empty') |
|
public static
string
|
$templatexml |
'<entry name="**temporarynamechangeme**">
<layer3>
<ipv6>
<neighbor-discovery>
<router-advertisement>
<enable>no</enable>
</router-advertisement>
</neighbor-discovery>
</ipv6>
<ndp-proxy>
<enabled>no</enabled>
</ndp-proxy>
<lldp>
<enable>no</enable>
</lldp>
<ip></ip>
</layer3>
</entry>' |
|
public static
string
|
$templatexmll2 |
'<entry name="**temporarynamechangeme**">
<layer2>
<lldp>
<enable>no</enable>
</lldp>
</layer2>
</entry>' |
|
public static
string
|
$templatexmlvw |
'<entry name="**temporarynamechangeme**">
<virtual-wire>
<lldp>
<enable>no</enable>
</lldp>
</virtual-wire>
</entry>' |
|
public static
string
|
$templatexmlae |
'<entry name="**temporarynamechangeme**">
<aggregate-group>ae1</aggregate-group>
</entry>' |
|
public static
string
|
$templatexmlsubl3 |
'<entry name="**temporarynamechangeme**">
<ipv6>
<neighbor-discovery>
<router-advertisement>
<enable>no</enable>
</router-advertisement>
</neighbor-discovery>
</ipv6>
<ndp-proxy>
<enabled>no</enabled>
</ndp-proxy>
<adjust-tcp-mss>
<enable>no</enable>
</adjust-tcp-mss>
<tag></tag>
<ip></ip>
</entry>' |
|
public static
string
|
$templatexmlsub |
'<entry name="**temporarynamechangeme**">
<tag></tag>
</entry>' |
|