salt.modules.openstack_mng

Module for OpenStack Management

codeauthor:

Konrad Mosoń <mosonkonrad@gmail.com>

maturity:

new

depends:

openstack-utils

platform:

linux

salt.modules.openstack_mng.restart_service(service_name, minimum_running_time=None)

Restart OpenStack service immediately, or only if it's running longer than specified value

CLI Example:

salt '*' openstack_mng.restart_service neutron
salt '*' openstack_mng.restart_service neutron minimum_running_time=600
salt.modules.openstack_mng.start_service(service_name)

Start OpenStack service immediately

CLI Example:

salt '*' openstack_mng.start_service neutron
salt.modules.openstack_mng.stop_service(service_name)

Stop OpenStack service immediately

CLI Example:

salt '*' openstack_mng.stop_service neutron