From b169e6a6894f95f5788d70268c590153f2f9983f Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 2 Jul 2024 10:38:39 -0500 Subject: [PATCH] Format validate_config() docstring to avoid a Sphinx warning This is the warning: "docstring of fabrictestbed_extensions.fablib.fablib.FablibManager.validate_config:22:Explicit markup ends without a blank line; unexpected unindent." --- fabrictestbed_extensions/fablib/fablib.py | 27 +++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/fabrictestbed_extensions/fablib/fablib.py b/fabrictestbed_extensions/fablib/fablib.py index 9ae18ba7..175394c7 100644 --- a/fabrictestbed_extensions/fablib/fablib.py +++ b/fabrictestbed_extensions/fablib/fablib.py @@ -676,27 +676,30 @@ def __init__( def validate_config(self): """ - Validate and create Fablib config - checks if all the required configuration exists for slice - provisioning to work successfully + Validate and create Fablib config - checks if all the required + configuration exists for slice provisioning to work + successfully - - Checks Credential Manager Host is configured properly + - Checks Credential Manager Host is configured properly - - Checks Orchestrator Host is configured properly + - Checks Orchestrator Host is configured properly - - Checks Core API Host is configured properly + - Checks Core API Host is configured properly - - Checks Bastion Host is configured properly + - Checks Bastion Host is configured properly - - Check Sliver keys exist; create sliver keys if they do not exist + - Check Sliver keys exist; create sliver keys if they do + not exist - - Check Bastion keys exist and are not expired; update/create bastion keys if expired or do not exist + - Check Bastion keys exist and are not expired; + update/create bastion keys if expired or do not exist - - Check Bastion Username is configured + - Check Bastion Username is configured - - Check Project Id is configured + - Check Project Id is configured + + .. deprecated:: 1.6.5 Use `verify_and_configure()` instead. - .. deprecated:: 1.6.5 - Use `verify_and_configure()` instead. @raises Exception if the configuration is invalid """ warnings.warn(