Manages temporary context for cluster bootstrap operations in crmsh.
# Copyright (C) 2016 Kristoffer Gronlund <kgronlund@suse.com> # See COPYING for license information. # # Bootstrap: # # Supersedes and replaces both the init/add/remove cluster scripts, # and the ha-cluster-bootstrap scripts. # # Implemented as a straight-forward set of python functions for # simplicity and flexibility. # import codecs import dataclasses import io import logging import os import subprocess import sys import re import tempfile import time from time import sleep import readline import shutil import typing import shlex import yaml import socket from string import Template from lxml import etree import crmsh.options from . import config, constants, ssh_key, sh, cibquery, user_of_host from . import utils, network_utils from . import xmlutil from . import cibconfig from . imp ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key