diff --git a/CHANGELOG.md b/CHANGELOG.md index 71bebe6ac..70a3a9cdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ [Dan Reist (@randomnote1)](https://github.com/randomnote1) - Use a string builder to build the function stubs. - Fixed formatting issues for the function to work with modules other than SqlServer. +- Changes to SqlAlwaysOnService + - Updated integration tests to use NetworkingDsc + ([issue #1129](https://github.com/PowerShell/SqlServerDsc/issues/1129)). ## 12.0.0.0 diff --git a/Tests/Integration/MSFT_SqlAlwaysOnService.config.ps1 b/Tests/Integration/MSFT_SqlAlwaysOnService.config.ps1 index 9a5b513cd..c10ff7f05 100644 --- a/Tests/Integration/MSFT_SqlAlwaysOnService.config.ps1 +++ b/Tests/Integration/MSFT_SqlAlwaysOnService.config.ps1 @@ -44,7 +44,7 @@ $ConfigurationData = @{ Configuration MSFT_SqlAlwaysOnService_CreateDependencies_Config { Import-DscResource -ModuleName 'PSDscResources' - Import-DscResource -ModuleName 'xNetworking' + Import-DscResource -ModuleName 'NetworkingDsc' node localhost { @@ -60,7 +60,7 @@ Configuration MSFT_SqlAlwaysOnService_CreateDependencies_Config Name = 'RSAT-Clustering-PowerShell' } - xIPAddress LoopbackAdapterIPv4Address + IPAddress LoopbackAdapterIPv4Address { IPAddress = $Node.LoopbackAdapterIpAddress InterfaceAlias = $Node.LoopbackAdapterName @@ -72,7 +72,7 @@ Configuration MSFT_SqlAlwaysOnService_CreateDependencies_Config loopback adapter as clustered network. This will be removed directly after the cluster has been created. #> - xDefaultGatewayAddress LoopbackAdapterIPv4DefaultGateway + DefaultGatewayAddress LoopbackAdapterIPv4DefaultGateway { Address = $Node.LoopbackAdapterGateway InterfaceAlias = $Node.LoopbackAdapterName @@ -166,14 +166,14 @@ Configuration MSFT_SqlAlwaysOnService_CreateDependencies_Config Configuration MSFT_SqlAlwaysOnService_CleanupDependencies_Config { - Import-DscResource -ModuleName 'xNetworking' + Import-DscResource -ModuleName 'Networking' node localhost { <# Removing the default gateway from the loopback adapter. #> - xDefaultGatewayAddress LoopbackAdapterIPv4DefaultGateway + DefaultGatewayAddress LoopbackAdapterIPv4DefaultGateway { InterfaceAlias = $Node.LoopbackAdapterName AddressFamily = 'IPv4'