From f3feee2f95193edc68662d552537794bc6a0daa6 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 25 Apr 2018 01:15:25 +0000 Subject: [PATCH] Update Sheepdog docs to use config-table directive Remove static table in favor of dynamic table generation with the config-table directive. Change-Id: If3cd9ff077d4de3b50b5e32e7e5ee1d670886971 --- .../block-storage/drivers/sheepdog-driver.rst | 5 +++- .../configuration/tables/cinder-sheepdog.inc | 24 ------------------- 2 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 doc/source/configuration/tables/cinder-sheepdog.inc diff --git a/doc/source/configuration/block-storage/drivers/sheepdog-driver.rst b/doc/source/configuration/block-storage/drivers/sheepdog-driver.rst index 20c936e855c..96dc4eb9b4c 100644 --- a/doc/source/configuration/block-storage/drivers/sheepdog-driver.rst +++ b/doc/source/configuration/block-storage/drivers/sheepdog-driver.rst @@ -45,4 +45,7 @@ Set the following option in the ``cinder.conf`` file: The following table contains the configuration options supported by the Sheepdog driver: -.. include:: ../../tables/cinder-sheepdog.inc +.. config-table:: + :config-target: Sheepdog + + cinder.volume.drivers.sheepdog diff --git a/doc/source/configuration/tables/cinder-sheepdog.inc b/doc/source/configuration/tables/cinder-sheepdog.inc deleted file mode 100644 index e4465e96e94..00000000000 --- a/doc/source/configuration/tables/cinder-sheepdog.inc +++ /dev/null @@ -1,24 +0,0 @@ -.. - Warning: Do not edit this file. It is automatically generated from the - software project's code and your changes will be overwritten. - - The tool to generate this file lives in openstack-doc-tools repository. - - Please make any changes needed in the code, then run the - autogenerate-config-doc tool from the openstack-doc-tools repository, or - ask for help on the documentation mailing list, IRC channel or meeting. - -.. _cinder-sheepdog: - -.. list-table:: Description of Sheepdog driver configuration options - :header-rows: 1 - :class: config-ref-table - - * - Configuration option = Default value - - Description - * - **[DEFAULT]** - - - * - ``sheepdog_store_address`` = ``127.0.0.1`` - - (String) IP address of sheep daemon. - * - ``sheepdog_store_port`` = ``7000`` - - (Port number) Port of sheep daemon.