1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. (c) Tim Irnich, Nikolas Hermanns, Christopher Price and others
7 .. Describe the specific features and how it is realised in the scenario in a brief manner
8 .. to ensure the user understand the context for the user guide instructions to follow.
10 This document will provide an overview of how to work with the SDN VPN features in
13 SDN VPN feature description
14 ===========================
15 .. Describe the specific usage for <XYZ> feature.
16 .. Provide enough information that a user will be able to operate the feature on a deployed scenario.
18 A high-level description of the scenarios is provided in this section.
19 For details of the scenarios and their provided capabilities refer to
20 the scenario description document:
21 http://artifacts.opnfv.org/colorado/sdnpvn/scenarios/os-odl_l2-bgpvpn/index.html
23 The BGPVPN feature enables creation of BGP VPNs on the Neutron API according to the OpenStack
24 BGPVPN blueprint at https://blueprints.launchpad.net/neutron/+spec/neutron-bgp-vpn.
25 In a nutshell, the blueprint defines a BGPVPN object and a number of ways
26 how to associate it with the existing Neutron object model, as well as a unique
27 definition of the related semantics. The BGPVPN framework supports a backend
28 driver model with currently available drivers for Bagpipe, OpenContrail, Nuage
29 and OpenDaylight. The OPNFV scenario makes use of the OpenDaylight driver and backend
30 implementation through the ODL VPNService project.
35 The SDNVPN scenarios can be deployed as a bare-metal or a virtual environment on a single host.
37 Bare metal deployment on Pharos Lab
38 -----------------------------------
40 Hardware requirements for bare-metal deployments of the OPNFV infrastructure are specified
41 by the Pharos project. The Pharos project provides an OPNFV hardware specification for
42 configuring your hardware at: http://artifacts.opnfv.org/pharos/docs/pharos-spec.html.
44 Virtual deployment hardware requirements
45 ----------------------------------------
47 To perform a virtual deployment of an OPNFV scenario on a single host, that host has to
48 meet the hardware requirements outlined in the <missing spec>.
50 When ODL is used as an SDN Controller in an OPNFV virtual deployment, ODL is
51 running on the OpenStack Controller VMs. It is therefore recommended to
52 increase the amount of resources for these VMs.
54 Our recommendation is to have 2 additional virtual cores and 8GB additional virtual memory
55 on top of the normally recommended configuration.
57 Together with the commonly used recommendation this sums up to:
63 See in Installation section below how to configure this.
65 Preparing the host to install Fuel by script
66 ============================================
67 .. Not all of these options are relevant for all scenario's. I advise following the
68 .. instructions applicable to the deploy tool used in the scenario.
70 Before starting the installation of the <scenario> scenario some preparation of the
71 machine that will host the Fuel VM must be done.
73 Installation of required packages
74 ---------------------------------
75 To be able to run the installation of the basic OPNFV fuel installation the
76 Jumphost (or the host which serves the VMs for the virtual deployment) needs to
77 install the following packages:
80 sudo apt-get install -y git make curl libvirt-bin libpq-dev qemu-kvm \
81 qemu-system tightvncserver virt-manager sshpass \
82 fuseiso genisoimage blackbox xterm python-pip \
83 python-git python-dev python-oslo.config \
84 python-pip python-dev libffi-dev libxml2-dev \
85 libxslt1-dev libffi-dev libxml2-dev libxslt1-dev \
86 expect curl python-netaddr p7zip-full
88 sudo pip install GitPython pyyaml netaddr paramiko lxml scp \
89 python-novaclient python-neutronclient python-glanceclient \
90 python-keystoneclient debtcollector netifaces enum
92 Download the source code and artifact
93 -------------------------------------
94 To be able to install the scenario os-odl_l2-bgpvpn one can follow the way
95 CI is deploying the scenario.
96 First of all the opnfv-fuel repository needs to be cloned:
99 git clone ssh://<user>@gerrit.opnfv.org:29418/fuel
101 This command downloads the whole repository fuel. We need now to switch it to
102 the stable Colorado branch:
106 git checkout stable/colorado
108 Now download the appropriate OPNFV Fuel ISO into an appropriate folder:
111 wget http://artifacts.opnfv.org/fuel/colorado/opnfv-colorado.1.0.iso
113 The exact name of the ISO image may change.
114 Check https://www.opnfv.org/opnfv-colorado-fuel-users to get the latest ISO.
116 Simplified scenario deployment procedure using Fuel
117 ===================================================
119 This section describes the installation of the os-odl_l2-bgpvpn-ha or
120 os-odl_l2-bgpvpn-noha OPNFV reference platform stack across a server cluster
121 or a single host as a virtual deployment.
125 dea.yaml and dha.yaml need to be copied and changed according to the lab-name/host
127 Copy the full lab config from:
130 cp <path-to-opnfv-fuel-repo>/deploy/config/labs/devel-pipeline/elx \
131 <path-to-opnfv-fuel-repo>/deploy/config/labs/devel-pipeline/<your-lab-name>
133 Add at the bottom of dha.yaml
155 Check if the default settings in dea.yaml are in line with your intentions
156 and make changes as required.
158 Installation procedures
159 -----------------------
161 We describe several alternative procedures in the following.
166 cd <opnfv-fuel-repo>/ci
168 Full automatic virtual deployment High Availablity Mode
169 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
171 The following command will deploy the high-availability flavor of SDNVPN scenario os-odl_l2-bgpvpn-ha
172 in a fully automatic way, i.e. all installation steps (Fuel server installation, configuration,
173 node discovery and platform deployment) will take place without any further prompt for user input.
176 sudo bash ./deploy.sh -b file://<path-to-opnfv-fuel-repo>/config/ -l devel-pipeline -p <your-lab-name> -s os-odl_l2-bgpvpn-ha -i file://<path-to-fuel-iso>
178 Full automatic virtual deployment NO High Availability Mode
179 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
181 The following command will deploy the SDNVPN scenario in its non-high-availability flavor. Otherwise it does the same as described above.
184 sudo bash ./deploy.sh -b file://<path-to-opnfv-fuel-repo>/config/ -l devel-pipeline -p <your-lab-name> -s os-odl_l2-bgpvpn-noha -i file://<path-to-fuel-iso>
186 Automatic Fuel installation and manual scenario deployment
187 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
189 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.
192 sudo bash ./deploy.sh -b file://<path-to-opnfv-fuel-repo>/config/ -l devel-pipeline -p <your-lab-name> -s os-odl_l2-bgpvpn-ha -i file://<path-to-fuel-iso> -e
194 With -e option the installer does not launch environment deployment, so
195 a user can do some modification before the scenario is really deployed.
197 Another interesting option is the -f option which deploys the scenario using an existing Fuel host.
199 Feature and API usage guidelines and example
200 ============================================
201 .. Describe with examples how to use specific features, provide API examples and details required to
202 .. operate the feature on the platform.
204 For the details of using OpenStack BGPVPN API, please refer to the documentation
205 at http://docs.openstack.org/developer/networking-bgpvpn/.
207 Can we give a basic example here? Pointing someone off to a generic document in reference to
208 this specific compilation of components feels a little like only half the job. :)
213 What? I thought this would work!