ocs_ci/deployment/deployment.py
def deploy_cluster(self, log_cli_level='DEBUG'):
        """
        We are handling both OCP and OCS deployment here based on flags

        Args:
            log_cli_level (str): log level for installer (default: DEBUG)
        """
        if not config.ENV_DATA['skip_ocp_deployment']:
            if is_cluster_running(self.cluster_path):
                logger.warning(
                    "OCP cluster is already running, skipping installation"
                )
            else:
                self.deploy_ocp(log_cli_level)

        if not config.ENV_DATA['skip_ocs_deployment']:
            self.deploy_ocs()
        else:
            logger.warning("OCS deployment will be skipped")

        We are handling both OCP and OCS deployment here based on flags

        Args:
            log_cli_level (str): log level for installer (default: DEBUG)
        
We are handling both OCP and OCS deployment here based on flags
We are handling both OCP and OCS deployment here based on flags
def deploy_cluster(self, log_cli_level='DEBUG'):
        if not config.ENV_DATA['skip_ocp_deployment']:
            if is_cluster_running(self.cluster_path):
                logger.warning(
                    "OCP cluster is already running, skipping installation"
                )
            else:
                self.deploy_ocp(log_cli_level)
        if not config.ENV_DATA['skip_ocs_deployment']:
            self.deploy_ocs()
        else:
            logger.warning("OCS deployment will be skipped")
def deploy_cluster ( self , log_cli_level = 'DEBUG' ) : if not config . ENV_DATA [ 'skip_ocp_deployment' ] : if is_cluster_running ( self . cluster_path ) : logger . warning ( "OCP cluster is already running, skipping installation" ) else : self . deploy_ocp ( log_cli_level ) if not config . ENV_DATA [ 'skip_ocs_deployment' ] : self . deploy_ocs ( ) else : logger . warning ( "OCS deployment will be skipped" )
We are handling both OCP and OCS deployment here based on flags
We are handling both OCP and OCS deployment here based on flags
"""
        We are handling both OCP and OCS deployment here based on flags

        Args:
            log_cli_level (str): log level for installer (default: DEBUG)
        """
self
log_cli_level
log level for installer (default: DEBUG)
log level for installer ( default : DEBUG )