def connected_amp_protocol():
    p = AMP()
    p.makeConnection(StringTransport())
    return p
Turns the server power on/off or do a reboot.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/testtools/amp.py/connected_amp_protocol--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/irmc/power.py/_set_power_state