diff options
author | Ricardo Noriega <rnoriega@redhat.com> | 2018-01-18 18:25:27 +0100 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-02-07 19:11:29 +0000 |
commit | 804160f8ec597ee23a5b5ac18ec6d672586b37b4 (patch) | |
tree | 7326601544f53b07cfb8c5e04c5be3fcf64a2a65 | |
parent | 50f1d92e0aa0e5720adc44f23ed59a4cfc1c4b58 (diff) |
Adding L2GW Scenario
This scenario allows you to install L2GW Neutron driver
and point to OpenDaylight as service provider.
apex-tripleo-heat-templates: I37039207bc7cf9965d26e6dfa034e84bf9b7224d
Change-Id: I0dfd37bcc5060f0ad8caa95e1f87a7411bd6e723
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
-rw-r--r-- | apex/deploy.py | 1 | ||||
-rw-r--r-- | apex/overcloud/deploy.py | 1 | ||||
-rw-r--r-- | apex/settings/deploy_settings.py | 3 | ||||
-rw-r--r-- | build/rpm_specs/opnfv-apex-common.spec | 2 | ||||
-rw-r--r-- | config/deploy/os-odl-l2gw-ha.yaml | 12 | ||||
-rw-r--r-- | config/deploy/os-odl-l2gw-noha.yaml | 12 | ||||
-rw-r--r-- | docs/release/installation/architecture.rst | 4 |
7 files changed, 34 insertions, 1 deletions
diff --git a/apex/deploy.py b/apex/deploy.py index d2f1c936..3aed9778 100644 --- a/apex/deploy.py +++ b/apex/deploy.py @@ -518,6 +518,7 @@ def main(): # TODO(trozet): just parse all ds_opts as deploy vars one time deploy_vars['sfc'] = ds_opts['sfc'] deploy_vars['vpn'] = ds_opts['vpn'] + deploy_vars['l2gw'] = ds_opts.get('l2gw') # TODO(trozet): pull all logs and store in tmp dir in overcloud # playbook post_overcloud = os.path.join(args.lib_dir, ANSIBLE_PATH, diff --git a/apex/overcloud/deploy.py b/apex/overcloud/deploy.py index f988cf3d..19d46e15 100644 --- a/apex/overcloud/deploy.py +++ b/apex/overcloud/deploy.py @@ -38,6 +38,7 @@ SDN_FILE_MAP = { 'dvr': 'neutron-opendaylight-fdio-dvr.yaml', 'default': 'neutron-opendaylight-honeycomb.yaml' }, + 'l2gw': 'neutron-l2gw-opendaylight.yaml', 'default': 'neutron-opendaylight.yaml', }, 'onos': { diff --git a/apex/settings/deploy_settings.py b/apex/settings/deploy_settings.py index f2012b24..eec98225 100644 --- a/apex/settings/deploy_settings.py +++ b/apex/settings/deploy_settings.py @@ -23,7 +23,8 @@ REQ_DEPLOY_SETTINGS = ['sdn_controller', 'ceph', 'gluon', 'rt_kvm', - 'os_version'] + 'os_version', + 'l2gw'] OPT_DEPLOY_SETTINGS = ['performance', 'vsperf', diff --git a/build/rpm_specs/opnfv-apex-common.spec b/build/rpm_specs/opnfv-apex-common.spec index dde13a78..342f4427 100644 --- a/build/rpm_specs/opnfv-apex-common.spec +++ b/build/rpm_specs/opnfv-apex-common.spec @@ -92,6 +92,8 @@ install config/inventory/pod_example_settings.yaml %{buildroot}%{_docdir}/opnfv/ %{_sysconfdir}/opnfv-apex/os-odl-fdio-ha.yaml %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-ha.yaml %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-noha.yaml +%{_sysconfdir}/opnfv-apex/os-odl-l2gw-ha.yaml +%{_sysconfdir}/opnfv-apex/os-odl-l2gw-noha.yaml %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-noha.yaml %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-ha.yaml %{_sysconfdir}/opnfv-apex/os-odl-nofeature-ha.yaml diff --git a/config/deploy/os-odl-l2gw-ha.yaml b/config/deploy/os-odl-l2gw-ha.yaml new file mode 100644 index 00000000..a22da3bb --- /dev/null +++ b/config/deploy/os-odl-l2gw-ha.yaml @@ -0,0 +1,12 @@ +--- +global_params: + ha_enabled: true + +deploy_options: + sdn_controller: opendaylight + odl_version: nitrogen + tacker: false + congress: true + sfc: false + vpn: false + l2gw: true diff --git a/config/deploy/os-odl-l2gw-noha.yaml b/config/deploy/os-odl-l2gw-noha.yaml new file mode 100644 index 00000000..ae5218aa --- /dev/null +++ b/config/deploy/os-odl-l2gw-noha.yaml @@ -0,0 +1,12 @@ +--- +global_params: + ha_enabled: false + +deploy_options: + sdn_controller: opendaylight + odl_version: nitrogen + tacker: false + congress: true + sfc: false + vpn: false + l2gw: true diff --git a/docs/release/installation/architecture.rst b/docs/release/installation/architecture.rst index 079c26d5..b8db7c86 100644 --- a/docs/release/installation/architecture.rst +++ b/docs/release/installation/architecture.rst @@ -159,7 +159,11 @@ issues per scenario. The following scenarios correspond to a supported | os-odl-bgpvpn-ha | SDNVPN | Yes | +-------------------------+-------------+---------------+ | os-odl-bgpvpn-noha | SDNVPN | Yes | +++-------------------------+-------------+---------------+ +| os-odl-l2gw-ha | Apex | No | +-------------------------+-------------+---------------+ +| os-odl-l2gw-noha | Apex | No | +-------------------------+-------------+---------------+ | os-odl-sfc-ha | SFC | No | +-------------------------+-------------+---------------+ | os-odl-sfc-noha | SFC | Yes | |