[VMC on AWS]: Unable to add multiple IP addresses at once while creating groups in VMC SDDCs(10 and later)
book
Article ID: 312501
calendar_today
Updated On: 10-21-2020
Products
VMware Cloud on AWS
Show More
Show Less
Issue/Introduction
Symptoms:
Unable to add multiple IP addresses in VMC console Network and security tab The IP addresses need to be added one after the other. This was working previously in M8 where customer had the option to copy multiple comma delimited IPs at once
Cause
This is due to a UI change in NSX component of VMC on AWS.
Resolution
This issue will be addressed in future release of VMC on AWS
Workaround:
Current Workaround provided is to create groups via API explorer.
Launch the vmc console: vmc.vmware.com Navigate to "Developer Center" on the left , and then to the "API Explorer" on the right pane. Expand the Vmware Cloud on AWS tab, select NSX VMC policy API. In the Environment Section, select your SDDC Search for the PUT API as shown below: Expand the PUT api and enter the below values:
domain-id - cgw group-id - <group_name> group - {"display_name": "<group_name>", "expression": [{"resource_type": "IPAddressExpression", "ip_addresses": ["IP1", "IP2", "IP3"]}]}Here IP1,IP2, IP3 refer to the list of IP addresses to be added
Hit Execute
To Edit any of the existing groups, please follow the above steps until step 4. Next steps to be followed are below:
Search for the PATCH API as shown below: Expand the PATCH API and enter the below values:
domain-i d - cgw group-id - <group_name_to_update> group : {"display_name": "<group_name_to_update>", "expression": [{"resource_type": "IPAddressExpression", "ip_addresses": ["IP1", "IP2", "IP3","IP4"]}]}
The PATCH API completely overrides the group. In order to add a IP, include the previously existing Ips before executing the API. Hit Execute
M12 SDDCs have an option to Import CSV/Text files to update the IP addresses. This feature is currently unavailable on M10.
Additional Information
Impact/Risks: Customers will need to input each IP address manually one after the other. With the feature working previously in M8, this does not give a user friendly interface to the customer
Feedback
thumb_up
Yes
thumb_down
No