[VMC on AWS]: Unable to add multiple IP addresses at once while creating groups in VMC SDDCs(10 and later)
search cancel

[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:

Products

VMware Cloud on AWS

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.
  1. Launch the vmc console: vmc.vmware.com
  2. Navigate to "Developer Center" on the left , and then to the "API Explorer" on the right pane.
  3. Expand the Vmware Cloud on AWS tab, select NSX VMC policy API.
  4. In the Environment Section, select your SDDC
  5. Search for the PUT API as shown below:
  6. 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
  7. Hit Execute
To  Edit any of the existing groups, please follow the above steps until step 4. Next steps to be followed are below:
  1. Search for the PATCH API as shown below:
  2. Expand the PATCH API and enter the below values:
    •  domain-id - cgw
    •  group-id - <group_name_to_update>
    • group:  {"display_name": "<group_name_to_update>", "expression": [{"resource_type": "IPAddressExpression", "ip_addresses": ["IP1", "IP2", "IP3","IP4"]}]}
  3. The PATCH API completely overrides the group. In order to add a IP, include the previously existing Ips before executing the API.
  4. 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