def remove_created_files(): # Removes all config files, environment files, etc. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/contrail-vrouter-agent.conf") common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_vrouter.env") common_utils.remove_file_safe(CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe("/etc/apparmor.d/libvirt/TEMPLATE.qemu")
def remove_created_files(): # Removes all config files, environment files, etc. common_utils.remove_file_safe("/cluster_config.yml") common_utils.remove_file_safe("/tmp/juju_environment") common_utils.remove_file_safe("/etc/ansible/ansible.cfg") image = "contrail-command-deployer" if os.path.exists("/" + image): os.rmdir("/" + image)
def remove_created_files(): # Removes all config files, env files, etc. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_config.env") common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/defaults_controller.env") common_utils.remove_file_safe(CONFIG_API_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(CONFIG_DATABASE_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(CONTROL_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(WEBUI_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_web.env") common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/contrail-issu.conf") # TODO: Redis is common service. We can't delete its files here. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/redis.env") common_utils.remove_file_safe(REDIS_CONFIGS_PATH + "/docker-compose.yaml")
def remove_created_files(): # Removes all config files, environment files, etc. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_analyticsdb.env") common_utils.remove_file_safe(CONFIGS_PATH + "/docker-compose.yaml")
def remove_created_files(): # Removes all config files, environment files, etc. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_analytics.env") common_utils.remove_file_safe(ANALYTICS_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(ANALYTICS_ALARM_CONFIGS_PATH + "/docker-compose.yaml") common_utils.remove_file_safe(ANALYTICS_SNMP_CONFIGS_PATH + "/docker-compose.yaml") # TODO: Redis is a common service. We can't delete its files here. common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/redis.env") common_utils.remove_file_safe(REDIS_CONFIGS_PATH + "/docker-compose.yaml")
def remove_created_files(): common_utils.remove_file_safe(BASE_CONFIGS_PATH + "/common_cni.env") common_utils.remove_file_safe(CONFIGS_PATH + "/docker-compose.yaml")