Browse code

Merge "Update openvswitch restart for suse"

Jenkins authored on 2016/12/13 01:09:14
Showing 1 changed files
... ...
@@ -69,7 +69,11 @@ function _neutron_ovs_base_install_agent_packages {
69 69
         restart_service openvswitch
70 70
         sudo systemctl enable openvswitch
71 71
     elif is_suse; then
72
-        restart_service openvswitch-switch
72
+        if [[ $DISTRO == "sle12" ]] && [[ $os_RELEASE -lt 12.2 ]]; then
73
+            restart_service openvswitch-switch
74
+        else
75
+            restart_service openvswitch
76
+        fi
73 77
     fi
74 78
 }
75 79