Merge "Update openvswitch restart for suse"

This commit is contained in:
Jenkins 2016-12-12 16:09:14 +00:00 committed by Gerrit Code Review
commit c95ca63ae3

View File

@ -69,7 +69,11 @@ function _neutron_ovs_base_install_agent_packages {
restart_service openvswitch
sudo systemctl enable openvswitch
elif is_suse; then
restart_service openvswitch-switch
if [[ $DISTRO == "sle12" ]] && [[ $os_RELEASE -lt 12.2 ]]; then
restart_service openvswitch-switch
else
restart_service openvswitch
fi
fi
}