Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 14d36ab32b | |||
| 7e61fbec7e | |||
| 315cdf6db9 | |||
| ccc4118d22 | |||
| 764738b015 | |||
| 4b1506f962 | |||
| 55b6614a69 | |||
| 7e58672bc2 | |||
| 34f2f937aa | |||
| f59d0bece4 | |||
| 13ee62de6c | |||
| 8fd820ff38 |
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project is transitioning to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project is transitioning to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.5.4]
|
||||||
|
|
||||||
|
### Zerto Virtual Manager
|
||||||
|
|
||||||
|
#### Updated
|
||||||
|
|
||||||
|
* Updated `Install-ZertoVra` function [help documentation](https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Install-ZertoVra.md) to allow for configuring the number of vCPUs during deployment. Special thanks to @mitchellen for the fix.
|
||||||
|
|
||||||
## [1.5.3]
|
## [1.5.3]
|
||||||
|
|
||||||
### Zerto Virtual Manager
|
### Zerto Virtual Manager
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' {
|
|||||||
|
|
||||||
Context "$global:function::Parameter Unit Tests" {
|
Context "$global:function::Parameter Unit Tests" {
|
||||||
It "$global:function should have exactly 24 parameters defined" {
|
It "$global:function should have exactly 24 parameters defined" {
|
||||||
(Get-Command $global:function).Parameters.Count | Should -Be 24
|
(Get-Command $global:function).Parameters.Count | Should -Be 25
|
||||||
}
|
}
|
||||||
|
|
||||||
$ParameterTestCases = @(
|
$ParameterTestCases = @(
|
||||||
|
|||||||
@@ -25,6 +25,11 @@ function Install-ZertoVra {
|
|||||||
)]
|
)]
|
||||||
[ValidateRange(1, 16)]
|
[ValidateRange(1, 16)]
|
||||||
[int]$memoryInGB = 3,
|
[int]$memoryInGB = 3,
|
||||||
|
[Parameter(
|
||||||
|
HelpMessage = "Initial number of CPUs to assign to the VRA. Default is 1, Minimum is 1, Maximum is 4"
|
||||||
|
)]
|
||||||
|
[ValidateRange(1, 4)]
|
||||||
|
[int]$NumOfCpus = 1,
|
||||||
[Parameter(
|
[Parameter(
|
||||||
HelpMessage = "Bandwidth group to assign to the VRA. If unspecified will assign to the 'default_group'"
|
HelpMessage = "Bandwidth group to assign to the VRA. If unspecified will assign to the 'default_group'"
|
||||||
)]
|
)]
|
||||||
@@ -136,6 +141,7 @@ function Install-ZertoVra {
|
|||||||
}
|
}
|
||||||
$vraBasic['HostIdentifier'] = $hostIdentifier.toString()
|
$vraBasic['HostIdentifier'] = $hostIdentifier.toString()
|
||||||
$vraBasic['MemoryInGB'] = $memoryInGB
|
$vraBasic['MemoryInGB'] = $memoryInGB
|
||||||
|
$vraBasic['NumOfCpus'] = $NumOfCpus
|
||||||
$vraBasic['NetworkIdentifier'] = $networkIdentifier.toString()
|
$vraBasic['NetworkIdentifier'] = $networkIdentifier.toString()
|
||||||
$vraBasic['UsePublicKeyInsteadOfCredentials'] = $true
|
$vraBasic['UsePublicKeyInsteadOfCredentials'] = $true
|
||||||
$vraBasicNetwork = [ordered]@{ }
|
$vraBasicNetwork = [ordered]@{ }
|
||||||
|
|||||||
@@ -165,6 +165,22 @@ Accept pipeline input: False
|
|||||||
Accept wildcard characters: False
|
Accept wildcard characters: False
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### -numofCPU
|
||||||
|
Initial number of vCPUs to assign to the VRA.
|
||||||
|
Default is 1, Minimum is 1, Maximum is 4
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Type: Int32
|
||||||
|
Parameter Sets: (All)
|
||||||
|
Aliases:
|
||||||
|
|
||||||
|
Required: False
|
||||||
|
Position: Named
|
||||||
|
Default value: None
|
||||||
|
Accept pipeline input: False
|
||||||
|
Accept wildcard characters: False
|
||||||
|
```
|
||||||
|
|
||||||
### -memoryInGB
|
### -memoryInGB
|
||||||
Initial amount of memory to assign to the VRA in GB.
|
Initial amount of memory to assign to the VRA in GB.
|
||||||
Default is 3, Minimum is 1, Maximum is 16
|
Default is 3, Minimum is 1, Maximum is 16
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.5.3
|
1.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user