Example #1
0
def setup():
    haproxy = Haproxy()
    haproxy.setup()
    return {'status': 1}
Example #2
0
def setup():
    haproxy = Haproxy()
    haproxy.setup()
Example #3
0
def setup1_pcs():
    haproxy = Haproxy()
    haproxy.setup_pcs()
    haproxy.setup_pacemaker()
    return {'status': 1}
Example #4
0
def setup1_pcs():
    haproxy = Haproxy()
    haproxy.setup_pcs()
    haproxy.setup_pacemaker()