X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=INSTALL.XenServer.md;h=0c64be3a76511f4fb24ac11f201c7e7d94c4992f;hb=7daedce44a96edefd5afa683475eb482070e937a;hp=072a9f2ffff3bf01c365b9dd735ecda8fab8ce69;hpb=5748c7e9a51748c93bfc511662462be415664a8b;p=cascardo%2Fovs.git diff --git a/INSTALL.XenServer.md b/INSTALL.XenServer.md index 072a9f2ff..0c64be3a7 100644 --- a/INSTALL.XenServer.md +++ b/INSTALL.XenServer.md @@ -5,7 +5,10 @@ This document describes how to build and install Open vSwitch on a Citrix XenServer host. If you want to install Open vSwitch on a generic Linux or BSD host, see [INSTALL.md] instead. -These instructions have been tested with XenServer 5.6 FP1. +Open vSwitch should work with XenServer 5.6.100 and later. However, +Open vSwitch requires Python 2.7 or later, so using Open vSwitch with +XenServer 6.5 or earlier requires installing Python 2.7. + Building Open vSwitch for XenServer ----------------------------------- @@ -81,26 +84,16 @@ where: the crashdump kernel flavor. Commonly, one would specify "xen" here. For XenServer 6.5 or above, the kernel version naming no longer contains -KERNEL_FLAVOR. Correspondingly, the the final "rpmbuild" step changes to: +KERNEL_FLAVOR. In fact, only providing the `uname -r` output is enough. +So, the final "rpmbuild" step changes to: ``` - VERSION= - KERNEL_NAME= - KERNEL_VERSION= - XEN_VERSION= + KERNEL_UNAME=<`uname -r` output> rpmbuild \ - -D "openvswitch_version $VERSION" \ - -D "kernel_name $KERNEL_NAME" \ - -D "kernel_version $KERNEL_VERSION" \ - -D "xen_version $XEN_VERSION" \ + -D "kenel_uname $KERNEL_UNAME" \ -bb xenserver/openvswitch-xen.spec ``` -where: - - `` is the output of `uname -r`. Since XenServer 6.5, the - directory name in 'lib/modules/' becomes a shortened expression of the - KERNEL_VERSION. Installing Open vSwitch for XenServer -------------------------------------