
* "``.``." is not easy to read because it will be rendered into ".." (double period). This commit improves readability a bit. * "Suggestion:" in intro-os-networking-features.rst is meaningless. The paragraph describes what we need to do in advance. * Add commas to highligh a clause of an example. * config-ml2-plug-in.rst: add a blank line to insert a line break. * scenario-classic-mt.rst: add missing 'on'. * scenario-classic-mt.rst: Change "IDs" to "ID ranges". "ID ranges" is easier to understand and it is already used in other places. Change-Id: Ie098be8c7924e80f9830065af809dc91ecf39fe1
1.1 KiB
1.1 KiB
Neutron purge
From the Mitaka release onwards, the OpenStack Networking command-line interface (CLI) supports the deletion of multiple resources for a given tenant with a single command.
The resources currently supported by this feature are:
- Networks
- Subnets
- Ports
- Router Interfaces
- Routers
- Floating IPs
- Security Groups
Usage
To delete all supported resources owned by a tenant, use the neutron purge
command as
follows:
$ neutron purge <tenant_id>
An admin can provide the ID of any tenant that they have access to. A tenant must provide their own ID.
While the command is running, feedback is provided in the form of completion percentage. On completion, the command returns a list of resources that were and/or could not be deleted:
Purging resources: 100% complete.
Deleted 1 security_group, 2 ports, 1 router, 1 floatingip, 2 networks.
The following resouces could not be deleted: 1 network.
A resource in use by another tenant, for example, a shared network with ports in more than one tenant, will prevent it from being deleted.