config/sysinv/sysinv/sysinv
Steven Webster 13b142ff8b Integration with latest SR-IOV CNI images
As part of the ongoing development of the sriov-cni and
sriov-device-plugin, the DPDK NetworkAttachmentDefinition
configuration options have been deprecated.

Previously, we used this functionality to have the sriov-cni
plugin perform the device bind from netdevice (kernel) to
vfio (userspace), and simply set sriov-device-plugin
deviceType configuration parameter to 'netdevice'.

Going forward, we must add a mechanism for a user to define
the deviceType at the interface configuration level.  This
means an SR-IOV enabled device can no longer have a mix of
netdevice, vfio chosen by the NeworkAttachmentDefinition.
That is, it must be determined by the user beforehand which
type of virtual function driver (kernel or DPDK) a device's
VFs should have.

This commit includes the cgtsclient, API, DB and puppet
related changes required for a user to set the VF driver type.

In terms of the cgts-client, the following parameter has been
added: --vf-driver.  Example usage for a device intended to
be used with a DPDK application is as follows:

system host-if-modify -m 1500 -n sriov0 -d ${DATANET} \
  -c pci-sriov -N ${NUM_VFS} --vf-driver=vfio ${WORKER_NAME} \
  ${INTERFACE_UUID}

If the user does not specify a vf-driver, the default device
type will remain as it is today as 'netdevice'.  The user can
also choose to explicitly set the --vf-driver to 'netdevice'
for the same effect.  In this case, a check is made to ensure
the VF driver has been detected and reported by the sysinv
agent.

Story: 2005208
Task: 33485
Closes-Bug: 1829565
Change-Id: I8f6f27b79c7fafa03873e71473f7694991142e50
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2019-05-29 13:36:28 -05:00
..
.eggs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
contrib StarlingX open source release updates 2018-05-31 07:35:52 -07:00
doc/source Change openstack-dev to openstack-discuss 2018-12-04 23:37:31 -05:00
etc/sysinv Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
scripts Remove nova-api requirement from sysinv OCF scripts 2019-03-18 15:29:35 -05:00
sysinv Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
tools Fix: "__builtin__" issue for Python 2/3 compatible code 2018-12-19 10:21:57 +08:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
.stestr.conf Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
CONTRIBUTING.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
MANIFEST.in StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
babel.cfg StarlingX open source release updates 2018-05-31 07:35:52 -07:00
openstack-common.conf StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pylint.rc Cleanup pylint errors in sysinv 2018-12-28 09:06:15 -06:00
requirements.txt Move the image specification to the armada manifest 2019-04-05 13:25:06 -04:00
setup.cfg Remove the Ceph related charts from the stx-openstack application 2019-05-10 17:27:28 -04:00
setup.py Add a zuul job for sysinv tox unittest 2018-08-13 16:34:06 +08:00
test-requirements.txt Add missing rpm dependencies to sysinv 2019-03-18 18:52:16 +00:00
tox.ini Provide env settings to allow zuul and developers to both run tox 2019-04-30 09:18:46 -05:00

README.rst

Placeholder to allow setup.py to work. Removing this requires modifying the setup.py manifest.