-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from PowerShell/dev
Release of version 3.9.0.0 of xHyper-V
- Loading branch information
Showing
46 changed files
with
5,404 additions
and
1,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
"Common Tests - Validate Markdown Files" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
codecov: | ||
notify: | ||
require_ci_to_pass: no | ||
|
||
comment: | ||
layout: "reach, diff" | ||
behavior: default | ||
|
||
coverage: | ||
range: 50..80 | ||
round: down | ||
precision: 0 | ||
|
||
status: | ||
project: | ||
default: | ||
# Set the overall project code coverage requirement to 70% | ||
target: 70 | ||
patch: | ||
default: | ||
# Set the pull request requirement to not regress overall coverage by more than 5% | ||
# and let codecov.io set the goal for the code changed in the patch. | ||
target: auto | ||
threshold: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
If you'd like to contribute to this project, please review the [Contribution Guidelines](https://github.com/PowerShell/DscResources/blob/master/CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- | ||
Your feedback and support is greatly appreciated, thanks for contributing! | ||
Please prefix the issue title with the resource name, i.e. 'xVMSwitch - Short description of my issue' | ||
If the issue is module wide, prefix using the module name, i.e. 'xHyper-V - Short description of my issue' | ||
Please provide the following information regarding your issue (place N/A if the fields that don't apply to your issue): | ||
--> | ||
**Details of the scenario you tried and the problem that is occurring:** | ||
|
||
**The DSC configuration that is using the resource (as detailed as possible):** | ||
|
||
**Version of the Operating System and PowerShell the DSC Target Node is running:** | ||
|
||
**Version of the DSC module you're using, or 'dev' if you're using current dev branch:** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
Thanks for submitting a Pull Request (PR) to this project. Your contribution to this project is greatly appreciated! | ||
Please prefix the PR title with the resource name, i.e. 'xVMSwitch - My short description' | ||
If this is a breaking change, then also prefix the PR title with 'BREAKING CHANGE:', i.e. 'BREAKING CHANGE: xVMSwitch - My short description' | ||
To aid community reviewers in reviewing and merging your PR, please take the time to run through the below checklist. | ||
Change to [x] for each task in the task list that applies to this PR. | ||
--> | ||
**Pull Request (PR) description** | ||
<!-- Replace this with a description of your pull request --> | ||
|
||
**This Pull Request (PR) fixes the following issues:** | ||
<!-- Replace this with the list of issues or n/a. Use format: Fixes #123 --> | ||
|
||
**Task list:** | ||
- [ ] Change details added to Unreleased section of CHANGELOG.md? | ||
- [ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate? | ||
- [ ] Examples appropriately updated / added? | ||
- [ ] New/changed code adheres to [Style Guidelines](https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md)? | ||
- [ ] [Unit and (optional) Integration tests](https://github.com/PowerShell/DscResources/blob/master/TestsGuidelines.md) created/updated where possible? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"powershell.codeFormatting.openBraceOnSameLine": false, | ||
"powershell.codeFormatting.newLineAfterOpenBrace": false, | ||
"powershell.codeFormatting.newLineAfterCloseBrace": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenParen": true, | ||
"powershell.codeFormatting.whitespaceAroundOperator": true, | ||
"powershell.codeFormatting.whitespaceAfterSeparator": true, | ||
"powershell.codeFormatting.ignoreOneLineBlock": false, | ||
"powershell.codeFormatting.alignPropertyValuePairs": false, | ||
"powershell.codeFormatting.preset": "Custom", | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
# Change log for xHyper-V | ||
|
||
## Unreleased | ||
|
||
## 3.9.0.0 | ||
|
||
* MSFT_xVMHyperV: | ||
* Increased xVMHyperV StartupMemory and MinimumMemory limits from 17GB to 64GB. | ||
* EnableGuestService works on localized OS (language independent). | ||
* Adds missing Hyper-V-PowerShell feature in examples. | ||
* Added the following resources: | ||
* MSFT_xVMProcessor to manage virtual machine processor options. | ||
* MSFT_xVMHost to managing Hyper-V host settings. | ||
* MSFT_xVMSwitch: | ||
* Added support for Switch Embedded Teaming (SET) in Server 2016. | ||
* Fixed a bug where Get-TargetResource threw an error if a non External switch | ||
is used. | ||
* Updated unit tests to use template version 1.2.0. | ||
* Style fixes. | ||
* Added support for Localization. | ||
* xHyper-V module: | ||
* Added vs code formatting rule settings. | ||
* Fix Markdown rule violations in Readme.md. | ||
* Added .MetaTestOptIn.json for Markdown common test to be included. | ||
* Added Appveyor badge for Dev branch in Readme.md and moved to Branches section. | ||
* Added missing properties for all resources in Readme.md. | ||
* Added and corrected missing / wrong DataTypes and Dsc attributes in Readme.md. | ||
* Updated Readme to match DscResources style. | ||
* Created change log and linked to it from Readme. | ||
* Removed version info from Readme. | ||
* Updated appveyor.yml to use Appveyor module. | ||
* Examples: | ||
* Removed code from Readme and linked to example files instead. | ||
* Moved code to new example files where there was only code in Readme. | ||
* Codecov: | ||
* Updated appveyor.yml to include codecov. | ||
* Added .codecov.yml. | ||
* Added codecov badges to Readme. | ||
* MSFT_xVHD: | ||
* Support setting the disk type. | ||
* Added unit tests. | ||
* Added example Sample\_xVHD\_FixedVHD.ps1 | ||
* Style fixes | ||
|
||
## 3.8.0.0 | ||
|
||
* Fix bug in xVMDvdDrive with hardcoded VM Name. | ||
* Corrected Markdown rule violations in Readme.md. | ||
|
||
## 3.7.0.0 | ||
|
||
* Adding a new resource | ||
* MSFT_xVMNetworkAdapter: Attaches a new VM network adapter to the management | ||
OS or VM. | ||
|
||
## 3.6.0.0 | ||
|
||
* xVHD: Updated incorrect property name MaximumSize in error message | ||
* Fix Markdown rule violations in Readme.md identified by [markdownlint](https://github.com/mivok/markdownlint/blob/master/docs/RULES.md). | ||
* Created standard Unit/Integration test folder structure. | ||
* Moved unit tests into Unit test folder. | ||
* Renamed the unit tests to meet standards. | ||
* Added the following resources: | ||
* xVMDvdDrive to manage DVD drives attached to a Hyper-V virtual machine. | ||
|
||
## 3.5.0.0 | ||
|
||
* Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey. | ||
* MSFT_xVMHyperV: Fixed bug in Test-TargetResource throwing when a Vhd's ParentPath | ||
property was null. | ||
|
||
## 3.4.0.0 | ||
|
||
* MSFT_xVMHyperV: Fixed bug causing Test-TargetResource to fail when VM had snapshots. | ||
* MSFT_xVMHyperV: Adds localization support. | ||
* MSFT_xVMSwitch: Fixes bug where virtual switches are duplicated when | ||
BandwidthReservationMode is not specified. | ||
|
||
## 3.3.0.0 | ||
|
||
* xHyperV: Added SecureBoot parameter to enable control of the secure boot BIOS | ||
setting on generation 2 VMs. | ||
* Fixed drive letter when mounting VHD when calling resource xVhdFile. Fixes #20. | ||
* MSFT_xVMHyperV: Changed the SwitchName parameter to string[] to support | ||
assigning multiple NICs to virtual machines. | ||
* MSFT_xVMHyperV: Changed the MACAddress parameter to string[] to support | ||
assigning multiple MAC addresses to virtual machines. | ||
* MSFT_xVMHyperV: Added enabling of Guest Service Interface. | ||
* MSFT_xVMSwitch: Added the BandwidthReservationMode parameter which specifies | ||
how minimum bandwidth is to be configured on a virtual switch | ||
|
||
## 3.2.0.0 | ||
|
||
* Added data type System.String to CheckSum parameter of Get/Set/Test-TargetResource | ||
functions and aligned indentation. | ||
* Minor fixes | ||
|
||
## 3.1.0.0 | ||
|
||
* xVMHyperV: Fixed bug in mof schema (Generation property had two types) | ||
* xVhdFileDirectory: Fixed typo in type comparison | ||
* Readme updates | ||
|
||
## 3.0.0.0 | ||
|
||
* Decoupled VM generation from underlying VHD format in xVMHyperV resource. | ||
* __Breaking change:__ xVMHyperV resource: Generation property type changed | ||
from a String to an Integer. | ||
* The initial generation property was tied to the virtual disk format which was | ||
incorrect and has been rectified. | ||
* This change will only impact configurations that have previously explicitly | ||
specified the VM generation is either "vhd" or "vhdx". | ||
|
||
## 2.4.0.0 | ||
|
||
* Fixed VM power state issue in xVMHyperV resource | ||
|
||
## 2.3.0 | ||
|
||
* Fixed check for presence of param AllowManagementOS. | ||
|
||
## 2.2.1 | ||
|
||
## 2.1 | ||
|
||
* Added logic to automatically adjust VM's startup memory when only minimum and | ||
maximum memory is specified in configuration | ||
* Fixed the issue that a manually stopped VM cannot be brought back to running | ||
state with DSC | ||
|
||
## 2.0 | ||
|
||
* Added xVhdFileDirectory Resource | ||
* Allowed name to be specified with the extension in xVhd (e.g. the Vhd name could | ||
either be "sample" or "sample.vhd") | ||
* When a VHD cannot be removed because it is already being used by another process, | ||
an error will be thrown. | ||
|
||
## 1.0.0.0 | ||
|
||
* Initial release with the following resources | ||
* xVhd | ||
* xVMHyperV | ||
* xVMSwitch |
Oops, something went wrong.