From patchwork Sun Feb 5 08:44:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nithin Raju X-Patchwork-Id: 724201 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vGPL812dHz9s4s for ; Sun, 5 Feb 2017 19:44:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=onevmw.onmicrosoft.com header.i=@onevmw.onmicrosoft.com header.b="BtAgCED1"; dkim-atps=neutral Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id EFBCEA48; Sun, 5 Feb 2017 08:44:44 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id A31728D7 for ; Sun, 5 Feb 2017 08:44:43 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0057.outbound.protection.outlook.com [104.47.37.57]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 48D21FF for ; Sun, 5 Feb 2017 08:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gTXMOrfjDlWuUTglecUmN1UPv39WnDZSHqP4qQ59Miw=; b=BtAgCED1Xn9UHLHq5m/96/UzKShiH6IV69WocxdQXUHLqPS857Yq0SUR+edf6NmAYvVZqxhd5SKxbE60qTYeUSLZGjp0M74MznzxLgFaH0scBvA/bxSGjlQuje1ATyXiAJydKT9hAbsTP9lJShAz5V/vQ/o/VI05Y4evx92UMMA= Received: from DM2PR0501MB1020.namprd05.prod.outlook.com (10.160.25.12) by DM2PR0501MB1017.namprd05.prod.outlook.com (10.160.24.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Sun, 5 Feb 2017 08:44:40 +0000 Received: from DM2PR0501MB1020.namprd05.prod.outlook.com ([10.160.25.12]) by DM2PR0501MB1020.namprd05.prod.outlook.com ([10.160.25.12]) with mapi id 15.01.0888.022; Sun, 5 Feb 2017 08:44:40 +0000 From: Nithin Raju To: Alin Serdean Thread-Topic: [ovs-dev] [PATCH 1/4] doc-windows: Remove obsolete documentation Thread-Index: AQHSfr+mS0BPjEm23EqIkCduhVUFCKFaGqsA Date: Sun, 5 Feb 2017 08:44:40 +0000 Message-ID: <8128BB2A-D307-46C9-AB45-853A8D1D9B3F@vmware.com> References: <20170204082101.17928-1-aserdean@cloudbasesolutions.com> In-Reply-To: <20170204082101.17928-1-aserdean@cloudbasesolutions.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nithin@vmware.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [69.181.255.233] x-ms-office365-filtering-correlation-id: 6af90f47-f1cc-4a94-3e24-08d44da33945 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0501MB1017; x-microsoft-exchange-diagnostics: 1; DM2PR0501MB1017; 7:eHifiN3JXGZw5c6Rtw2S99ftyM4QUnsQkhw6w8wSyJJHemhTxLDLjTIaKghkMvcT0qX33lHWiUk8P/+mIbdGusAHW5l5+OMgLnz46naefGFuXiPvvQftYvl74r8H3D8l5VFKPFdQmpJHPymgq8RIAXwUnlg5mo9PPD1lDhzfQCez40PtiBvlLeY9j1J3eCeiWasLLVqg+PcFbNx1bxjbAIKoueEvI/wpbEERyfgqIfLl0i8S2E66fARjFSp/Xs7yLCJyqsaGu9wBlhqnqz6OniF0lsGHfJbbWvzRqvo/R24mvt+bloxP1iGdG4PSwBLEdTGArLoVbGesqZih2t7Am4m1PP+uF/AOh65gvBy2GdGvnSYyC49bWuOsfyfHDcLq7POUhAg1U/BuTxO764sJBeLvndYiFqnkGmSlN5Osz9O/zD9XEJHRL2eYHcakNZvv3VeqRrMdQfcJaQooh56CdZ3SgTw/TrAj0y+uIQ9xONTHh/qCtbiyz8ClkaPnDN5prT3amYPGudWnGyQIblHQ1g==; 20:EUAYDyfFYGpdh1WNnXmRQlbzHaoNuRYdUTE44kKa/7CERDxkePHFEel5opvHKzdviczbxnAx74gm7xBP2f0UiFTAJbZTxx3Xcxo2wueLkUf4aiQkQw+Fo7kvVZ3QY5pcoj4hl/4seA9M5u6Qlq/KzOUcdkeZOpPBlsJn1jExb4Y= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(10436049006162)(216315784871565); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(20170203043)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558025)(20161123562025)(6072148); SRVR:DM2PR0501MB1017; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0501MB1017; x-forefront-prvs: 0209425D0A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(39450400003)(24454002)(189002)(377454003)(199003)(229853002)(236005)(8936002)(66066001)(6306002)(54896002)(83716003)(81156014)(81166006)(31430400001)(6512007)(8676002)(86362001)(122556002)(99286003)(110136003)(25786008)(6246003)(5660300001)(82746002)(6916009)(2950100002)(68736007)(105586002)(3846002)(106356001)(50986999)(92566002)(4326007)(2900100001)(106116001)(76176999)(2906002)(54356999)(3660700001)(102836003)(6116002)(36756003)(97736004)(7736002)(38730400001)(77096006)(6486002)(101416001)(53936002)(189998001)(3280700002)(33656002)(6506006)(6436002)(104396002)(414714003)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0501MB1017; H:DM2PR0501MB1020.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2017 08:44:40.0678 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0501MB1017 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Content-Filtered-By: Mailman/MimeDel 2.1.12 Cc: "dev@openvswitch.org" Subject: Re: [ovs-dev] [PATCH 1/4] doc-windows: Remove obsolete documentation X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Alin, My suggestion would be to hold off on finalizing the documentation until we squash all the pending bugs. Looks like we are getting there. Thanks, -- Nithin On Feb 4, 2017, at 12:21 AM, Alin Serdean > wrote: Hard dependancy on default internal port (AllowManagementOS) has been removed. Software checksums are part of the windows datapath. Disconnecting/Connecting the VIF is no longer required. Unit tests are enabled and passing for some time now... The option to create a MSI has been added. Signed-off-by: Alin Gabriel Serdean > --- Documentation/intro/install/windows.rst | 50 +++++++++------------------------ 1 file changed, 13 insertions(+), 37 deletions(-) You may have to restart the machine for the settings to take effect. In the Virtual Switch Manager configuration you can enable the Open vSwitch -Extension on an existing switch or create a new switch. If you are using an -existing switch, make sure to enable the "Allow Management OS" option for VXLAN -to work (covered later). +Extension on an existing switch or create a new switch. The command to create a new switch named 'OVS-Extended-Switch' using a physical NIC named 'Ethernet 1' is: .. code-block:: ps1con - PS > New-VMSwitch "OVS-Extended-Switch" -NetAdapterName "Ethernet 1" + PS > New-VMSwitch "OVS-Extended-Switch" -NetAdapterName "Ethernet 1" ` + -AllowManagementOS $false .. note:: @@ -517,22 +501,17 @@ assign a 'OVS port name' which is a unique name across all VIFs on this Hyper-V. The next step is to add the VIF to the ovsdb using its 'OVS port name' as key. -First, assign a unique 'OVS port name' to the VIF. The VIF needs to have been -disconnected from the Hyper-V switch before assigning a 'OVS port name' to it. -In the example below, we assign a 'OVS port name' called ``ovs-port-a`` to a -VIF on a VM ``VM1``. By using index 0 for ``$vnic``, the first VIF of the VM -is being addressed. After assigning the name ``ovs-port-a``, the VIF is -connected back to the Hyper-V switch with name ``OVS-HV-Switch``, which is -assumed to be the Hyper-V switch with OVS extension enabled.: +First, assign a unique 'OVS port name' to the VIF. In the example below, we +assign a 'OVS port name' called ``ovs-port-a`` to a VIF on a VM ``VM1``. By +using index 0 for ``$vnic``, the first VIF of the VM is being addressed. We +assume that OVS extension is enabled on the Hyper-V vSwitch to which the VIF is +connected: .. code-block:: ps1con PS > import-module .\datapath-windows\misc\OVS.psm1 PS > $vnic = Get-VMNetworkAdapter - PS > Disconnect-VMNetworkAdapter -VMNetworkAdapter $vnic[0] PS > $vnic[0] | Set-VMNetworkAdapterOVSPort -OVSPortName ovs-port-a - PS > Connect-VMNetworkAdapter -VMNetworkAdapter $vnic[0] \ - -SwitchName OVS-Extended-Switch Next, add the VIFs to ``br-int``: @@ -556,8 +535,6 @@ Dumping the ports should show the additional ports that were just added: ovs-vsctl show 4cd86499-74df-48bd-a64d-8d115b12a9f2 Bridge br-pif - Port "vEthernet (external)" - Interface "vEthernet (external)" Port "Ethernet0" Interface "Ethernet0" Port br-pif @@ -677,9 +654,9 @@ Re-Add the VIF ports with the VLAN tag: Add tunnels ~~~~~~~~~~~ -The Windows Open vSwitch implementation support VXLAN and STT tunnels. To add -tunnels. For example, first add the tunnel port between 172.168.201.101 <-> -172.168.201.102: +Let us add tunnels between two endpoints. +For example, first add the tunnel port between +172.168.201.101 <-> 172.168.201.102: .. code-block:: doscon @@ -791,9 +768,8 @@ his development repository in github and triggering a new build. TODO ---- -* Investigate the working of sFlow on Windows and re-enable the unit tests. +* Investigate the working of sFlow on Windows. * Investigate and add the feature to provide QoS. -* Sign the driver & create an MSI for installing the different OpenvSwitch - components on Windows. +* Sign the driver -- 2.10.2.windows.1 diff --git a/Documentation/intro/install/windows.rst b/Documentation/intro/install/windows.rst index caa9f40..1e7707f 100644 --- a/Documentation/intro/install/windows.rst +++ b/Documentation/intro/install/windows.rst @@ -117,21 +117,6 @@ The following explains the steps in some detail. under Bash. The remainder, prefixed by ``>``, are PowerShell commands and must be run in PowerShell. -Install Requirements --------------------- - -* Share network adaptors - - We require that you don't disable the "Allow management operating system to - share this network adapter" under 'Virtual Switch Properties' > 'Connection - type: External network', in the HyperV virtual network switch configuration. - -* Checksum Offloads - - While there is some support for checksum/segmentation offloads in software, - this is still a work in progress. Till the support is complete we recommend - disabling TX/RX offloads for both the VM's as well as the HyperV. - Bootstrapping ------------- @@ -287,16 +272,15 @@ Enforcement' during boot. The following commands can be used: