diff --git a/ipatests/pytest_ipa/integration/tasks.py b/ipatests/pytest_ipa/integration/tasks.py index 5cbfa4e15..cba0b5b51 100755 --- a/ipatests/pytest_ipa/integration/tasks.py +++ b/ipatests/pytest_ipa/integration/tasks.py @@ -2659,6 +2659,24 @@ def wait_for_ipa_to_start(host, timeout=60): break +def stop_ipa_server(host): + """Stop the entire IdM server using the ipactl utility. + """ + host.run_command([paths.IPACTL, "stop"]) + + +def start_ipa_server(host): + """Start the entire IdM server using the ipactl utility + """ + host.run_command([paths.IPACTL, "start"]) + + +def restart_ipa_server(host): + """Restart the entire IdM server using the ipactl utility + """ + host.run_command([paths.IPACTL, "restart"]) + + def dns_update_system_records(host): """Runs "ipa dns-update-system-records" on "host". """