Tests/Integration/MSFT_NetIPInterface.config.ps1
configuration MSFT_NetIPInterface_Config_Enabled { Import-DscResource -ModuleName NetworkingDsc Node localhost { NetIPInterface Integration_Test { InterfaceAlias = $Node.InterfaceAlias AddressFamily = $Node.AddressFamily AdvertiseDefaultRoute = $Node.AdvertiseDefaultRoute AutomaticMetric = $Node.AutomaticMetric Dhcp = $Node.Dhcp DirectedMacWolPattern = $Node.DirectedMacWolPattern EcnMarking = $Node.EcnMarking ForceArpNdWolPattern = $Node.ForceArpNdWolPattern Forwarding = $Node.Forwarding IgnoreDefaultRoutes = $Node.IgnoreDefaultRoutes ManagedAddressConfiguration = $Node.ManagedAddressConfiguration NeighborUnreachabilityDetection = $Node.NeighborUnreachabilityDetection OtherStatefulConfiguration = $Node.OtherStatefulConfiguration RouterDiscovery = $Node.RouterDiscovery WeakHostReceive = $Node.WeakHostReceive WeakHostSend = $Node.WeakHostSend } } } configuration MSFT_NetIPInterface_Config_Disabled { Import-DscResource -ModuleName NetworkingDsc Node localhost { NetIPInterface Integration_Test { InterfaceAlias = $Node.InterfaceAlias AddressFamily = $Node.AddressFamily AdvertiseDefaultRoute = $Node.AdvertiseDefaultRoute Dhcp = $Node.Dhcp DirectedMacWolPattern = $Node.DirectedMacWolPattern EcnMarking = $Node.EcnMarking ForceArpNdWolPattern = $Node.ForceArpNdWolPattern Forwarding = $Node.Forwarding IgnoreDefaultRoutes = $Node.IgnoreDefaultRoutes ManagedAddressConfiguration = $Node.ManagedAddressConfiguration OtherStatefulConfiguration = $Node.OtherStatefulConfiguration RouterDiscovery = $Node.RouterDiscovery WeakHostReceive = $Node.WeakHostReceive WeakHostSend = $Node.WeakHostSend } } } |