]> git.proxmox.com Git - mirror_ovs.git/blame - windows/README.rst
ovs-ofctl: Fix memory leak in ofctl_packet_out().
[mirror_ovs.git] / windows / README.rst
CommitLineData
bbb733c6
SF
1..
2 Licensed under the Apache License, Version 2.0 (the "License"); you may
3 not use this file except in compliance with the License. You may obtain
4 a copy of the License at
d183efc2 5
bbb733c6
SF
6 http://www.apache.org/licenses/LICENSE-2.0
7
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 License for the specific language governing permissions and limitations
12 under the License.
13
14 Convention for heading levels in Open vSwitch documentation:
15
16 ======= Heading 0 (reserved for the title in a document)
17 ------- Heading 1
18 ~~~~~~~ Heading 2
19 +++++++ Heading 3
20 ''''''' Heading 4
21
22 Avoid deeper levels because they do not render well.
23
24==============
25Windows README
26==============
27
28This directory contains tooling to generate an MSI installer for Open vSwitch
29on Windows, including CLI executables, services and the Hyper-V vswitch
30forwarding extension.
d183efc2
AS
31
32Requirements
33------------
34
bbb733c6
SF
35* Visual Studio 2013
36
37 Community, Professional, Premium or Ultimate editions can be used.
d183efc2 38
bbb733c6
SF
39 Visual Studio Community 2013 is freely available from `visualstudio.com
40 <https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx>`__
d183efc2 41
bbb733c6 42* WiX Toolset 3.9
d183efc2 43
bbb733c6
SF
44 Download and install from `wixtoolset.org
45 <http://wixtoolset.org/releases/v3.9/stable>`__
d183efc2 46
bbb733c6 47* ``Microsoft_VC120_CRT_x86.msm``
d183efc2 48
bbb733c6
SF
49 This Windows merge module is available with Visual Studio and contains the
50 Visual C++ 2013 x86 runtime redistributables files. Copy the file in the
51 ``Redist`` directory.
d183efc2
AS
52
53Open vSwitch installer
54----------------------
55
bbb733c6 56The installer will be generated under the following path::
d183efc2 57
bbb733c6 58 windows\ovs-windows-installer\bin\Release\OpenvSwitch.msi
d183efc2 59
bbb733c6 60.. note::
d183efc2 61
bbb733c6
SF
62 The kernel driver needs to be signed.
63
64Build Instructions
d183efc2
AS
65------------------
66
bbb733c6 67Build the solution in the Visual Studio IDE or via command line::
d183efc2
AS
68
69 msbuild ovs-windows-installer.sln /p:Platform=x86 /p:Configuration=Release
70
71Silent installation
72-------------------
73
bbb733c6
SF
74::
75
d183efc2 76 msiexec /i OpenvSwitch.msi ADDLOCAL=OpenvSwitchCLI,OpenvSwitchDriver /l*v log.txt