aboutsummaryrefslogtreecommitdiffstats
path: root/src/manage.py
blob: 3c7aba53ef0873b9a0ad755c3fece9277dd3075c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python

##############################################################################
# Copyright (c) 2016 Max Breitenfeldt and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################


import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pharos_dashboard.settings")
    try:
        from django.core.management import execute_from_command_line
    except ImportError:
        # The above import may fail for some other reason. Ensure that the
        # issue is really that Django is missing to avoid masking other
        # exceptions on Python 2.
        try:
            import django
        except ImportError:
            raise ImportError(
                "Couldn't import Django. Are you sure it's installed and "
                "available on your PYTHONPATH environment variable? Did you "
                "forget to activate a virtual environment?"
            )
        raise
    execute_from_command_line(sys.argv)
and configurations is identified in OPNFV as a deployment scenario. The various OPNFV scenarios provide unique features and capabilities that you may want to leverage, and it is important to understand your required target platform capabilities before installing and configuring your scenarios. An OPNFV installation requires either a physical infrastructure environment as defined in the `Pharos specification <https://wiki.opnfv.org/display/pharos/Pharos+Specification>`_, or a virtual one. When configuring a physical infrastructure it is strongly advised to follow the Pharos configuration guidelines. Scenarios ========= OPNFV scenarios are designed to host virtualised network functions (VNF’s) in a variety of deployment architectures and locations. Each scenario provides specific capabilities and/or components aimed at solving specific problems for the deployment of VNF’s. A scenario may, for instance, include components such as OpenStack, OpenDaylight, OVS, KVM etc., where each scenario will include different source components or configurations. To learn more about the scenarios supported in the Gambia release refer to the scenario description documents provided: - :ref:`k8-nosdn-stor4nfv-ha <stor4nfv:k8-nosdn-stor4nfv-ha>` - :ref:`os-nosdn-bar-ha <os-nosdn-bar-ha>` - :ref:`os-nosdn-stor4nfv-ha <os-nosdn-stor4nfv-ha>` - :ref:`os-nosdn-ovs-noha <os-nosdn-ovs-noha1>` - :ref:`os-nosdn-vpp-noha <os-nosdn-vpp-noha>` - :ref:`os-nosdn-vpp-ha <os-nosdn-vpp-ha>` - :ref:`os-odl-ovs-noha <os-odl-ovs-noha>` - :ref:`os-odl-sfc-noha <os-odl-sfc-noha>` - :ref:`os-odl-sfc-ha <os-odl-sfc-ha>` - :ref:`os-odl-bgpvpn-noha <os-odl-bgpvpn-noha>` - :ref:`os-odl-bgpvpn-ha <os-odl-bgpvpn-ha>` - :ref:`os-nosdn-bar-ha <os-nosdn-bar-ha>` - :ref:`os-nosdn-bar-noha <os-nosdn-bar-noha>` - :ref:`k8-nosdn-virtlet-noha <k8-nosdn-virtlet-noha>` - :ref:`k8-ovn-kata-noha <k8-ovn-kata-noha>` Installation Procedure ====================== Detailed step by step instructions for working with an installation toolchain and installing the required scenario are provided by the installation projects. The projects providing installation support for the OPNFV Gambia release are: Apex, Compass4nfv and Fuel. The instructions for each toolchain can be found in these links: - :ref:`Apex installation instruction <apex-installation>` - :ref:`Compass4nfv installation instruction <compass4nfv-installation>` - :ref:`Fuel installation instruction <fuel-installation>` OPNFV Test Frameworks ===================== If you have elected to install the OPNFV platform using the deployment toolchain provided by OPNFV, your system will have been validated once the installation is completed. The basic deployment validation only addresses a small part of capabilities in the platform and you may want to execute more exhaustive tests. Some investigation will be required to select the right test suites to run on your platform. Many of the OPNFV test project provide user-guide documentation and installation instructions in :ref:`this document <testing-userguide>`