Remove/Update network IP pool range in SDDC Manager
book
Article ID: 396783
calendar_today
Updated On:
Products
VMware Cloud Foundation
Issue/Introduction
You cannot remove an existing IP address range from the SDDC UI if it is the only range within the network pool or if it is currently in use.
This article provides guidance on removing the IP range using the public API.
Environment
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware Cloud Foundation 9.x
Resolution
Note: Ensure a valid snapshot of the SDDC virtual machine is taken before proceeding with the steps below.
Review the networking pools in the SDDC Manager UI to identify unused IP Pool.
Connect to the SDDC Manager appliance via an SSH session.
Enter su to switch to the root user and enter the password.
Obtain the authentication token, because we are using the Public API we need to get an authentication token from SDDC Manager. We will do this by capturing the token to a variable that we can then use for each subsequent API call as this simplifies the command for us.
Delete the IP range we no longer require. Here we use the Network Pool ID from Step 5 and the IP Pool ID from Step 6 as well as passing a JSON spec containing the actual IP range that we want to delete.