From 0f8220d5d96cc0a45be00e937c73ab938133e587 Mon Sep 17 00:00:00 2001 From: Nikolas Hermanns Date: Wed, 29 Mar 2017 12:46:53 +0200 Subject: Changing to new docs structure Change-Id: I4c15e1635981b2b5fe5473be89b5abab78bfabd5 Signed-off-by: Nikolas Hermanns --- docs/development/design/index.rst | 11 + docs/development/overview/index.rst | 11 + docs/development/requirements/index.rst | 11 + docs/release-notes/index.rst | 14 - docs/release-notes/release-notes.rst | 162 ----------- docs/release/configguide/index.rst | 11 + docs/release/installation/index.rst | 11 + docs/release/release-notes/index.rst | 14 + docs/release/release-notes/release-notes.rst | 162 +++++++++++ docs/release/scenarios/os-odl_l2-bgpvpn/index.rst | 18 ++ .../os-odl_l2-bgpvpn/scenario.description.rst | 97 +++++++ docs/release/userguide/feature.userguide.rst | 303 +++++++++++++++++++++ docs/release/userguide/index.rst | 23 ++ docs/scenarios/os-odl_l2-bgpvpn/index.rst | 18 -- .../os-odl_l2-bgpvpn/scenario.description.rst | 97 ------- docs/testing/developer/index.rst | 11 + docs/testing/user/index.rst | 11 + docs/userguide/feature.userguide.rst | 303 --------------------- docs/userguide/index.rst | 23 -- 19 files changed, 694 insertions(+), 617 deletions(-) create mode 100644 docs/development/design/index.rst create mode 100644 docs/development/overview/index.rst create mode 100644 docs/development/requirements/index.rst delete mode 100644 docs/release-notes/index.rst delete mode 100644 docs/release-notes/release-notes.rst create mode 100644 docs/release/configguide/index.rst create mode 100644 docs/release/installation/index.rst create mode 100644 docs/release/release-notes/index.rst create mode 100644 docs/release/release-notes/release-notes.rst create mode 100644 docs/release/scenarios/os-odl_l2-bgpvpn/index.rst create mode 100644 docs/release/scenarios/os-odl_l2-bgpvpn/scenario.description.rst create mode 100644 docs/release/userguide/feature.userguide.rst create mode 100644 docs/release/userguide/index.rst delete mode 100644 docs/scenarios/os-odl_l2-bgpvpn/index.rst delete mode 100644 docs/scenarios/os-odl_l2-bgpvpn/scenario.description.rst create mode 100644 docs/testing/developer/index.rst create mode 100644 docs/testing/user/index.rst delete mode 100644 docs/userguide/feature.userguide.rst delete mode 100644 docs/userguide/index.rst diff --git a/docs/development/design/index.rst b/docs/development/design/index.rst new file mode 100644 index 0000000..44e0058 --- /dev/null +++ b/docs/development/design/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../../release/userguide/feature.userguide.rst + + diff --git a/docs/development/overview/index.rst b/docs/development/overview/index.rst new file mode 100644 index 0000000..44e0058 --- /dev/null +++ b/docs/development/overview/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../../release/userguide/feature.userguide.rst + + diff --git a/docs/development/requirements/index.rst b/docs/development/requirements/index.rst new file mode 100644 index 0000000..44e0058 --- /dev/null +++ b/docs/development/requirements/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../../release/userguide/feature.userguide.rst + + diff --git a/docs/release-notes/index.rst b/docs/release-notes/index.rst deleted file mode 100644 index 4f7261d..0000000 --- a/docs/release-notes/index.rst +++ /dev/null @@ -1,14 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) Nikolas Hermanns, (nikolas.hermanns@ericsson.com) and others - -================== -SDN VPN release notes -================== - -.. toctree:: - :maxdepth: 3 - - ./release-notes.rst - - diff --git a/docs/release-notes/release-notes.rst b/docs/release-notes/release-notes.rst deleted file mode 100644 index fe0fbbe..0000000 --- a/docs/release-notes/release-notes.rst +++ /dev/null @@ -1,162 +0,0 @@ -========================================================================== -OPNFV Release Note for the Danube.1.0 release of OPNFV for SDN VPN feature -========================================================================== - -License -======= - -This work is licensed under a Creative Commons Attribution 4.0 International -License. .. http://creativecommons.org/licenses/by/4.0 .. -(c) Tim Irnich (Ericsson) and others - -Abstract -======== - -This document comprises the release notes for the SDN VPN feature contained in the Danube -release of OPNFV. - -Important notes -=============== - -In the Danube release, SDN VPN only supports ODL as a backend. Make sure to always deploy -SDN VPN and ODL together. Make use of deployment scenarios including the SDNVPN feature. - -Summary -======= - -SDN VPN adds the possibility to create and associate BGP/MPLS based Virtual Private Networks (VPNs) -through the OpenStack Neutron BGPVPN API extension. - -Release Data -============ - -+--------------------------------------+-------------------------------------------+ -| **Project** | sdnvpn | -| | | -+--------------------------------------+-------------------------------------------+ -| **Repo/tag** | Danube.1.0 | -| | | -+--------------------------------------+-------------------------------------------+ -| **Release designation** | Danube 1.0 follow-up release | -| | | -+--------------------------------------+-------------------------------------------+ -| **Release date** | March 23 2016 | -| | | -+--------------------------------------+-------------------------------------------+ -| **Purpose of the delivery** | Including BGP stack - 6WIND Zrpcd/Quagga | -| | Fuel 10.0 baseline + bug fixes | -| | Deployment with Apex | -| | Integration with Boron SR2.0 and bugfixes | -| | 4 new e2e testcases for Functest | -| | Horizon integration for networking-bgpvpn | -| | | -+--------------------------------------+-------------------------------------------+ - -Version change --------------- - -Compared to the Colorado release, a new version of ODL including -several critical bugfixes is deployed. Together with the new BGP -stack, integration with Apex, the Horizon dashboards and bugfixes the -user has even more features available. New testcases were added to -functest to guarantee functionality. - -Module version changes -~~~~~~~~~~~~~~~~~~~~~~ -ODL has been upgraded to Boron SR2. - -Document changes -~~~~~~~~~~~~~~~~ - -Reason for version ------------------- - -Feature additions -~~~~~~~~~~~~~~~~~ - -SDN VPN adds the possibility to create and associate BGP/MPLS based -Virtual Private Networks (VPNs) through the OpenStack Neutron BGPVPN -API extension. - -A new installer based on Apex is provided. - -The Horizon dashboard for the OpenStack Neutron BGPVPN API extensions -is available. - -Bug corrections -~~~~~~~~~~~~~~~ - -- Several bugs in ODL VPN Service have been fixed in this release. - -- Floating IP is now working and tested in functest, relevant Tempest - tests have been enabled. - -- Performance issues have been rectified and the relevant tests have - been enabled again. - -- Yardstick testcases have been enabled again. - -Deliverables ------------- - -Software deliverables -~~~~~~~~~~~~~~~~~~~~~ - -- Fuel plugin for OpenStack BGPVPN -- Changes to ODL Fuel plugin to activate the NetVirt Karaf features - and to apply the appropriate configuration. Also changes to - implement integration with 6Wind Zrpcd and Quagga. -- Changes to Apex to enable a BGPVPN deployment. -- Integration of VPN Service functional tests and BGPVPN API tests into Functest framework. -- Enabling performance tests in Yardstick. -- Changes to 6Wind Zrpcd to enable integration with Apex. - -Documentation deliverables -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- Paragraph on SDN VPN feature for platform overview - -- Configuration guide - -- User guide - -- Release notes (this document) - -Known Limitations, Issues and Workarounds -========================================= - -System Limitations ------------------- - -Known issues ------------- - -Moving to the new NetVirt has caused a regression in which a subnet -cannot be both attached to a Router and Network associated to a VPN. -This has been worked around in the tests and the upstream bug is being -tracked [0]. - -OpenStack NAT does not work. Instances created in subnets that are connected to -the public network via a gateway should have external connectivity. This does -not work and can be worked around by assigning a Floating IP to the instance [1]. - -Workarounds ------------ - -The router/network association mutual exclusivity is worked around -by not network associating subnets attached to routers. - -The NAT issues are worked around by assigning floating IPs to VMs that require -external connectivity. - -Test results -============ - -The deployment scenarios have successfully deployed in OPNFV CI many -times and all Functest tests (general and feature specific) are -passing. - -References -========== -[0] https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-94 -[1] https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-99 diff --git a/docs/release/configguide/index.rst b/docs/release/configguide/index.rst new file mode 100644 index 0000000..9fe2e30 --- /dev/null +++ b/docs/release/configguide/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../userguide/feature.userguide.rst + + diff --git a/docs/release/installation/index.rst b/docs/release/installation/index.rst new file mode 100644 index 0000000..9fe2e30 --- /dev/null +++ b/docs/release/installation/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../userguide/feature.userguide.rst + + diff --git a/docs/release/release-notes/index.rst b/docs/release/release-notes/index.rst new file mode 100644 index 0000000..4f7261d --- /dev/null +++ b/docs/release/release-notes/index.rst @@ -0,0 +1,14 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Nikolas Hermanns, (nikolas.hermanns@ericsson.com) and others + +================== +SDN VPN release notes +================== + +.. toctree:: + :maxdepth: 3 + + ./release-notes.rst + + diff --git a/docs/release/release-notes/release-notes.rst b/docs/release/release-notes/release-notes.rst new file mode 100644 index 0000000..fe0fbbe --- /dev/null +++ b/docs/release/release-notes/release-notes.rst @@ -0,0 +1,162 @@ +========================================================================== +OPNFV Release Note for the Danube.1.0 release of OPNFV for SDN VPN feature +========================================================================== + +License +======= + +This work is licensed under a Creative Commons Attribution 4.0 International +License. .. http://creativecommons.org/licenses/by/4.0 .. +(c) Tim Irnich (Ericsson) and others + +Abstract +======== + +This document comprises the release notes for the SDN VPN feature contained in the Danube +release of OPNFV. + +Important notes +=============== + +In the Danube release, SDN VPN only supports ODL as a backend. Make sure to always deploy +SDN VPN and ODL together. Make use of deployment scenarios including the SDNVPN feature. + +Summary +======= + +SDN VPN adds the possibility to create and associate BGP/MPLS based Virtual Private Networks (VPNs) +through the OpenStack Neutron BGPVPN API extension. + +Release Data +============ + ++--------------------------------------+-------------------------------------------+ +| **Project** | sdnvpn | +| | | ++--------------------------------------+-------------------------------------------+ +| **Repo/tag** | Danube.1.0 | +| | | ++--------------------------------------+-------------------------------------------+ +| **Release designation** | Danube 1.0 follow-up release | +| | | ++--------------------------------------+-------------------------------------------+ +| **Release date** | March 23 2016 | +| | | ++--------------------------------------+-------------------------------------------+ +| **Purpose of the delivery** | Including BGP stack - 6WIND Zrpcd/Quagga | +| | Fuel 10.0 baseline + bug fixes | +| | Deployment with Apex | +| | Integration with Boron SR2.0 and bugfixes | +| | 4 new e2e testcases for Functest | +| | Horizon integration for networking-bgpvpn | +| | | ++--------------------------------------+-------------------------------------------+ + +Version change +-------------- + +Compared to the Colorado release, a new version of ODL including +several critical bugfixes is deployed. Together with the new BGP +stack, integration with Apex, the Horizon dashboards and bugfixes the +user has even more features available. New testcases were added to +functest to guarantee functionality. + +Module version changes +~~~~~~~~~~~~~~~~~~~~~~ +ODL has been upgraded to Boron SR2. + +Document changes +~~~~~~~~~~~~~~~~ + +Reason for version +------------------ + +Feature additions +~~~~~~~~~~~~~~~~~ + +SDN VPN adds the possibility to create and associate BGP/MPLS based +Virtual Private Networks (VPNs) through the OpenStack Neutron BGPVPN +API extension. + +A new installer based on Apex is provided. + +The Horizon dashboard for the OpenStack Neutron BGPVPN API extensions +is available. + +Bug corrections +~~~~~~~~~~~~~~~ + +- Several bugs in ODL VPN Service have been fixed in this release. + +- Floating IP is now working and tested in functest, relevant Tempest + tests have been enabled. + +- Performance issues have been rectified and the relevant tests have + been enabled again. + +- Yardstick testcases have been enabled again. + +Deliverables +------------ + +Software deliverables +~~~~~~~~~~~~~~~~~~~~~ + +- Fuel plugin for OpenStack BGPVPN +- Changes to ODL Fuel plugin to activate the NetVirt Karaf features + and to apply the appropriate configuration. Also changes to + implement integration with 6Wind Zrpcd and Quagga. +- Changes to Apex to enable a BGPVPN deployment. +- Integration of VPN Service functional tests and BGPVPN API tests into Functest framework. +- Enabling performance tests in Yardstick. +- Changes to 6Wind Zrpcd to enable integration with Apex. + +Documentation deliverables +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Paragraph on SDN VPN feature for platform overview + +- Configuration guide + +- User guide + +- Release notes (this document) + +Known Limitations, Issues and Workarounds +========================================= + +System Limitations +------------------ + +Known issues +------------ + +Moving to the new NetVirt has caused a regression in which a subnet +cannot be both attached to a Router and Network associated to a VPN. +This has been worked around in the tests and the upstream bug is being +tracked [0]. + +OpenStack NAT does not work. Instances created in subnets that are connected to +the public network via a gateway should have external connectivity. This does +not work and can be worked around by assigning a Floating IP to the instance [1]. + +Workarounds +----------- + +The router/network association mutual exclusivity is worked around +by not network associating subnets attached to routers. + +The NAT issues are worked around by assigning floating IPs to VMs that require +external connectivity. + +Test results +============ + +The deployment scenarios have successfully deployed in OPNFV CI many +times and all Functest tests (general and feature specific) are +passing. + +References +========== +[0] https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-94 +[1] https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-99 diff --git a/docs/release/scenarios/os-odl_l2-bgpvpn/index.rst b/docs/release/scenarios/os-odl_l2-bgpvpn/index.rst new file mode 100644 index 0000000..2389706 --- /dev/null +++ b/docs/release/scenarios/os-odl_l2-bgpvpn/index.rst @@ -0,0 +1,18 @@ +.. _sdnvpn-os-odl_l2-bgpvpn: + +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich and others + +========================================= +os-odl_l2-bgpvpn overview and description +========================================= +.. This document will be used to provide a description of the scenario for an end user. +.. You should explain the purpose of the scenario, the types of capabilities provided and +.. the unique components that make up the scenario including how they are used. + +.. toctree:: + :maxdepth: 3 + + ./scenario.description.rst + diff --git a/docs/release/scenarios/os-odl_l2-bgpvpn/scenario.description.rst b/docs/release/scenarios/os-odl_l2-bgpvpn/scenario.description.rst new file mode 100644 index 0000000..e552bcf --- /dev/null +++ b/docs/release/scenarios/os-odl_l2-bgpvpn/scenario.description.rst @@ -0,0 +1,97 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich (tim.irnich@ericsson.com) and Nikolas Hermanns (nikolas.hermanns@ericsson.com) + +Introduction +============ +.. In this section explain the purpose of the scenario and the types of capabilities provided + +Many Telecom network functions are relying on layer-3 infrastructure services, within a VNF +between components, or towards existing external networks. In many cases, these external +networks are implemented in MPLS/BGP technology in existing service provider wide-area-networks (WAN). +This proven technology provides a good mechanism for inter-operation of a NFV Infrastructure (NFVI) +and wide-area networks (WAN) and is the main capability provided by the OPNFV SDNVPN project. + +.. should we explain here what a deployment scenario is? +The OPNFV SDNVPN feature is made available through additional OPNFV deployment scenarios, which are derived +from the baseline scenarios os-odl_l2-nofeature and os-odl_l3-nofeature. This document +provides an outline of the os-odl_l2-bgpvpn scenarios including guidelines and references to +required installation, software and hardware configuration documents. + +Scenario components and composition +=================================== +.. In this section describe the unique components that make up the scenario, +.. what each component provides and why it has been included in order +.. to communicate to the user the capabilities available in this scenario. + +The SDN VPN feature enhances OPNFV's baseline OpenStack deployment with the +possibility to configure BGP based VPNs using the Neutron API extension and service plugin +provided by the OpenStack Neutron +Stadium project BGPVPN. The BGPVPN project consists of a Neutron API extension and a +service plugin which has a driver framework similar to the ML2 plugin. BGPVPN today +has a quite large number of backend drivers (Bagpipe, OpenContrail, +Nuage and OpenDaylight currently). In OPNFV, currently only the OpenDaylight driver +is supported. + +The BGPVPN ODL driver maps the BGPVPN API onto the OpenDaylight NetVirt service, which exposes the data +center overlay like a virtual router to which Neutron Networks and Routers (and in the future also Ports) +are connected. NetVirt has access to the state of the Neutron API through the OpenDaylight +Neutron Northbound Interface module, which has been enhanced to support the BGPVPN API extension. +It uses an internal mesh of VxLAN tunnels to interconnect the vSwitches on the data +center compute nodes. For the purpose of BGP based route exchange with other BGP speakers the ODL +controller makes use of Quagga BGP as an external BGP speaker. + + +Scenario usage overview +======================= +.. Provide a brief overview on how to use the scenario and the features available to the +.. user. This should be an "introduction" to the user guide document, and explicitly link to it, +.. where the specifics of the features are covered including examples and API's + + When would I use this scenario, what value does it provide? Refer to the user guide for details + of configuration etc... + +Configuring SDNVPN features +--------------------------- + +Each installer has specific procedures to deploy the OPNFV platform so that the SDNVPN feature is enabled. + +Fuel installer configuration +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +To install the SDNVPN feature using Fuel, follow the Fuel installation guide ensuring to select the SDNVPN +feature when prompted . + +This will trigger installation of the OpenStack BGPVPN API extension for +Neutron, set up for using the ODL driver, in addition to vanilla Neutron. +In addition, the required karaf features will be activated when ODL is installed and the compute nodes +will be configured including the VPN Service internal transport tunnel mesh. + +No post-deploy configuration is necessary. The Fuel BGPVPN plugin and the ODL plugin +should set up the cluster ready for BGPVPNs being created. + +APEX installer configuration +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +To install the SDNVPN feature using the APEX installer, follow the APEX installation guide and +activate the SDNVPN feature when prompted. + +Limitations, Issues and Workarounds +=================================== +.. Explain scenario limitations here, this should be at a design level rather than discussing +.. faults or bugs. If the system design only provide some expected functionality then provide +.. some insight at this point. + +Currently, in OPNFV only ODL is supported as a backend for BGPVPN. API calls are +mapped onto the ODL NetVirt REST API through the BGPVPN ODL driver and the +ODL Neutron Northbound module. + +No DPDK-enabled vhost user ports are supported. + +Integration with data center gateway will not work due to missing OVS patches for MPLSoGRE. + +References +========== + +For more information on the OPNFV Danube release, please visit +http://www.opnfv.org/danube diff --git a/docs/release/userguide/feature.userguide.rst b/docs/release/userguide/feature.userguide.rst new file mode 100644 index 0000000..4f16d3d --- /dev/null +++ b/docs/release/userguide/feature.userguide.rst @@ -0,0 +1,303 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, Nikolas Hermanns, Christopher Price and others + +Introduction +============ +.. Describe the specific features and how it is realised in the scenario in a brief manner +.. to ensure the user understand the context for the user guide instructions to follow. + +This document will provide an overview of how to work with the SDN VPN features in +OPNFV. + +SDN VPN feature description +=========================== +.. Describe the specific usage for feature. +.. Provide enough information that a user will be able to operate the feature on a deployed scenario. + +A high-level description of the scenarios is provided in this section. +For details of the scenarios and their provided capabilities refer to +the scenario description document: +http://artifacts.opnfv.org/danube/sdnpvn/scenarios/os-odl_l2-bgpvpn/index.html + +The BGPVPN feature enables creation of BGP VPNs on the Neutron API according to the OpenStack +BGPVPN blueprint at https://blueprints.launchpad.net/neutron/+spec/neutron-bgp-vpn. +In a nutshell, the blueprint defines a BGPVPN object and a number of ways +how to associate it with the existing Neutron object model, as well as a unique +definition of the related semantics. The BGPVPN framework supports a backend +driver model with currently available drivers for Bagpipe, OpenContrail, Nuage +and OpenDaylight. The OPNFV scenario makes use of the OpenDaylight driver and backend +implementation through the ODL NetVirt project. + +Hardware requirements +===================== + +The SDNVPN scenarios can be deployed as a bare-metal or a virtual environment on a single host. + +Bare metal deployment on Pharos Lab +----------------------------------- + +Hardware requirements for bare-metal deployments of the OPNFV infrastructure are specified +by the Pharos project. The Pharos project provides an OPNFV hardware specification for +configuring your hardware at: http://artifacts.opnfv.org/pharos/docs/pharos-spec.html. + +Virtual deployment hardware requirements +---------------------------------------- + +To perform a virtual deployment of an OPNFV scenario on a single host, that host has to +meet the hardware requirements outlined in the . + +When ODL is used as an SDN Controller in an OPNFV virtual deployment, ODL is +running on the OpenStack Controller VMs. It is therefore recommended to +increase the amount of resources for these VMs. + +Our recommendation is to have 2 additional virtual cores and 8GB additional virtual memory +on top of the normally recommended configuration. + +Together with the commonly used recommendation this sums up to: +:: + + 4 virtual cores + 16 GB virtual memory + +See in Installation section below how to configure this. + +Preparing the host to install Fuel by script +============================================ +.. Not all of these options are relevant for all scenarios. I advise following the +.. instructions applicable to the deploy tool used in the scenario. + +Before starting the installation of the os-odl_l2-bgpnvp scenario some preparation of the +machine that will host the Fuel VM must be done. + +Installation of required packages +--------------------------------- +To be able to run the installation of the basic OPNFV fuel installation the +Jumphost (or the host which serves the VMs for the virtual deployment) needs to +install the following packages: +:: + + sudo apt-get install -y git make curl libvirt-bin libpq-dev qemu-kvm \ + qemu-system tightvncserver virt-manager sshpass \ + fuseiso genisoimage blackbox xterm python-pip \ + python-git python-dev python-oslo.config \ + python-pip python-dev libffi-dev libxml2-dev \ + libxslt1-dev libffi-dev libxml2-dev libxslt1-dev \ + expect curl python-netaddr p7zip-full + + sudo pip install GitPython pyyaml netaddr paramiko lxml scp \ + python-novaclient python-neutronclient python-glanceclient \ + python-keystoneclient debtcollector netifaces enum + +Download the source code and artifact +------------------------------------- +To be able to install the scenario os-odl_l2-bgpvpn one can follow the way +CI is deploying the scenario. +First of all the opnfv-fuel repository needs to be cloned: +:: + + git clone ssh://@gerrit.opnfv.org:29418/fuel + +This command downloads the whole repository fuel. To checkout a specific +version of OPNFV, checkout the appropriate branch: +:: + + cd fuel + git checkout stable/ + +Now download the corresponding OPNFV Fuel ISO into an appropriate folder from +the website +:: + https://www.opnfv.org/software/downloads/release-archives + +Have in mind that the fuel repo version needs to map with the downloaded artifact. + +Simplified scenario deployment procedure using Fuel +=================================================== + +This section describes the installation of the os-odl_l2-bgpvpn-ha or +os-odl_l2-bgpvpn-noha OPNFV reference platform stack across a server cluster +or a single host as a virtual deployment. + +Scenario Preparation +-------------------- +dea.yaml and dha.yaml need to be copied and changed according to the lab-name/host +where you deploy. +Copy the full lab config from: +:: + + cp /deploy/config/labs/devel-pipeline/elx \ + /deploy/config/labs/devel-pipeline/ + +Add at the bottom of dha.yaml +:: + + disks: + fuel: 100G + controller: 100G + compute: 100G + + define_vms: + controller: + vcpu: + value: 4 + memory: + attribute_equlas: + unit: KiB + value: 16388608 + currentMemory: + attribute_equlas: + unit: KiB + value: 16388608 + + +Check if the default settings in dea.yaml are in line with your intentions +and make changes as required. + +Installation procedures +----------------------- + +We describe several alternative procedures in the following. +First, we describe several methods that are based on the deploy.sh script, +which is also used by the OPNFV CI system. +It can be found in the Fuel repository. + +In addition, the SDNVPN feature can also be configured manually in the Fuel GUI. +This is described in the last subsection. + +Before starting any of the following procedures, go to +:: + + cd /ci + +Full automatic virtual deployment High Availablity Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The following command will deploy the high-availability flavor of SDNVPN scenario os-odl_l2-bgpvpn-ha +in a fully automatic way, i.e. all installation steps (Fuel server installation, configuration, +node discovery and platform deployment) will take place without any further prompt for user input. +:: + + sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-ha -i file:// + +Full automatic virtual deployment NO High Availability Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The following command will deploy the SDNVPN scenario in its non-high-availability flavor (note the +different scenario name for the -s switch). Otherwise it does the same as described above. +:: + + sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-noha -i file:// + +Automatic Fuel installation and manual scenario deployment +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +A useful alternative to the full automatic procedure is to only autodeploy the Fuel host and to run host selection, role assignment and SDNVPN scenario configuration manually. +:: + + sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-ha -i file:// -e + +With -e option the installer does not launch environment deployment, so +a user can do some modification before the scenario is really deployed. +Another interesting option is the -f option which deploys the scenario using an existing Fuel host. + +The result of this installation is a fuel sever with the right config for +BGPVPN. Now the deploy button on fuel dashboard can be used to deploy the environment. +It is as well possible to do the configuration manuell. + +Feature configuration on existing Fuel +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +If a Fuel server is already provided but the fuel plugins for Opendaylight, Openvswitch +and BGPVPN are not provided install them by: +:: + + cd /opt/opnfv/ + fuel plugins --install fuel-plugin-ovs-*.noarch.rpm + fuel plugins --install opendaylight-*.noarch.rpm + fuel plugins --install bgpvpn-*.noarch.rpm + +If plugins are installed and you want to update them use --force flag. + +Now the feature can be configured. Create a new environment with "Neutron with ML2 plugin" and +in there "Neutron with tunneling segmentation". +Go to Networks/Settings/Other and check "Assign public network to all nodes". This is required for +features such as floating IP, which require the Compute hosts to have public interfaces. +Then go to settings/other and check "OpenDaylight plugin", "Use ODL to manage L3 traffic", +"BGPVPN plugin" and set the OpenDaylight package version to "5.2.0-1". Then you should +be able to check "BGPVPN extensions" in OpenDaylight plugin section. + +Now the deploy button on fuel dashboard can be used to deploy the environment. + +Feature and API usage guidelines and example +============================================ +.. Describe with examples how to use specific features, provide API examples and details required to +.. operate the feature on the platform. + +For the details of using OpenStack BGPVPN API, please refer to the documentation +at http://docs.openstack.org/developer/networking-bgpvpn/. + +Example +------- +In the example we will show a BGPVPN associated to 2 neutron networks. The BGPVPN +will have the import and export routes in the way that it imports its own Route. The outcome will be that vms sitting on these two networks will be able to have a full L3 +connectivity. + +Some defines: +:: + + net_1="Network1" + net_2="Network2" + subnet_net1="10.10.10.0/24" + subnet_net2="10.10.11.0/24" + +Create neutron networks and save network IDs: +:: + + neutron net-create --provider:network_type=local $net_1 + export net_1_id=`echo "$rv" | grep " id " |awk '{print $4}'` + neutron net-create --provider:network_type=local $net_2 + export net_2_id=`echo "$rv" | grep " id " |awk '{print $4}'` + +Create neutron subnets: +:: + + neutron subnet-create $net_1 --disable-dhcp $subnet_net1 + neutron subnet-create $net_2 --disable-dhcp $subnet_net2 + +Create BGPVPN: +:: + + neutron bgpvpn-create --route-distinguishers 100:100 --route-targets 100:2530 --name L3_VPN + +Start VMs on both networks: +:: + + nova boot --flavor 1 --image --nic net-id=$net_1_id vm1 + nova boot --flavor 1 --image --nic net-id=$net_2_id vm2 + +The VMs should not be able to see each other. + +Associate to Neutron networks: +:: + + neutron bgpvpn-net-assoc-create L3_VPN --network $net_1_id + neutron bgpvpn-net-assoc-create L3_VPN --network $net_2_id + +Now the VMs should be able to ping each other + +Troubleshooting +=============== +Check neutron logs on the controller: +:: + + tail -f /var/log/neutron/server.log |grep -E "ERROR|TRACE" + +Check Opendaylight logs: +:: + + tail -f /opt/opendaylight/data/logs/karaf.log + +Restart Opendaylight: +:: + + service opendaylight restart diff --git a/docs/release/userguide/index.rst b/docs/release/userguide/index.rst new file mode 100644 index 0000000..0eab38c --- /dev/null +++ b/docs/release/userguide/index.rst @@ -0,0 +1,23 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +================== +SDN VPN user guide +================== + +.. The feature user guide should provide an OPNFV user with enough information to +.. use the features provided by the feature project in the supported scenarios. +.. This guide should walk a user through the usage of the features once a scenario +.. has been deployed and is active according to the installation guide provided +.. by the installer project. + +.. toctree:: + :maxdepth: 3 + + ./feature.userguide.rst + +.. The feature.userguide.rst file should contain the text for this document +.. additional documents can be added to this directory and added in the right order +.. to this file as a list below. + diff --git a/docs/scenarios/os-odl_l2-bgpvpn/index.rst b/docs/scenarios/os-odl_l2-bgpvpn/index.rst deleted file mode 100644 index 2389706..0000000 --- a/docs/scenarios/os-odl_l2-bgpvpn/index.rst +++ /dev/null @@ -1,18 +0,0 @@ -.. _sdnvpn-os-odl_l2-bgpvpn: - -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) Tim Irnich and others - -========================================= -os-odl_l2-bgpvpn overview and description -========================================= -.. This document will be used to provide a description of the scenario for an end user. -.. You should explain the purpose of the scenario, the types of capabilities provided and -.. the unique components that make up the scenario including how they are used. - -.. toctree:: - :maxdepth: 3 - - ./scenario.description.rst - diff --git a/docs/scenarios/os-odl_l2-bgpvpn/scenario.description.rst b/docs/scenarios/os-odl_l2-bgpvpn/scenario.description.rst deleted file mode 100644 index e552bcf..0000000 --- a/docs/scenarios/os-odl_l2-bgpvpn/scenario.description.rst +++ /dev/null @@ -1,97 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) Tim Irnich (tim.irnich@ericsson.com) and Nikolas Hermanns (nikolas.hermanns@ericsson.com) - -Introduction -============ -.. In this section explain the purpose of the scenario and the types of capabilities provided - -Many Telecom network functions are relying on layer-3 infrastructure services, within a VNF -between components, or towards existing external networks. In many cases, these external -networks are implemented in MPLS/BGP technology in existing service provider wide-area-networks (WAN). -This proven technology provides a good mechanism for inter-operation of a NFV Infrastructure (NFVI) -and wide-area networks (WAN) and is the main capability provided by the OPNFV SDNVPN project. - -.. should we explain here what a deployment scenario is? -The OPNFV SDNVPN feature is made available through additional OPNFV deployment scenarios, which are derived -from the baseline scenarios os-odl_l2-nofeature and os-odl_l3-nofeature. This document -provides an outline of the os-odl_l2-bgpvpn scenarios including guidelines and references to -required installation, software and hardware configuration documents. - -Scenario components and composition -=================================== -.. In this section describe the unique components that make up the scenario, -.. what each component provides and why it has been included in order -.. to communicate to the user the capabilities available in this scenario. - -The SDN VPN feature enhances OPNFV's baseline OpenStack deployment with the -possibility to configure BGP based VPNs using the Neutron API extension and service plugin -provided by the OpenStack Neutron -Stadium project BGPVPN. The BGPVPN project consists of a Neutron API extension and a -service plugin which has a driver framework similar to the ML2 plugin. BGPVPN today -has a quite large number of backend drivers (Bagpipe, OpenContrail, -Nuage and OpenDaylight currently). In OPNFV, currently only the OpenDaylight driver -is supported. - -The BGPVPN ODL driver maps the BGPVPN API onto the OpenDaylight NetVirt service, which exposes the data -center overlay like a virtual router to which Neutron Networks and Routers (and in the future also Ports) -are connected. NetVirt has access to the state of the Neutron API through the OpenDaylight -Neutron Northbound Interface module, which has been enhanced to support the BGPVPN API extension. -It uses an internal mesh of VxLAN tunnels to interconnect the vSwitches on the data -center compute nodes. For the purpose of BGP based route exchange with other BGP speakers the ODL -controller makes use of Quagga BGP as an external BGP speaker. - - -Scenario usage overview -======================= -.. Provide a brief overview on how to use the scenario and the features available to the -.. user. This should be an "introduction" to the user guide document, and explicitly link to it, -.. where the specifics of the features are covered including examples and API's - - When would I use this scenario, what value does it provide? Refer to the user guide for details - of configuration etc... - -Configuring SDNVPN features ---------------------------- - -Each installer has specific procedures to deploy the OPNFV platform so that the SDNVPN feature is enabled. - -Fuel installer configuration -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -To install the SDNVPN feature using Fuel, follow the Fuel installation guide ensuring to select the SDNVPN -feature when prompted . - -This will trigger installation of the OpenStack BGPVPN API extension for -Neutron, set up for using the ODL driver, in addition to vanilla Neutron. -In addition, the required karaf features will be activated when ODL is installed and the compute nodes -will be configured including the VPN Service internal transport tunnel mesh. - -No post-deploy configuration is necessary. The Fuel BGPVPN plugin and the ODL plugin -should set up the cluster ready for BGPVPNs being created. - -APEX installer configuration -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -To install the SDNVPN feature using the APEX installer, follow the APEX installation guide and -activate the SDNVPN feature when prompted. - -Limitations, Issues and Workarounds -=================================== -.. Explain scenario limitations here, this should be at a design level rather than discussing -.. faults or bugs. If the system design only provide some expected functionality then provide -.. some insight at this point. - -Currently, in OPNFV only ODL is supported as a backend for BGPVPN. API calls are -mapped onto the ODL NetVirt REST API through the BGPVPN ODL driver and the -ODL Neutron Northbound module. - -No DPDK-enabled vhost user ports are supported. - -Integration with data center gateway will not work due to missing OVS patches for MPLSoGRE. - -References -========== - -For more information on the OPNFV Danube release, please visit -http://www.opnfv.org/danube diff --git a/docs/testing/developer/index.rst b/docs/testing/developer/index.rst new file mode 100644 index 0000000..44e0058 --- /dev/null +++ b/docs/testing/developer/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../../release/userguide/feature.userguide.rst + + diff --git a/docs/testing/user/index.rst b/docs/testing/user/index.rst new file mode 100644 index 0000000..44e0058 --- /dev/null +++ b/docs/testing/user/index.rst @@ -0,0 +1,11 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others + +======= +SDN VPN +======= + +.. include:: ../../release/userguide/feature.userguide.rst + + diff --git a/docs/userguide/feature.userguide.rst b/docs/userguide/feature.userguide.rst deleted file mode 100644 index 4f16d3d..0000000 --- a/docs/userguide/feature.userguide.rst +++ /dev/null @@ -1,303 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) Tim Irnich, Nikolas Hermanns, Christopher Price and others - -Introduction -============ -.. Describe the specific features and how it is realised in the scenario in a brief manner -.. to ensure the user understand the context for the user guide instructions to follow. - -This document will provide an overview of how to work with the SDN VPN features in -OPNFV. - -SDN VPN feature description -=========================== -.. Describe the specific usage for feature. -.. Provide enough information that a user will be able to operate the feature on a deployed scenario. - -A high-level description of the scenarios is provided in this section. -For details of the scenarios and their provided capabilities refer to -the scenario description document: -http://artifacts.opnfv.org/danube/sdnpvn/scenarios/os-odl_l2-bgpvpn/index.html - -The BGPVPN feature enables creation of BGP VPNs on the Neutron API according to the OpenStack -BGPVPN blueprint at https://blueprints.launchpad.net/neutron/+spec/neutron-bgp-vpn. -In a nutshell, the blueprint defines a BGPVPN object and a number of ways -how to associate it with the existing Neutron object model, as well as a unique -definition of the related semantics. The BGPVPN framework supports a backend -driver model with currently available drivers for Bagpipe, OpenContrail, Nuage -and OpenDaylight. The OPNFV scenario makes use of the OpenDaylight driver and backend -implementation through the ODL NetVirt project. - -Hardware requirements -===================== - -The SDNVPN scenarios can be deployed as a bare-metal or a virtual environment on a single host. - -Bare metal deployment on Pharos Lab ------------------------------------ - -Hardware requirements for bare-metal deployments of the OPNFV infrastructure are specified -by the Pharos project. The Pharos project provides an OPNFV hardware specification for -configuring your hardware at: http://artifacts.opnfv.org/pharos/docs/pharos-spec.html. - -Virtual deployment hardware requirements ----------------------------------------- - -To perform a virtual deployment of an OPNFV scenario on a single host, that host has to -meet the hardware requirements outlined in the . - -When ODL is used as an SDN Controller in an OPNFV virtual deployment, ODL is -running on the OpenStack Controller VMs. It is therefore recommended to -increase the amount of resources for these VMs. - -Our recommendation is to have 2 additional virtual cores and 8GB additional virtual memory -on top of the normally recommended configuration. - -Together with the commonly used recommendation this sums up to: -:: - - 4 virtual cores - 16 GB virtual memory - -See in Installation section below how to configure this. - -Preparing the host to install Fuel by script -============================================ -.. Not all of these options are relevant for all scenarios. I advise following the -.. instructions applicable to the deploy tool used in the scenario. - -Before starting the installation of the os-odl_l2-bgpnvp scenario some preparation of the -machine that will host the Fuel VM must be done. - -Installation of required packages ---------------------------------- -To be able to run the installation of the basic OPNFV fuel installation the -Jumphost (or the host which serves the VMs for the virtual deployment) needs to -install the following packages: -:: - - sudo apt-get install -y git make curl libvirt-bin libpq-dev qemu-kvm \ - qemu-system tightvncserver virt-manager sshpass \ - fuseiso genisoimage blackbox xterm python-pip \ - python-git python-dev python-oslo.config \ - python-pip python-dev libffi-dev libxml2-dev \ - libxslt1-dev libffi-dev libxml2-dev libxslt1-dev \ - expect curl python-netaddr p7zip-full - - sudo pip install GitPython pyyaml netaddr paramiko lxml scp \ - python-novaclient python-neutronclient python-glanceclient \ - python-keystoneclient debtcollector netifaces enum - -Download the source code and artifact -------------------------------------- -To be able to install the scenario os-odl_l2-bgpvpn one can follow the way -CI is deploying the scenario. -First of all the opnfv-fuel repository needs to be cloned: -:: - - git clone ssh://@gerrit.opnfv.org:29418/fuel - -This command downloads the whole repository fuel. To checkout a specific -version of OPNFV, checkout the appropriate branch: -:: - - cd fuel - git checkout stable/ - -Now download the corresponding OPNFV Fuel ISO into an appropriate folder from -the website -:: - https://www.opnfv.org/software/downloads/release-archives - -Have in mind that the fuel repo version needs to map with the downloaded artifact. - -Simplified scenario deployment procedure using Fuel -=================================================== - -This section describes the installation of the os-odl_l2-bgpvpn-ha or -os-odl_l2-bgpvpn-noha OPNFV reference platform stack across a server cluster -or a single host as a virtual deployment. - -Scenario Preparation --------------------- -dea.yaml and dha.yaml need to be copied and changed according to the lab-name/host -where you deploy. -Copy the full lab config from: -:: - - cp /deploy/config/labs/devel-pipeline/elx \ - /deploy/config/labs/devel-pipeline/ - -Add at the bottom of dha.yaml -:: - - disks: - fuel: 100G - controller: 100G - compute: 100G - - define_vms: - controller: - vcpu: - value: 4 - memory: - attribute_equlas: - unit: KiB - value: 16388608 - currentMemory: - attribute_equlas: - unit: KiB - value: 16388608 - - -Check if the default settings in dea.yaml are in line with your intentions -and make changes as required. - -Installation procedures ------------------------ - -We describe several alternative procedures in the following. -First, we describe several methods that are based on the deploy.sh script, -which is also used by the OPNFV CI system. -It can be found in the Fuel repository. - -In addition, the SDNVPN feature can also be configured manually in the Fuel GUI. -This is described in the last subsection. - -Before starting any of the following procedures, go to -:: - - cd /ci - -Full automatic virtual deployment High Availablity Mode -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -The following command will deploy the high-availability flavor of SDNVPN scenario os-odl_l2-bgpvpn-ha -in a fully automatic way, i.e. all installation steps (Fuel server installation, configuration, -node discovery and platform deployment) will take place without any further prompt for user input. -:: - - sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-ha -i file:// - -Full automatic virtual deployment NO High Availability Mode -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -The following command will deploy the SDNVPN scenario in its non-high-availability flavor (note the -different scenario name for the -s switch). Otherwise it does the same as described above. -:: - - sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-noha -i file:// - -Automatic Fuel installation and manual scenario deployment -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -A useful alternative to the full automatic procedure is to only autodeploy the Fuel host and to run host selection, role assignment and SDNVPN scenario configuration manually. -:: - - sudo bash ./deploy.sh -b file:///config/ -l devel-pipeline -p -s os-odl_l2-bgpvpn-ha -i file:// -e - -With -e option the installer does not launch environment deployment, so -a user can do some modification before the scenario is really deployed. -Another interesting option is the -f option which deploys the scenario using an existing Fuel host. - -The result of this installation is a fuel sever with the right config for -BGPVPN. Now the deploy button on fuel dashboard can be used to deploy the environment. -It is as well possible to do the configuration manuell. - -Feature configuration on existing Fuel -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -If a Fuel server is already provided but the fuel plugins for Opendaylight, Openvswitch -and BGPVPN are not provided install them by: -:: - - cd /opt/opnfv/ - fuel plugins --install fuel-plugin-ovs-*.noarch.rpm - fuel plugins --install opendaylight-*.noarch.rpm - fuel plugins --install bgpvpn-*.noarch.rpm - -If plugins are installed and you want to update them use --force flag. - -Now the feature can be configured. Create a new environment with "Neutron with ML2 plugin" and -in there "Neutron with tunneling segmentation". -Go to Networks/Settings/Other and check "Assign public network to all nodes". This is required for -features such as floating IP, which require the Compute hosts to have public interfaces. -Then go to settings/other and check "OpenDaylight plugin", "Use ODL to manage L3 traffic", -"BGPVPN plugin" and set the OpenDaylight package version to "5.2.0-1". Then you should -be able to check "BGPVPN extensions" in OpenDaylight plugin section. - -Now the deploy button on fuel dashboard can be used to deploy the environment. - -Feature and API usage guidelines and example -============================================ -.. Describe with examples how to use specific features, provide API examples and details required to -.. operate the feature on the platform. - -For the details of using OpenStack BGPVPN API, please refer to the documentation -at http://docs.openstack.org/developer/networking-bgpvpn/. - -Example -------- -In the example we will show a BGPVPN associated to 2 neutron networks. The BGPVPN -will have the import and export routes in the way that it imports its own Route. The outcome will be that vms sitting on these two networks will be able to have a full L3 -connectivity. - -Some defines: -:: - - net_1="Network1" - net_2="Network2" - subnet_net1="10.10.10.0/24" - subnet_net2="10.10.11.0/24" - -Create neutron networks and save network IDs: -:: - - neutron net-create --provider:network_type=local $net_1 - export net_1_id=`echo "$rv" | grep " id " |awk '{print $4}'` - neutron net-create --provider:network_type=local $net_2 - export net_2_id=`echo "$rv" | grep " id " |awk '{print $4}'` - -Create neutron subnets: -:: - - neutron subnet-create $net_1 --disable-dhcp $subnet_net1 - neutron subnet-create $net_2 --disable-dhcp $subnet_net2 - -Create BGPVPN: -:: - - neutron bgpvpn-create --route-distinguishers 100:100 --route-targets 100:2530 --name L3_VPN - -Start VMs on both networks: -:: - - nova boot --flavor 1 --image --nic net-id=$net_1_id vm1 - nova boot --flavor 1 --image --nic net-id=$net_2_id vm2 - -The VMs should not be able to see each other. - -Associate to Neutron networks: -:: - - neutron bgpvpn-net-assoc-create L3_VPN --network $net_1_id - neutron bgpvpn-net-assoc-create L3_VPN --network $net_2_id - -Now the VMs should be able to ping each other - -Troubleshooting -=============== -Check neutron logs on the controller: -:: - - tail -f /var/log/neutron/server.log |grep -E "ERROR|TRACE" - -Check Opendaylight logs: -:: - - tail -f /opt/opendaylight/data/logs/karaf.log - -Restart Opendaylight: -:: - - service opendaylight restart diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst deleted file mode 100644 index 0eab38c..0000000 --- a/docs/userguide/index.rst +++ /dev/null @@ -1,23 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 -.. (c) Tim Irnich, (tim.irnich@ericsson.com) and others - -================== -SDN VPN user guide -================== - -.. The feature user guide should provide an OPNFV user with enough information to -.. use the features provided by the feature project in the supported scenarios. -.. This guide should walk a user through the usage of the features once a scenario -.. has been deployed and is active according to the installation guide provided -.. by the installer project. - -.. toctree:: - :maxdepth: 3 - - ./feature.userguide.rst - -.. The feature.userguide.rst file should contain the text for this document -.. additional documents can be added to this directory and added in the right order -.. to this file as a list below. - -- cgit 1.2.3-korg