charm-neutron-openvswitch/unit_tests
James Page 96c1788e94 Misc updates for DPDK support
Fix use of OVS DPDK context by direct use of methods on context
for OVS table values.

For modern OVS versions that require the PCI address of the
DPDK device for type=dpdk ports, use a hash of the PCI address
for the port name rather than the index of the PCI device in
the current list of devices to use; this is idempotent in the
event that the configuration changes and new devices appear
in the list of devices to use for DPDK.

Only set OVS table values if the value has changed; OVS will
try to re-allocate hugepage memory, irrespective as to whether
the table value actually changed.

Switch to using /run/libvirt-vhost-user for libvirt created DPDK
sockets, allowing libvirt to directly create the socket as part
of instance creation; Use systemd-tmpfiles to ensure that the
vhost-user subdirectory is re-created on boot with the correct
permissions.

Scan data-port and dpdk-bond-mappings for PCI devices to use
for DPDK to avoid having to replicate all PCI devices in data-port
configuration when DPDK bonds are in use.

Change-Id: I2964046bc8681fa870d61c6cd23b6ad6fee47bf4
2018-09-04 12:43:03 +01:00
..
__init__.py Update to run under Python 3 2017-11-20 08:54:31 -08:00
16.07-dpdk-openvswitch-switch Migrate openvswitch-switch file to avoid restarts 2017-08-23 15:39:36 -07:00
16.10-openvswitch-switch Migrate openvswitch-switch file to avoid restarts 2017-08-23 15:39:36 -07:00
package-provided-openvswitch-switch Migrate openvswitch-switch file to avoid restarts 2017-08-23 15:39:36 -07:00
pci_responses.py Update to run under Python 3 2017-11-20 08:54:31 -08:00
test_neutron_ovs_context.py Misc updates for DPDK support 2018-09-04 12:43:03 +01:00
test_neutron_ovs_hooks.py Misc updates for DPDK support 2018-09-04 12:43:03 +01:00
test_neutron_ovs_utils.py Misc updates for DPDK support 2018-09-04 12:43:03 +01:00
test_pause_resume.py Re-license charm as Apache-2.0 2016-07-01 17:36:39 +01:00
test_pci_helper.py Update SR-IOV support for >= Mitaka 2017-02-07 14:55:32 +01:00
test_pci.py Update SR-IOV support for >= Mitaka 2017-02-07 14:55:32 +01:00
test_utils.py Update to run under Python 3 2017-11-20 08:54:31 -08:00