C# Class Rackspace.Cloud.Server.Agent.Actions.SetNetworkInterface

Inheritance: ISetNetworkInterface
ファイルを表示 Open project: rackerlabs/openstack-guest-agents-windows-xenserver Class Usage Examples

Public Methods

Method Description
Execute ( List networkInterfaces ) : void
SetNetworkInterface ( IExecutableProcessQueue executableProcessQueue, IWmiMacNetworkNameGetter wmiMacNetworkNameGetter, ILogger logger, IIPFinder ipFinder ) : System

Private Methods

Method Description
CleanseDnsForSetup ( string interfaceName ) : void
CleanseInterfaceForSetup ( string interfaceName ) : void
LogLocalInterfaces ( string>.IDictionary nameAndMacs ) : void
ReverseSortWithKey ( string>.IDictionary keyValuePair ) : string[]
SetInterfaceName ( NetworkInterface networkInterface, string interfaceName, int count ) : void
SetNetworkInterfaceValues ( NetworkInterface networkInterface, string interfaceName ) : void
SetupDns ( string interfaceName, NetworkInterface networkInterface ) : void
SetupIpv4Interface ( string interfaceName, NetworkInterface networkInterface ) : void
SetupIpv6Interface ( string interfaceName, NetworkInterface networkInterface ) : void
VerifyAllNetworkInterfacesFoundOnMachine ( string>.IDictionary nameAndMacs, List networkInterfaces ) : void
WereInterfacesEnabled ( string>.IEnumerable nameAndMacs ) : bool

Method Details

Execute() public method

public Execute ( List networkInterfaces ) : void
networkInterfaces List
return void

SetNetworkInterface() public method

public SetNetworkInterface ( IExecutableProcessQueue executableProcessQueue, IWmiMacNetworkNameGetter wmiMacNetworkNameGetter, ILogger logger, IIPFinder ipFinder ) : System
executableProcessQueue IExecutableProcessQueue
wmiMacNetworkNameGetter IWmiMacNetworkNameGetter
logger ILogger
ipFinder IIPFinder
return System