Adds service for OVS and enables ODL DPDK deployments
authorTim Rozet <trozet@redhat.com>
Thu, 12 Jan 2017 21:07:02 +0000 (16:07 -0500)
committerTim Rozet <trozet@redhat.com>
Fri, 23 Jun 2017 13:31:53 +0000 (09:31 -0400)
commitb30bdb6f8ed7a041d53849cd56718afd08f4bb98
tree9d82bba21b5e2cb269a4a21bf05ea4332d535621
parent4e19c7a13e4717082f676ec5e72d35e9ea963a33
Adds service for OVS and enables ODL DPDK deployments

In order to deploy OpenDaylight with DPDK we need to copy the DPDK
config for OVS done in the neutron-ovs-dpdk service template, without
enabling OVS agent for compute nodes.  To do this correctly, we should
inherit and openvswitch service which is a common place to set OVS
configuration and parameters.  Note: vswitch::dpdk config will be called
in prenetwork setup with ovs_dpdk_config.yaml so there is no need to
include that in the step config for neutron-ovs-dpdk-agent service or
opendaylight-ovs-dpdk.

Changes Include:
 - Creates a common openvswitch service template, which in the future
   will migrate to be its own service.
 - Renames and fixes OVS DPDK configuration heat parameters in the
   openvswitch template.
 - neutron-ovs-dpdk-agent now inherits the common openvswitch template.
 - Adds opendaylight-ovs-dpdk template which also inherits common ovs
   template.
 - Uses OVS DPDK config script to allow configuring OVS DPDK in
   prenetwork config (before os-net-config runs).  This has an issue
   where hieradata is not present yet, so we have to redefine the heat
   parameters and pass them via bash.  In the future this should be
   corrected.
 - Adds opendaylight-dpdk environment file used to deploy an ODL + DPDK
   deployment.
 - Updates neutron-ovs-dpdk environment file.

Closes-Bug: 1656097
Partial-Bug: 1656096

Depends-On: I3227189691df85f265cf84bd4115d8d4c9f979f3

Change-Id: Ie80e38c2a9605d85cdf867a31b6888bfcae69e29
Signed-off-by: Tim Rozet <trozet@redhat.com>
environments/neutron-opendaylight-dpdk.yaml [new file with mode: 0644]
environments/neutron-ovs-dpdk.yaml
extraconfig/pre_network/ansible_host_config.yaml
extraconfig/pre_network/host_config_and_reboot.yaml
puppet/services/neutron-ovs-agent.yaml
puppet/services/neutron-ovs-dpdk-agent.yaml
puppet/services/opendaylight-ovs.yaml
puppet/services/openvswitch-upgrade.yaml [deleted file]
puppet/services/openvswitch.yaml [new file with mode: 0644]
releasenotes/notes/refactor-dpdk-dd37ccf14f711bb1.yaml [new file with mode: 0644]