com.eurotech.framework.linux.net.util
Class RedHatNetworkInterface

java.lang.Object
  extended by com.eurotech.framework.linux.net.util.GenericNetworkInterface
      extended by com.eurotech.framework.linux.net.util.RedHatNetworkInterface

public class RedHatNetworkInterface
extends GenericNetworkInterface


Field Summary
 
Fields inherited from class com.eurotech.framework.linux.net.util.GenericNetworkInterface
esfFile, NET_CONFIGURATION_DIRECTORY
 
Constructor Summary
RedHatNetworkInterface()
           
 
Method Summary
static NetInterfaceConfig getCurrentConfiguration(String interfaceName, NetInterfaceType type, NetInterfaceStatus status, boolean dhcpServerEnabled, boolean passDns)
           
static void writeNewConfig(NetInterfaceConfig netInterfaceConfig)
           
 
Methods inherited from class com.eurotech.framework.linux.net.util.GenericNetworkInterface
getCurrentConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedHatNetworkInterface

public RedHatNetworkInterface()
Method Detail

getCurrentConfiguration

public static NetInterfaceConfig getCurrentConfiguration(String interfaceName,
                                                         NetInterfaceType type,
                                                         NetInterfaceStatus status,
                                                         boolean dhcpServerEnabled,
                                                         boolean passDns)
                                                  throws EsfException
Throws:
EsfException

writeNewConfig

public static void writeNewConfig(NetInterfaceConfig netInterfaceConfig)
                           throws EsfException
Throws:
EsfException


Copyright © 2013. All Rights Reserved.