Merge "Ensure that openvswitch is installed for Fedora"

This commit is contained in:
Jenkins 2013-02-28 17:08:48 +00:00 committed by Gerrit Code Review
commit c9bda20963

View File

@ -24,10 +24,13 @@ function _quantum_ovs_base_install_agent_packages() {
if is_ubuntu; then
kernel_version=`cat /proc/version | cut -d " " -f3`
install_package make fakeroot dkms openvswitch-switch openvswitch-datapath-dkms linux-headers-$kernel_version
else
### FIXME(dtroyer): Find RPMs for OpenVSwitch
elif is_fedora; then
install_package openvswitch
# Ensure that the service is started
restart_service openvswitch
elif is_suse; then
### FIXME: Find RPMs for OpenVSwitch
echo "OpenVSwitch packages need to be located"
# Fedora does not started OVS by default
restart_service openvswitch
fi
}