charm-neutron-openvswitch/templates/kilo/neutron-openvswitch-networking-sriov.conf
Nicolas Pochet d02fad482d
Replace SR-IOV systemd unit script
* The goal of this change is to enable the ability to configure only the
VFs that are configured through the charm and not fallback to the
blanket configuration.
* This python version of the script brings unit-tests that fully covers
it.
* Move the the template files to `files` and modify `neutron_ovs_utils`
accordingly.

Closes-Bug: 1832379
Depends-On: https://review.opendev.org/#/c/664837/

Change-Id: I7ad1ebc16883bda23cbad89a852e7e8f88f49c49
2019-06-28 17:37:51 +02:00

12 lines
311 B
Plaintext

description "Configure SRIOV Virtual Functions"
author "Frode Nordahl <frode.nordahl@gmail.com>"
start on virtual-filesystems
task
console log
script
[ -x "/usr/local/bin/neutron-openvswitch-networking-sriov.sh" ] || exit 0
exec /usr/local/bin/neutron-openvswitch-networking-sriov.sh start
end script