You can define one or more network ranges of static IP addresses in the network profile for use in provisioning a machine. If you do not specify a range, you can use a network profile as a network reservation policy to select a reservation network path for a virtual machine network card (vNIC).
You can define IP ranges by using the IP addresses that are supplied by a third-party IPAM provider.
vRealize Automation only saves external IPAM range IDs in the database, not range details. If you edit a network profile on this page or on a blueprint, vRealize Automation calls the IPAM service to get range details based on the selected range IDs.
There is a known issue with some third-party IPAM providers in which a query can time out when returning network ranges, resulting in an empty list. As a workaround, you can provide search criteria to avoid the timeout and obtain the network range information.
For example, depending on your IPAM provider, you may be able to add a property named VLAN to each network in the IPAM provider application and assign a value to that property, such as 4. You could then filter on the property and value, for example VLAN=4, in the Select Network Range text box on the vRealize Automation network profile page.
As an alternative, you can increase the timeout setting by using the following procedure:
On each of the vRealize Automation appliance cnodes, open the /etc/vcac/webapps/o11n-gateway-service/WEB-INF/classes/META-INF/spring/root/o11n-gateway-service-context.xml file.
Change the timeout value from 30 seconds to a higher number.
Restart vcac-server by entering service vcac-server restart.
- Click the Network Ranges tab to create a new network range or select an existing network range.
Details about the selected range appear, including each name, description, and start and end IP address. Status-related information is also provided.
- Select an address space from the list of all addresses spaces that are available for the endpoint from the Address space drop-down menu.
- Click Add and select one or more available network ranges for the specified address space.
Selecting a network range may result in an empty list when using a third-party IPAM provider. For details, see Knowledge Base article 2148656 at http://kb.vmware.com/kb/2148656.
- 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 OK to complete the network profile.
What to do next
You can assign a network profile to a network path in a reservation or a blueprint architect can specify the network profile in a blueprint.