1f8933da46
Extending the Neutron with configuration parameters and scripts for deploying OVS with DPDK support enabled. The new functionality takes care of binding NICs to DPDK and adding those to OVS bridges of type 'netdev'. Co-Authored-By: Rihab Banday <rihab.banday@ericsson.com> Change-Id: I9932123986a0b723d7523136940d325bcfde983d
25 lines
771 B
Smarty
25 lines
771 B
Smarty
#!/bin/bash
|
|
|
|
{{/*
|
|
Copyright 2017 The Openstack-Helm Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
set -ex
|
|
chroot /mnt/host-rootfs modprobe ip6_tables
|
|
|
|
{{- if .Values.conf.ovs_dpdk.enabled }}
|
|
chroot /mnt/host-rootfs modprobe {{ .Values.conf.ovs_dpdk.driver | quote }}
|
|
{{- end }}
|