Auto-generated documentation for ocs_ci.deployment.ocp module.
This module provides base class for OCP deployment.
- Ocs-ci / Modules / Ocs Ci / Deployment / Ocp
class OCPDeployment():
def __init__():
def create_config():
Create the OCP deploy config, if something needs to be changed fro specific platform you can overload this method in child class.
def deploy(log_cli_level='DEBUG'):
Implement ocp deploy in specific child class
def deploy_prereq():
Perform generic prereq before calling openshift-installer This method performs all the basic steps necessary before invoking the installer
def destroy(log_level='DEBUG'):
Destroy OCP cluster specific
log_level
str - log level openshift-installer (default: DEBUG)
def download_installer():
Method to download installer
str
- path to the installer
def get_pull_secret():
Load pull secret file
dict
- content of pull secret
def get_ssh_key():
Loads public ssh to be used for deployment
str
- public ssh key or empty string if not found
def test_cluster():
Test if OCP cluster installed successfuly