Automating VCF - Create Network Pool
In this part of the series, we take a look at how to create a new network pool in SDDC Manager to support a workload domain deployment.
VMware Cloud Builder APIs Used
- POST /v1/network-pools
Step 1 – Download and populate the Planning and Preparation Workbook for your target platform.
Step 2 – To generate the JSON spec using inputs from the Planning and Preparation Workbook run the following command:
The createNetworkPool.ps1 script will open the supplied Planning and Preparation Workbook, read the ‘Workload Domain’ tab into a variable and then proceed to generate the JSON spec required by the Public API.
Step 3 – Authenticate to the SDDC Manager appliance by running the following command:
Step 4 – Create the new network pool by running the following command:
That completes the process of generating a network pool JSON spec used by the public API and creating the network pool in SDDC Manager .
About the Author:
Gary Blake is a Staff II Solutions Architect at VMware, focusing on VMware Cloud Foundation and VMware Validated Designs and is a lead contributor for PowerVCF. You can find Gary blogging at https://my-cloudy-world.com/ or on social media @GaryJBlake.
This article has been re-posted with permission from the author, and was originally posted at https://my-cloudy-world.com/.