Deleting IP groups and addresses

You can delete IP groups or IP addresses from IP groups when they are no longer needed in a deployment configuration.

Before you begin

You must be assigned one of the following permissions to perform these steps:
  • System level, Cloud group administration role with permission to Manage cloud resources (Full permission) - You can delete the IP group through user interface, purecli, and REST APIs.
  • Resource level administration role with All access rights permission (ACL) - You can delete the IP group through user interface, purecli, and REST APIs.
  • Manage hardware resources (Full permission) and View all cloud resources (Read-only) permissions - You cannot delete IP groups.
  • CLOUDGROUP_ADMIN_READER (View all cloud resources (Read-only) and HARDWARE_ADMIN_READER (View all hardware resources (Read-only) - You cannot delete IP groups

About this task

IP addresses are only accessible within IP groups. You can delete IP addresses from IP groups or delete the entire IP group. When you delete an IP group, you delete the pool of IP addresses within the IP group that was available to the system.

You can use the console, the command line interface, or the REST API to complete this task. For the command line and REST API information, see the Related information section.

Procedure

  1. Click Cloud > IP Groups. If you are on 2.3.3.3, navigate to Cloud > Architecture > IP Groups.
  2. Delete an IP address.
    1. Select the IP group that you want to edit.
    2. Under IP addresses, select the IP address that you want to delete from the IP group. If the IP address is not displayed on the first page, click a page number or enter the IP address in the IP address search box to locate it.
    3. Click the Delete icon on the toolbar. Click Delete to confirm that you want to remove the IP address.
    Note:
    Auditing for deletion of IP address range is done as a PUT actionID to subnets and not as DELETE with the addresses because the deletion is handled by a REST PUT call in the subnets API rather than the addresses API. For example, see the following format:
    Table 1. Auditing for deletion of IP address range
    timestamp componentType actionID resourceID
    YYYY-MM-DD timestamp Coordinated Universal Time ibm:ipas.iaas PUT /resources/subnets/{Subnet_id}/addresses/delete
    Deleting of single IP address is done as a DELETE actionID on addresses API in the following format:
    Table 2. Auditing for removal of IP address
    timestamp componentType actionID resourceID
    YYYY-MM-DD timestamp Coordinated Universal Time ibm:ipas.iaas DELETE Address_id
    Entries for removal of IP address is logged into the ipas.iaas log at /var/log/purescale/ipas.iaas/trace.log.
  3. Delete an IP group.
    1. Select the IP group that you want to delete.
    2. Click the Delete icon on the toolbar. Click Delete to confirm that you want to remove the IP group.