From a79e7db4aeb6990912497eb0fd313ae3e60adafb Mon Sep 17 00:00:00 2001
From: Ghanshyam Mann <gmann@ghanshyammann.com>
Date: Sat, 28 Nov 2020 16:15:28 -0600
Subject: [PATCH] Remove retired Searchlight support

Searchlight project is retiring in Wallaby cycle[1].
This commit removes the support/usage of Searchlight project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html

Change-Id: Idad97343b9ce66186d50ee0560a2fded66655f9b
---
 doc/requirements.txt                           | 1 -
 doc/source/cli/plugin-commands/index.rst       | 1 -
 doc/source/cli/plugin-commands/searchlight.rst | 4 ----
 doc/source/contributor/plugins.rst             | 1 -
 4 files changed, 7 deletions(-)
 delete mode 100644 doc/source/cli/plugin-commands/searchlight.rst

diff --git a/doc/requirements.txt b/doc/requirements.txt
index 962b0e2607..28030ca422 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -26,7 +26,6 @@ python-neutronclient>=6.7.0 # Apache-2.0
 python-octaviaclient>=1.11.0 # Apache-2.0
 python-rsdclient>=1.0.1 # Apache-2.0
 python-saharaclient>=1.4.0 # Apache-2.0
-python-searchlightclient>=1.0.0 #Apache-2.0
 python-senlinclient>=1.1.0 # Apache-2.0
 python-troveclient>=3.1.0 # Apache-2.0
 python-watcherclient>=2.5.0 # Apache-2.0
diff --git a/doc/source/cli/plugin-commands/index.rst b/doc/source/cli/plugin-commands/index.rst
index 33a8fe064f..8c9c5c13e3 100644
--- a/doc/source/cli/plugin-commands/index.rst
+++ b/doc/source/cli/plugin-commands/index.rst
@@ -22,7 +22,6 @@ Plugin Commands
    placement
    rsd
    sahara
-   searchlight
    senlin
    trove
    watcher
diff --git a/doc/source/cli/plugin-commands/searchlight.rst b/doc/source/cli/plugin-commands/searchlight.rst
deleted file mode 100644
index be934aeb36..0000000000
--- a/doc/source/cli/plugin-commands/searchlight.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-searchlight
------------
-
-.. autoprogram-cliff:: openstack.search.v1
diff --git a/doc/source/contributor/plugins.rst b/doc/source/contributor/plugins.rst
index 7ea48edd38..fe2cc14ad0 100644
--- a/doc/source/contributor/plugins.rst
+++ b/doc/source/contributor/plugins.rst
@@ -37,7 +37,6 @@ The following is a list of projects that are an OpenStackClient plugin.
 - python-octaviaclient
 - python-rsdclient
 - python-saharaclient
-- python-searchlightclient
 - python-senlinclient
 - python-tripleoclient\*\*
 - python-troveclient