![]() |
![]()
| ![]() |
![]()
NAMEOCSInventory::Agent::Backend::OS::Linux::Network::Networks - Network-related functions DESCRIPTIONThis module retrieves network information. FUNCTIONSgetSpeedReturns the speed of the card. getDuplexReturns duplex state of the card. getMTUReturns the mtu of the card. getStatusReturns the status of the card. getMACReturns the mac address. getSubnetAddress($address, $mask)Returns the subnet address for IPv4. getSubnetAddressIPv6($address, $mask)Returns the subnet address for IPv6. getIPNetmask($prefix)Returns the network mask for IPv4. getIPNetmaskV6($prefix)Returns the network mask for IPv6. getslavesReturns if card has a bonding. getIPRouteReturns the gateway defined int he ip config. getRouteIfconfigReturns the gateway defined in the ip config. isSameNetworkReturns true if both addresses belong to the same network, for IPv4. isSameNetworkIPv6Returns true if both addresses belong to the same network, for IPv6. POD ERRORSHey! The above document had some coding errors, which are explained below:
|