diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-28 17:48:41 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-06-28 17:48:41 -0400 |
commit | 82eb310ef1c83108b5889b43ca87a1b59a59c474 (patch) | |
tree | 992681072ce0b1089be28db864df97c1679a40c7 /build | |
parent | 2840a7db67fdaf58567c195557c6fb8ee38f73bd (diff) |
Fixes multiple issues in ovs dpdk
Changes include:
- Fixes nova schedulers to be an array instead of string
- Fixes os-net-config to only run one time with dpdk nodes
- Fixes br-phy creation to only happen on compute nodes
opnfv-tht-pr: 32
Change-Id: Ic3ef9ba247535ed00e40fe3fc4f0e78ac7d01c1a
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/nics-template.yaml.jinja2 | 2 | ||||
-rwxr-xr-x | build/overcloud-full.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/nics-template.yaml.jinja2 b/build/nics-template.yaml.jinja2 index a0333149..1c51ab7f 100644 --- a/build/nics-template.yaml.jinja2 +++ b/build/nics-template.yaml.jinja2 @@ -155,7 +155,7 @@ resources: {%- set nic_index = 2 %} {%- if 'private_network' in enabled_networks and vlans['private_network'] == 'native' %} - {%- if ovs_dpdk_bridge == 'br-phy' %} + {%- if ovs_dpdk_bridge == 'br-phy' and role == 'compute' %} - type: ovs_bridge name: {{ ovs_dpdk_bridge }} diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index f35e3ceb..777fa1c5 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -35,7 +35,7 @@ popd > /dev/null # download customized os-net-config rm -fr os-net-config -git clone https://github.com/trozet/os-net-config.git -b hiera_nic_mapping +git clone https://github.com/trozet/os-net-config.git -b stable/colorado pushd os-net-config > /dev/null pushd os_net_config > /dev/null git archive --format=tar.gz --prefix=os_net_config/ HEAD > ../../os-net-config.tar.gz |