Skip to content

Commit d163c9b

Browse files
committed
Merge branch 'main' of github.com:vmware/powershell-module-for-vmware-cloud-foundation-jsongenerator
2 parents 2497227 + 6869e57 commit d163c9b

6 files changed

Lines changed: 9088 additions & 8261 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
working-directory: ${{ github.workspace }}
1818
shell: pwsh
1919
run: |
20+
Write-Output "INFO: Setting PowerShell Gallery as a trusted repository."
21+
Set-PSRepository psgallery -InstallationPolicy trusted
2022
$moduleManifest = (Get-ChildItem -Path $env:GITHUB_WORKSPACE -Filter *.psd1).Name
2123
if ($moduleManifest) {
2224
Write-Output "SUCCESS: Manifest '$moduleManifest' found in '$env:GITHUB_WORKSPACE'."
@@ -31,31 +33,6 @@ jobs:
3133
}
3234
Write-Output "INFO: Reading module manifest '$moduleManifest'."
3335
$moduleManifestData = Import-PowerShellDataFile -Path $moduleManifest
34-
$requiredModules = $moduleManifestData.RequiredModules
35-
$requiredModules = $requiredModules | Where-Object { $_.ModuleName -ne 'VMware.vSphere.SsoAdmin' }
36-
Write-Output "INFO: Required modules are $($requiredModules.ModuleName -join ', ')."
37-
foreach ($module in $requiredModules) {
38-
$requiredModuleName = $module.ModuleName
39-
$licenseUri = [System.Uri] (Find-Module -Name $requiredModuleName).LicenseUri
40-
$gitUri = $licenseUri.AbsoluteUri.Split('/blob/')[0].TrimEnd('/') -replace '\.git$'
41-
$requiredModuleFolder = Join-Path -Path $PSScriptRoot -ChildPath "dependencies/$requiredModuleName"
42-
if (-not (Test-Path -Path $requiredModuleFolder -PathType Container)) {
43-
Write-Output "INFO: Cloning module '$requiredModuleName' from '$gitUri' to '$requiredModuleFolder'."
44-
git clone $gitUri $requiredModuleFolder | Out-Null
45-
if (Test-Path -Path $requiredModuleFolder -PathType Container) {
46-
Write-Output "SUCCESS: Module '$requiredModuleName' was cloned."
47-
} else {
48-
Write-Error "FAILED: Module '$requiredModuleName' was not cloned."
49-
}
50-
}
51-
Write-Output "INFO: Importing module '$requiredModuleName' from '$requiredModuleFolder'."
52-
Import-Module -Name (Join-Path -Path $requiredModuleFolder -ChildPath "$requiredModuleName.psd1") -Force
53-
if (Get-Module -Name $requiredModuleName) {
54-
Write-Output "SUCCESS: Module '$requiredModuleName' was imported."
55-
} else {
56-
Write-Error "FAILED: Module '$requiredModuleName' was not imported."
57-
}
58-
}
5936
Write-Output "INFO: Importing module '$moduleName' from '$moduleManifest'."
6037
Import-Module -Name (Resolve-Path $moduleManifest).Path -Force -ErrorAction Stop
6138
if (Get-Module -Name $moduleName) {
@@ -66,4 +43,4 @@ jobs:
6643
Write-Output "INFO: Installing module 'Pester' from PSGallery."
6744
Install-Module -Name Pester -confirm:$false -Force
6845
Write-Output "INFO: Invoking Pester tests."
69-
Invoke-Pester -Path "./.ci/pester.tests.ps1" -Output Detailed -PassThru
46+
Invoke-Pester -Path "./.ci/pester.tests.ps1" -Output Detailed -PassThru

CHANGELOG.md

Lines changed: 65 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,66 @@
1-
# Release History
2-
3-
## [v9.0.0.1010]
4-
> Release Date: 2025-11-12
5-
- [Added] Support for auto-generated passwords in management domain
6-
- [Fixed] Bug in edge cluster deployment using ip pools for edges
7-
- [Fixed] Edge snat being to true for ACTIVE_ACTIVE clusters
8-
- [Fixed] 9.0.0.0 set as version for Day-N deployments, even when later versions is selected
9-
10-
## [v9.0.0.1009]
11-
> Release Date: 2025-10-10
12-
- [Added] Support for VCF 9.0.1.0
13-
- [Changed] Changed default snat setting for edge json file
14-
- [Changed] Removed unneccessary wsan configuration on windows machine
15-
- [Changed] Supported P&P Workbook version updates to v1.9.0.006
16-
- [Fixed] Not gathering IP Pools spec correctly for management domain JSON
17-
- [Fixed] Not honouring CEIP setting for management domain JSON
18-
- [Fixed] Management domain network pool name now based off of provided domain name rather than internal value
19-
20-
## [v9.0.0.1008]
21-
> Release Date: 2025-09-18
22-
- [Changed] Handle single DNS and NTP server entries for management domain bringup
23-
- [Fixed] FTT not being added in OSA management domains
24-
- [Fixed] vCenter and VCF Operations appliance sizes not being correctly retrieved
25-
26-
## [v9.0.0.1007]
27-
> Release Date: 2025-09-02
28-
- [Fixed] Bug where HA Deployment Model was not being honoured correctly
29-
30-
## [v9.0.0.1006]
31-
> Release Date: 2025-08-21
32-
- [Fixed] Bug where Edge JSON creation for workload domain was keying off management domain choice
33-
34-
## [v9.0.0.1005]
35-
> Release Date: 2025-08-21
36-
- [Changed] Supported P&P Workbook version updates to v1.9.0.005
37-
- [Fixed] Menu items showing as enabled when should be disabled
38-
39-
## [v9.0.0.1004]
40-
> Release Date: 2025-08-13
41-
- [Added] Tested on for Ubuntu, Debian and MacOS. May work with other linux variants, but untested
42-
- [Added] Generation of JSON for Single Operation of Stretched Compute Only Cluster
43-
- [Added] `Set-VCFJsonGenerationPrequisites` cmdlet that installs additional PowerShell Module dependencies
44-
- [Changed] Removed dependency on PowerVCF PowerShell Module
45-
- [Changed] Handling of DVS Datapath mode based on settings in P&P workbook
46-
- [Fixed] VCF Operations Appliance size being populated as `False`
47-
48-
## [v9.0.0.1003]
49-
> Release Date: 2025-xx-xx
50-
- [Changed] Revert Console Title to original value on exit
51-
- [Changed] Display Module vs generic VCF Version
52-
53-
## [v9.0.0.1002]
54-
> Release Date: 2025-07-01
1+
# Release History
2+
3+
## [v9.0.0.1011]
4+
> Release Date: 2026-02-04
5+
- [Added] Support for onboard change control to increase range of versions the workbook content transfer process can support
6+
- [Added] Ability to transparently handle versions of P&P that do not impact automation
7+
- [Added] Support for LAG in VCF Installer Management Domain Bringup File
8+
- [Changed] Altered logic to handle situations where no excel files are present in folder more elegantly
9+
- [Fixed] Appliance size retrieval from P&P
10+
- [Fixed] References to outdated named cells
11+
- [Fixed] Workload datacenter name for workload domain deployment now calculated vs using Day-N configuration value
12+
- [Fixed] Issue in multi-az host commissioning
13+
14+
## [v9.0.0.1010]
15+
> Release Date: 2025-11-12
16+
- [Added] Support for auto-generated passwords in management domain
17+
- [Fixed] Bug in edge cluster deployment using ip pools for edges
18+
- [Fixed] Edge snat being to true for ACTIVE_ACTIVE clusters
19+
- [Fixed] 9.0.0.0 set as version for Day-N deployments, even when later versions is selected
20+
21+
## [v9.0.0.1009]
22+
> Release Date: 2025-10-10
23+
- [Added] Support for VCF 9.0.1.0
24+
- [Changed] Changed default snat setting for edge json file
25+
- [Changed] Removed unneccessary wsan configuration on windows machine
26+
- [Changed] Supported P&P Workbook version updates to v1.9.0.006
27+
- [Fixed] Not gathering IP Pools spec correctly for management domain JSON
28+
- [Fixed] Not honouring CEIP setting for management domain JSON
29+
- [Fixed] Management domain network pool name now based off of provided domain name rather than internal value
30+
31+
## [v9.0.0.1008]
32+
> Release Date: 2025-09-18
33+
- [Changed] Handle single DNS and NTP server entries for management domain bringup
34+
- [Fixed] FTT not being added in OSA management domains
35+
- [Fixed] vCenter and VCF Operations appliance sizes not being correctly retrieved
36+
37+
## [v9.0.0.1007]
38+
> Release Date: 2025-09-02
39+
- [Fixed] Bug where HA Deployment Model was not being honoured correctly
40+
41+
## [v9.0.0.1006]
42+
> Release Date: 2025-08-21
43+
- [Fixed] Bug where Edge JSON creation for workload domain was keying off management domain choice
44+
45+
## [v9.0.0.1005]
46+
> Release Date: 2025-08-21
47+
- [Changed] Supported P&P Workbook version updates to v1.9.0.005
48+
- [Fixed] Menu items showing as enabled when should be disabled
49+
50+
## [v9.0.0.1004]
51+
> Release Date: 2025-08-13
52+
- [Added] Tested on for Ubuntu, Debian and MacOS. May work with other linux variants, but untested
53+
- [Added] Generation of JSON for Single Operation of Stretched Compute Only Cluster
54+
- [Added] `Set-VCFJsonGenerationPrequisites` cmdlet that installs additional PowerShell Module dependencies
55+
- [Changed] Removed dependency on PowerVCF PowerShell Module
56+
- [Changed] Handling of DVS Datapath mode based on settings in P&P workbook
57+
- [Fixed] VCF Operations Appliance size being populated as `False`
58+
59+
## [v9.0.0.1003]
60+
> Release Date: 2025-xx-xx
61+
- [Changed] Revert Console Title to original value on exit
62+
- [Changed] Display Module vs generic VCF Version
63+
64+
## [v9.0.0.1002]
65+
> Release Date: 2025-07-01
5566
- [Added] Initial Release

LICENSE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ This copyright notice shall be included in all copies or substantial portions of
88

99
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
1010

11-

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
21
# VCF.JSONGenerator
32

4-
[![PS Version](https://img.shields.io/powershellgallery/v/VCF.JSONGenerator?label=Version)](https://www.powershellgallery.com/packages/VCF.JSONGenerator)
5-
[![PS Downloads](https://img.shields.io/powershellgallery/dt/VCF.JSONGenerator?label=Downloads)](https://www.powershellgallery.com/packages/VCF.JSONGenerator)
6-
[![GitHub Glone](https://img.shields.io/badge/dynamic/json?color=success&label=Clones&query=count&url=https://gist.githubusercontent.com/nathanthaler/cd078a6cd4cc8bbf8bcf859ad2dd4f18/raw/clone.json&logo=github)](https://gist.githubusercontent.com/nathanthaler/cd078a6cd4cc8bbf8bcf859ad2dd4f18/raw/clone.json)
7-
[![License](https://img.shields.io/badge/License-Broadcom-green.svg)](LICENSE.md)
8-
[![PowerShell](https://img.shields.io/badge/PowerShell-7.2%2B-blue.svg)](https://github.com/PowerShell/PowerShell)
9-
[![Changelog](https://img.shields.io/badge/Changelog-Read-blue)](CHANGELOG.md)
10-
113
## Author
12-
134
Thank you for your interest in the project. Whether it's a bug report, enhancement, correction, or
145
additional documentation, I greatly value feedback and contributions from our community.
156

@@ -19,7 +10,7 @@ Ken Gould | Creator | [:fontawesome-brands-github:](https://github.co
1910

2011
## Overview
2112

22-
VCF.JSONGenerator is provided as is, as a companion tool for the VCF 9.0 Planning & Preparation (P&P) workbook. Its intent is to help automate the task of creation JSON payloads for submission to the VCF management components.
13+
VCF.JSONGenerator is provided as is, as a companion tool for the VCF 9.0 Planning & Preparation (P&P) workbook. Its intent is to help automate the task of creation JSON payloads for submission to the VCF management components.
2314

2415
## Support Platforms
2516
- Windows (tested with Server 2022 Datacenter edition)
@@ -51,7 +42,7 @@ The following are the list of tested / supported permutations.
5142
- When P&P operation is configured to be `Deploy a new VCF fleet` or `Deploy a VCF Instance in an existing VCF fleet`
5243
- [Supported/Tested]
5344
- Deploy a new VCF Fleet
54-
- Simple Deployment Model
45+
- Simple Deployment Model
5546
- Highly Available Deployment Model
5647
- Deployment of VCF Operations and VCF Automation Day-N
5748
- Deployment of VCF Operations with VCF Autuomation
@@ -72,11 +63,11 @@ The following are the list of tested / supported permutations.
7263
- [Supported/Tested]
7364
- Single-Rack / Layer-2 Multi-Rack HCI Cluster
7465
- Single-Rack / Layer-2 Multi-Rack Storage Cluster
75-
- Single-Rack / Layer-2 Multi-Rack Compute Only Cluster
66+
- Single-Rack / Layer-2 Multi-Rack Compute Only Cluster
7667
- [Unsupported]
7768
- Multi-Rack / Layer-2 Multi-Rack HCI Cluster
7869
- Multi-Rack / Layer-2 Multi-Rack Storage Cluster
79-
- Multi-Rack / Layer-2 Multi-Rack Compute Only Cluster
70+
- Multi-Rack / Layer-2 Multi-Rack Compute Only Cluster
8071

8172
### Workload Domains
8273
- First workload domain when P&P Operation is set to `Deploy a new VCF fleet` or `Deploy a VCF Instance in an existing VCF fleet`
@@ -132,4 +123,4 @@ The following are the list of tested / supported permutations.
132123
- NSX VLAN segment
133124

134125
## Troubleshooting
135-
- There is a very tight coupling between the version of the Planning & Preparation file you use and the version of the VCF.JSONGenerator Powershell Module. Bug resolution may involve a change to either or both of these elements. Please ensure that all required values in the Planning & Preparation workbook are populated in the desired format. In time, depending on the appetite for this module, I may introduce input format validation and cross-checking
126+
- There is a very tight coupling between the version of the Planning & Preparation file you use and the version of the VCF.JSONGenerator Powershell Module. Bug resolution may involve a change to either or both of these elements. Please ensure that all required values in the Planning & Preparation workbook are populated in the desired format. In time, depending on the appetite for this module, I may introduce input format validation and cross-checking

VCF.JSONGenerator.psd1

100755100644
3.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)