summaryrefslogtreecommitdiff
path: root/appveyor.yml
Commit message (Collapse)AuthorAgeFilesLines
* appveyor.yml: Install python "pypiwin32" module.Alin Serdean2017-01-041-1/+1
| | | | | | | pypiwin32 is now required for the build. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* Windows: Add internal switch port per OVS bridgeAlin Serdean2016-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the following commands in the vswitch: ovs-vsctl add-br br-test ovs-vsctl del-br br-test ovs-vsctl add-br br-test: This command will now create an internal port on the MSFT virtual switch using the WMI interface from Msvm_VirtualEthernetSwitchManagementService leveraging the method AddResourceSettings. Before creating the actual port, the switch will be queried to see if there is not a port already created (good for restarts when restarting the vswitch daemon). If there is a port defined it will return success and log a message. After checking if the port already exists the command will also verify if the forwarding extension (windows datapath) is enabled and on a single switch. If it is not activated or if it is activated on multiple switches it will return an error and a message will be logged. After the port was created on the switch, we will disable the adapter on the host and rename to the corresponding OVS bridge name for consistency. The user will enable and set the values he wants after creation. ovs-vsctl del-br br-test This command will remove an internal port on the MSFT virtual switch using the Msvm_VirtualEthernetSwitchManagementService class and executing the method RemoveResourceSettings. Both commands will be blocking until the WMI job is finished, this allows us to guarantee that the ports are created and their name are set before issuing a netlink message to the windows datapath. This patch also includes helpers for normal WMI retrievals and initializations. Appveyor and documentation has been modified to include the libraries needed for COM objects. This patch was tested individually using IMallocSpy and CRT heap checks to ensure no new memory leaks are introduced. Tested on the following OS's: Windows 2012, Windows 2012r2, Windows 2016 Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Paul Boca <pboca@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* appveyor: Update OpenSSL versionAlin Serdean2016-10-041-3/+3
| | | | | | | | | OpenSSL version changed from 1.0.2h to 1.0.2j. This patch bumps the version for the appveyor config. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* appveyor: Update OpenSSL versionAlin Serdean2016-05-171-3/+3
| | | | | | | | | OpenSSL version changed from 1.0.2g to 1.0.2h this patch bumps the version. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* build windows: Update OpenSSL download linkAlin Serdean2016-03-231-3/+3
| | | | | | | This patch updates the appveyor dowload link for OpenSSL prebuilt binaries. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* build windows: Update OpenSSL download linkAlin Serdean2016-02-121-3/+3
| | | | | | | This patch updates the appveyor dowload link for OpenSSL prebuilt binaries. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* appveyor.yml: Install python "six" module.Ben Pfaff2016-01-201-0/+2
| | | | | | | | | | | | | | | It is now required for the build. Thanks to Alin Gabriel Serdean for helping figure out the correct solution here. This adds --diable-pip-version-check because upgrading pip (as suggested by the error that this option suppresses) causes pip to fail, which is in turn a bug in pip that manifests only on Windows: https://github.com/pypa/pip/issues/3383. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
* Update appveyor OpenSSL linkAlin Serdean2016-01-041-3/+3
| | | | | | | | The link of OpenSSL 1_0_2d is no longer available update it to the current version. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
* appveyor: Renew SSL link.Alin Serdean2015-08-281-3/+3
| | | | | | | 1_0_2a version not available for download. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* This commit adds the windows installer to the OVS tree.Alin Gabriel Serdean2015-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requirements are the following: Visual Studio Community 2013 WiX Toolset 3.9 Microsoft_VC120_CRT_x86.msm More detailed information on the requirements and build instructions can be found under: https://github.com/cloudbase/ovs-windows-installer/blob/master/README.rst To run and make the installer issue the following: ./boot.sh ./configure CC=./build-aux/cccl LD="`which link`" \ LIBS="-lws2_32 -liphlpapi" --prefix="C:/openvswitch/usr" \ --localstatedir="C:/openvswitch/var" --sysconfdir="C:/openvswitch/etc" \ --with-pthread="C:/pthread" --with-vstudiotarget="Release" make clean && make -j16 windows_installer To uninstall one could use the following Powershell commandlets: $app = Get-WmiObject -Class Win32_Product | Where-Object ` { $_.Name -match "Open Vswitch" } $app.Uninstall() Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Co-authored-by: Alessandro Pilotti <apilotti@cloudbasesolutions.com> Signed-off-by: Alessandro Pilotti <apilotti@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* appveyor: Add a newer ssl link.Gurucharan Shetty2015-06-051-3/+3
| | | | | | | The older version is no longer available for download. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Alin Serdean <aserdean@cloudbasesolutions.com>
* Link library updates for appveyorAlin Serdean2015-06-051-1/+1
| | | | | | | Add the library iphlpapi to the appveyor.yml build script. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* appveyor: Build windows kernel datapath.Gurucharan Shetty2015-02-061-1/+1
| | | | | Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Nithin Raju <nithin@vmware.com>
* appveyor: Provide a autobuild service for Windows.Gurucharan Shetty2015-02-051-0/+43
The appveyor.yml file added through this commit lets AppVeyor auto build service to run a build of OVS on Windows platform. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>