summaryrefslogtreecommitdiff
path: root/doc/source/cli
diff options
context:
space:
mode:
authorArtem Goncharov <Artem.goncharov@gmail.com>2020-06-09 11:35:46 +0200
committerArtem Goncharov <artem.goncharov@gmail.com>2021-02-02 08:14:34 +0000
commit119d2fae2567285b9149b2c737d7d4452b59288c (patch)
tree8e9bef2e7bb22131a052cbf70a7365bda49ad88a /doc/source/cli
parent01a53fa96fe2fbd67682850ee7ce9ab140c9211b (diff)
downloadpython-openstackclient-119d2fae2567285b9149b2c737d7d4452b59288c.tar.gz
project cleanup
New implementation of the project cleanup based on the sdk.project_cleanup. It is implemented as an additional OSC operation and will ideally obsolete the `openstack project purge` giving flexibility to extend services support, parallelization, filters, etc. Change-Id: Ie08877f182379f73e5ec5ad4daaf84b3092c829c
Diffstat (limited to 'doc/source/cli')
-rw-r--r--doc/source/cli/command-objects/project-cleanup.rst12
-rw-r--r--doc/source/cli/commands.rst1
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/project-cleanup.rst b/doc/source/cli/command-objects/project-cleanup.rst
new file mode 100644
index 00000000..e76e5389
--- /dev/null
+++ b/doc/source/cli/command-objects/project-cleanup.rst
@@ -0,0 +1,12 @@
+===============
+project cleanup
+===============
+
+Clean resources associated with a specific project based on OpenStackSDK
+implementation
+
+Block Storage v2, v3; Compute v2; Network v2; DNS v2; Orchestrate v1
+
+
+.. autoprogram-cliff:: openstack.common
+ :command: project cleanup
diff --git a/doc/source/cli/commands.rst b/doc/source/cli/commands.rst
index 0dfac00b..94a0b5a6 100644
--- a/doc/source/cli/commands.rst
+++ b/doc/source/cli/commands.rst
@@ -270,6 +270,7 @@ Those actions with an opposite action are noted in parens if applicable.
* ``pause`` (``unpause``) - stop one or more servers and leave them in memory
* ``query`` - Query resources by Elasticsearch query string or json format DSL.
* ``purge`` - clean resources associated with a specific project
+* ``cleanup`` - flexible clean resources associated with a specific project
* ``reboot`` - forcibly reboot a server
* ``rebuild`` - rebuild a server using (most of) the same arguments as in the original create
* ``remove`` (``add``) - remove an object from a group of objects