summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-07-24 15:15:51 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-07-24 15:15:51 -0600
commit59f7b5d1da435d64f10bd526c9dfd50007730766 (patch)
tree89ef07bfb8087019b5b16e4262dddcf1ae88c84e /docs/how-to-use
parentfeae63d11f8295a0d9327496f42949ad5b67fca4 (diff)
Added keypair config for key file deletion.
Added KeypairSetting attribute named 'delete_on_clean' which is used to override the keypair creator's logic for deleting its associated public/private key files. JIRA: SNAPS-105 Change-Id: I337db99daa6bf7d4b42e8729a92a4baef5c73140 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'docs/how-to-use')
-rw-r--r--docs/how-to-use/IntegrationTests.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst
index ec549cf..1181776 100644
--- a/docs/how-to-use/IntegrationTests.rst
+++ b/docs/how-to-use/IntegrationTests.rst
@@ -114,6 +114,29 @@ create_keypairs_tests.py - CreateKeypairsTests
| | | existing public key file |
+---------------------------------------+---------------+-----------------------------------------------------------+
+create_keypairs_tests.py - CreateKeypairsCleanupTests
+-----------------------------------------------------
+
++---------------------------------------+---------------+-----------------------------------------------------------+
+| Test Name | Nova API | Description |
++=======================================+===============+===========================================================+
+| test_create_keypair_gen_files_delete_1| 2 | Ensures that new keypair files are deleted by default |
+| | | by OpenStackKeypair#clean() |
++---------------------------------------+---------------+-----------------------------------------------------------+
+| test_create_keypair_gen_files_delete_2| 2 | Ensures that new keypair files are deleted by |
+| | | OpenStackKeypair#clean() when the settings delete_on_clean|
+| | | attribute is set to True |
++---------------------------------------+---------------+-----------------------------------------------------------+
+| test_create_keypair_gen_files_keep | 2 | Ensures that new keypair files are not deleted by |
+| | | OpenStackKeypair#clean() |
++---------------------------------------+---------------+-----------------------------------------------------------+
+| test_create_keypair_exist_files_keep | 2 | Ensures that existing keypair files are not deleted by |
+| | | OpenStackKeypair#clean() |
++---------------------------------------+---------------+-----------------------------------------------------------+
+| test_create_keypair_exist_files_delete| 2 | Ensures that existing keypair files are deleted by |
+| | | OpenStackKeypair#clean() |
++---------------------------------------+---------------+-----------------------------------------------------------+
+
create_network_tests.py - CreateNetworkSuccessTests
---------------------------------------------------