openstack-ansible/tests/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2
Kevin Carter c2402a0723
Disable offloading in test by default
We disable offloading in test for ubuntu this change does the same for
suse and cent. This should help resolve the kernel crashes and traces
we're seeing in the gate.

Change-Id: I6001a3b107c5679d8758aa35dc29a6fe6054e088
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-11-28 19:39:17 -06:00

13 lines
324 B
Django/Jinja

{% if item.veth_peer is defined %}
# This interface has a veth peer
{% endif %}
DEVICE={{ item.name | default('br-mgmt') }}
TYPE=Bridge
IPADDR={{ item.ip_addr | default('10.1.0.1') }}
NETMASK={{ item.netmask | default('255.255.255.0') }}
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
DELAY=0
ETHTOOL_OPTS="-K ${DEVICE} sg off"