Skip to content

Commit ed78ff5

Browse files
authored
BREAKING: Rename to DhcpServerDsc (#91)
1 parent 43b20fd commit ed78ff5

File tree

76 files changed

+139
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+139
-138
lines changed

.github/ISSUE_TEMPLATE/Problem_with_resource.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,13 @@ body:
7474
- type: textarea
7575
id: moduleVersion
7676
attributes:
77-
label: xDhcpServer version
77+
label: DhcpServerDsc version
7878
description: |
79-
Please provide the version of the xDhcpServer module that was used. _Will be automatically formatted as plain text._
79+
Please provide the version of the DhcpServerDsc module that was used. _Will be automatically formatted as plain text._
8080
81-
To help with this information, please run this command: `Get-Module -Name 'xDhcpServer' -ListAvailable | ft Name,Version,Path`
81+
To help with this information, please run this command: `Get-Module -Name 'DhcpServerDsc' -ListAvailable | ft Name,Version,Path`
8282
placeholder: |
8383
Add module information here
8484
render: text
8585
validations:
8686
required: true
87-

CHANGELOG.md

Lines changed: 19 additions & 12 deletions

README.md

Lines changed: 10 additions & 10 deletions

RequiredModules.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<#
2323
Prerequisites modules needed for examples and integration tests of
24-
the xDhcpServer module.
24+
the DhcpServerDsc module.
2525
#>
2626
PSDscResources = '2.12.0.0'
2727

source/DSCResources/MSFT_DhcpPolicyOptionValue/MSFT_DhcpPolicyOptionValue.schema.mof renamed to source/DSCResources/DSC_DhcpPolicyOptionValue/DSC_DhcpPolicyOptionValue.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpPolicyOptionValue")]
2-
class MSFT_DhcpPolicyOptionValue : OMI_BaseResource
2+
class DSC_DhcpPolicyOptionValue : OMI_BaseResource
33
{
44
[Key, Description("Option ID, specify an integer between 1 and 255.")] UInt32 OptionId;
55
[Key, Description("Policy Name.")] String PolicyName;

source/DSCResources/MSFT_DhcpReservedIPOptionValue/MSFT_DhcpReservedIPOptionValue.schema.mof renamed to source/DSCResources/DSC_DhcpReservedIPOptionValue/DSC_DhcpReservedIPOptionValue.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpReservedIPOptionValue")]
2-
class MSFT_DhcpReservedIPOptionValue : OMI_BaseResource
2+
class DSC_DhcpReservedIPOptionValue : OMI_BaseResource
33
{
44
[Key, Description("Reserved IP to set the option value.")] String ReservedIP;
55
[Key, Description("Option ID, specify an integer between 1 and 255.")] UInt32 OptionId;

source/DSCResources/MSFT_DhcpScopeOptionValue/MSFT_DhcpScopeOptionValue.schema.mof renamed to source/DSCResources/DSC_DhcpScopeOptionValue/DSC_DhcpScopeOptionValue.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpScopeOptionValue")]
2-
class MSFT_DhcpScopeOptionValue : OMI_BaseResource
2+
class DSC_DhcpScopeOptionValue : OMI_BaseResource
33
{
44
[Key, Description("Scope ID to set the option.")] String ScopeId;
55
[Key, Description("Option ID, specify an integer between 1 and 255.")] UInt32 OptionId;
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpServerBinding")]
2-
class MSFT_DhcpServerBinding : OMI_BaseResource
2+
class DSC_DhcpServerBinding : OMI_BaseResource
33
{
44
[Key, Description("Specifies the alias name for the network interface to manage.")] String InterfaceAlias;
55
[Write, Description("Specifies if the interface alias should be set or removed. Defaults to 'Present'."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
66
};
7-

source/DSCResources/MSFT_DhcpServerExclusionRange/MSFT_DhcpServerExclusionRange.schema.mof renamed to source/DSCResources/DSC_DhcpServerExclusionRange/DSC_DhcpServerExclusionRange.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpServerExclusionRange")]
2-
class MSFT_DhcpServerExclusionRange : OMI_BaseResource
2+
class DSC_DhcpServerExclusionRange : OMI_BaseResource
33
{
44
[Required, Description("Specifies the identifier (ID) of the IPv4 scope from which the IP addresses are being excluded")] String ScopeId;
55
[Key, Description("Specifies the starting IP address of the range being excluded")] String IPStartRange;

source/DSCResources/MSFT_DhcpServerOptionValue/MSFT_DhcpServerOptionValue.schema.mof renamed to source/DSCResources/DSC_DhcpServerOptionValue/DSC_DhcpServerOptionValue.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("DhcpServerOptionValue")]
2-
class MSFT_DhcpServerOptionValue : OMI_BaseResource
2+
class DSC_DhcpServerOptionValue : OMI_BaseResource
33
{
44
[Key, Description("Option ID, specify an integer between 1 and 255.")] UInt32 OptionId;
55
[Write, Description("Option data value. Could be an array of string for a multivalued option.")] String Value[];

source/DSCResources/MSFT_xDhcpServerAuthorization/MSFT_xDhcpServerAuthorization.schema.mof renamed to source/DSCResources/DSC_xDhcpServerAuthorization/DSC_xDhcpServerAuthorization.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("xDhcpServerAuthorization")]
2-
class MSFT_xDhcpServerAuthorization : OMI_BaseResource
2+
class DSC_xDhcpServerAuthorization : OMI_BaseResource
33
{
44
[Key, Description("Specifies the resource is a single instance, the value must be 'Yes'."), ValueMap{"Yes"}, Values{"Yes"}] String IsSingleInstance;
55
[Required, Description("Whether the DHCP server should be authorized within Active Directory"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;

source/DSCResources/MSFT_xDhcpServerClass/MSFT_xDhcpServerClass.schema.mof renamed to source/DSCResources/DSC_xDhcpServerClass/DSC_xDhcpServerClass.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("xDhcpServerClass")]
2-
class MSFT_xDhcpServerClass : OMI_BaseResource
2+
class DSC_xDhcpServerClass : OMI_BaseResource
33
{
44
[key, Description("Class Name")] String Name;
55
[key, Description("Class Type, Vendor or User"), ValueMap{"Vendor","User"}, Values{"Vendor","User"}] String Type;

source/DSCResources/MSFT_xDhcpServerOptionDefinition/MSFT_xDhcpServerOptionDefinition.schema.mof renamed to source/DSCResources/DSC_xDhcpServerOptionDefinition/DSC_xDhcpServerOptionDefinition.schema.mof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("xDhcpServerOptionDefinition")]
2-
class MSFT_xDhcpServerOptionDefinition : OMI_BaseResource
2+
class DSC_xDhcpServerOptionDefinition : OMI_BaseResource
33
{
44
[Key, Description("Option ID, specify a number between 1 and 255.")] uint32 OptionId;
55
[Key, Description("Vendor class. Use an empty string for standard option class.")] String VendorClass;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("xDhcpServerReservation")]
2-
class MSFT_xDhcpServerReservation : OMI_BaseResource
2+
class DSC_xDhcpServerReservation : OMI_BaseResource
33
{
44
[Key, Description("ScopeId for which reservations are set")] String ScopeID;
55
[Key, Description("IP address of the reservation for which the properties are modified")] String IPAddress;
@@ -8,4 +8,3 @@ class MSFT_xDhcpServerReservation : OMI_BaseResource
88
[Write, Description("Address family type"), ValueMap{"IPv4"}, Values{"IPv4"}] String AddressFamily;
99
[Write, Description("Whether option should be set or removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
1010
};
11-

source/DSCResources/MSFT_xDhcpServerScope/MSFT_xDhcpServerScope.schema.mof renamed to source/DSCResources/DSC_xDhcpServerScope/DSC_xDhcpServerScope.schema.mof

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ClassVersion("1.0.0.0"), FriendlyName("xDhcpServerScope")]
2-
class MSFT_xDhcpServerScope : OMI_BaseResource
2+
class DSC_xDhcpServerScope : OMI_BaseResource
33
{
44
[Key, Description("ScopeId for the given scope")] String ScopeId;
55
[Required, Description("Name of DHCP Scope")] String Name;
@@ -12,4 +12,3 @@ class MSFT_xDhcpServerScope : OMI_BaseResource
1212
[Write, Description("Address family type"), ValueMap{"IPv4"}, Values{"IPv4"}] String AddressFamily;
1313
[Write, Description("Whether scope should be set or removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
1414
};
15-

source/xDhcpServer.psd1 renamed to source/DhcpServerDsc.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
# Script module or binary module file associated with this manifest.
3-
RootModule = 'xDhcpServer.psm1'
3+
RootModule = 'DhcpServerDsc.psm1'
44

55
# Version number of this module.
66
moduleVersion = '0.0.1'
@@ -47,10 +47,10 @@
4747
Tags = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')
4848

4949
# A URL to the license for this module.
50-
LicenseUri = 'https://github.com/dsccommunity/xDhcpServer/blob/main/LICENSE'
50+
LicenseUri = 'https://github.com/dsccommunity/DhcpServerDsc/blob/main/LICENSE'
5151

5252
# A URL to the main website for this project.
53-
ProjectUri = 'https://github.com/dsccommunity/xDhcpServer'
53+
ProjectUri = 'https://github.com/dsccommunity/DhcpServerDsc'
5454

5555
# A URL to an icon representing this module.
5656
IconUri = 'https://dsccommunity.org/images/DSC_Logo_300p.png'
File renamed without changes.

source/Examples/README.md

Lines changed: 1 addition & 1 deletion

source/Examples/Resources/DhcpPolicyOptionValue/DhcpPolicyOptionValue_ScopeLevel.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/DhcpPolicyOptionValue/DhcpPolicyOptionValue_ServerLevel.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/DhcpReservedIPOptionValue/DhcpReservedIPOptionValue.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/DhcpScopeOptionValue/DhcpScopeOptionValue.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/DhcpServerOptionValue/DhcpServerOptionValue.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/xDhcpServerAuthorization/xDhcpServerAuthorization_LocalServer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/xDhcpServerAuthorization/xDhcpServerAuthorization_RemoteServer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#>
55
configuration Example
66
{
7-
Import-DscResource -moduleName 'xDhcpServer'
7+
Import-DscResource -moduleName 'DhcpServerDsc'
88

99
xDhcpServerAuthorization 'RemoteServerActivation'
1010
{

source/Examples/Resources/xDhcpServerClass/xDhcpServerClass.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/xDhcpServerOptionDefinition/xDhcpServerOptionDefinition.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/xDhcpServerReservation/xDhcpServerReservation.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
configuration Example
66
{
77
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
8-
Import-DscResource -moduleName 'xDhcpServer'
8+
Import-DscResource -moduleName 'DhcpServerDsc'
99

1010
WindowsFeature 'DHCP'
1111
{

source/Examples/Resources/xDhcpServerScope/xDhcpServerScope.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
configuration Example
77
{
88
Import-DscResource -ModuleName 'PSDscResources' -ModuleVersion '2.12.0.0'
9-
Import-DscResource -moduleName 'xDhcpServer'
9+
Import-DscResource -moduleName 'DhcpServerDsc'
1010

1111
WindowsFeature 'DHCP'
1212
{

source/Modules/DhcpServerDsc.Common/DhcpServerDsc.Common.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Copyright = 'Copyright the DSC Community contributors. All rights reserved.'
1919

2020
# Description of the functionality provided by this module
21-
Description = 'Common functions used by the DSC resources in xDhcpServer.'
21+
Description = 'Common functions used by the DSC resources in DhcpServerDsc.'
2222

2323
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
2424
FunctionsToExport = @(
@@ -44,4 +44,3 @@
4444
} # End of PSData hashtable
4545
} # End of PrivateData hashtable
4646
}
47-

0 commit comments

Comments
 (0)