You can add IP addresses to a network profile range by importing a properly formatted CSV file. You can also change the addresses in the network profile range by editing the range in vRealize Automation or by importing a changed or different CSV file.
Before you begin
Log in to the vRealize Automation console as a fabric administrator.
Create a CSV file containing IP addresses for import to a network range. See Create an External Network Profile by Using A Third-Party IPAM Provider and Understanding CSV File Format for Importing Network Profile IP Addresses.
About this task
You can add or change the IP addresses in a network profile range by importing from a CSV file or by entering values manually. Alternatively, you can allow a third-party IPAM provider to supply IP addresses.
Import an initial range of IP addresses into a vRealize Automation network profile.
Apply the imported values to create our first named network range in the network profile.
Delete one or more IP addresses from the network range vRealize Automation.
Import a changed or different CSV file to examine how the network range values are changed.
You cannot use the Import from CSV option for network profiles that use a third-party IPAM endpoint because the IP addresses are managed by the third-party IPAM provider, not by vRealize Automation.
- Select .
- Click New and select a network profile type from the drop-down menu.
For this example, select External.
- Enter My Network Profile with CSV in the Name text box.
- Enter Testing network range IP addresses with CSV in the Description text box.
The CSV file import option applies to settings on the Network Ranges and IP Addresses tab pages. so we will move quickly through the first two tabs to enter basic network profile information.
- Optionally select a configured IPAM endpoint if you have one available. If not, skip this step.
- Enter an appropriate IP address value in the Subnet mask and Gateway text boxes.
- Click the DNS tab.
- Enter applicable information such as a DNS suffix and click the Network Ranges tab.
The Import from CVS option is available when you click the Network Ranges tab.
- Click New to enter a new network range name and IP address range manually or click Import from CSV to import the IP address information from a properly formatted CSV file.
Enter a network range name.
Enter a network range description.
Enter the start IP address of the range.
Enter the end IP address of the range.
Click Import from CSV.
Browse to and select the CSV file or drag the CSV file into the Import from CSV dialog box.
A row in the CSV file has the format ip_address, machine_name, status, NIC offset. For example:
An IP address in IPv4 format.
Name of a managed machine in vRealize Automation. If the field is empty, the default is no name. If the field is empty, the status field value cannot be Allocated.
Allocated or Unallocated, case-sensitive. If the field is empty, the default value is Unallocated. If the status is Allocated, the machine_name field cannot be empty.
A non-negative integer. Optional.
- Click OK.
The IP range name appears in the defined ranges list. The IP addresses in the range appear in the defined IP addresses list.
The uploaded IP addresses appear on the IP Addresses page when you click Apply or after you save and then edit the network profile.
- Click the IP Addresses tab to display the IP address data for the specified range address space.
If you imported the IP address information from a CSV file, the range name is generated as Imported from CSV.
- (Optional) : Select IP address information from the Network range drop-down menu to filter IP address entries.
You can display information about all defined network ranges, the network ranges imported from a CSV file, or a named network range. Details include the start IP address, machine name, last modification date and timestamp, and IP status.
What to do next
If you import IP addresses from a CSV file again, the previous IP addresses are replaced with the information from the imported CSV file.