#!/usr/bin/env python3 import html import cgi import funct import sql from configparser import ConfigParser, ExtendedInterpolation funct.head("HA") funct.check_login() funct.page_for_admin() path_config = "haproxy-webintarface.config" config = ConfigParser(interpolation=ExtendedInterpolation()) config.read(path_config) serv = "" print('' '
Master | ' 'Slave | ' 'VRRP interface | ' 'VRRP IP | ' 'Install HAProxy(?) | ' '' ' |
' '' ' | ' '' '' ' | ' '' '' ' | ' '' '' ' | ' '' '' ' | ' '' 'Create' ' | ' '
Master | ' 'Slave | ' 'VRRP interface | ' 'VRRP IP | ' 'Restart Keepalived(?) | ' '' ' |
' '' ' | ' '' '' ' | ' '' '' ' | ' '' '' ' | ' '' '' ' | ' '' 'Add' ' | ' '