[nova] os_vif 1.4.0 (ocata)
We are amped to announce the release of:
os_vif 1.4.0: A library for plugging and unplugging virtual interfaces in OpenStack.
This release is part of the ocata release series.
Download the package from:
https://pypi.python.org/pypi/os_vif
For more details, please see below.
1.4.0 ^^^^^
New Features ************
* New port profiles have been added to describe vhostuser fast path VIFs. In particular fast path vhostuser ports can be used with ovs, linuxbridge and calico networks. Thus for each kind of network a dedicated port profile class has been defined.
* The vhostuser vif object has been modified to add the name of the vhostuser port. Previously to this modification, it was responsibility of ovs plugin to compute such name. This should not be necessary with this new field. Because of this new field the VIFVHostUser object version has been updated accordingly (to 1.1).
* In the ocata cycle support was added for setting the MTU of vhost- user port with ovs.
* vhost-user MTU support enable jumbo frames to be used with vhost- user interfaces.
* vhost-user reconnect is a new feature of qemu that allows a vhost- user frontend(e.g. qemu) to reconnect to a vhost-user backend (e.g. ovs with dpdk) in the event that backend is restarted while the interface is in use. vhost-user reconnect leverages qemu vhost-user server mode with ovs-dpdk in client mode. This configuration requires ovs 2.6 with dpdk 16.07 and qemu 2.7 or newer to function. When qemu server mode is used with older qemu versions such as 2.5, vhost-user will still function with ovs 2.6 and dpdk 16.07, however, reconnect functionality will not be available.
Bug Fixes *********
* The use of contextlib and with nested statements is deprecated. "with nested" statements are not python 3 compatible as with statement now directly support context managers. The use of contextlib and "with nested" statements has been removed from all unittests in favor of the @mock decorator syntax.
Other Notes ***********
* vhost-user MTU support requires ovs 2.6 or newer. On older versions of ovs, the MTU request will not be made and jumbo frames are not supported.
Changes in os_vif 1.3.0..1.4.0 ------------------------------
9a14c18 introduces MTU support for vhost-user 01da454 vif_plug_ovs: Always set MTU when plugging devices a43f9b1 os-vif: add new port profiles to enable fast path vhostuser e2fa516 add support for vhost-user reconnect 345ff07 os-vif: add vif_name to VIFVHostUser class b94df0f Changed the home-page link 74b38dd Drop MANIFEST.in - it's not needed by pbr 5417216 remove use of contextlib and with nested 4cdd962 host_info: add ability to filter list of supported vifs 15544e1 host_info: fix get_common_version method on HostVIFInfo bb047f7 host_info: fix has_vif/get_vif methods on HostPluginInfo c609d71 Updated from global requirements 0aac83d host_info: fix has_plugin/get_plugin methods on HostInfo
Diffstat (except docs and test files) -------------------------------------
MANIFEST.in | 6 - os_vif/__init__.py | 18 +- os_vif/objects/host_info.py | 32 ++- os_vif/objects/vif.py | 52 ++++- ...st-path-vhostuser-support-fe87e558326909b6.yaml | 7 + ...nd-nested-with-statements-2747a9ebb9a5bfd7.yaml | 6 + .../extend-vhostuser-object-fada14a1457d4e56.yaml | 7 + .../vhost-user-mtu-support-cbc7d02a6665fab1.yaml | 10 + .../vhost-user-reconnect-fa4cbb731b787f71.yaml | 14 ++ requirements.txt | 4 +- setup.cfg | 2 +- test-requirements.txt | 8 +- vif_plug_ovs/constants.py | 2 + vif_plug_ovs/linux_net.py | 70 ++++-- vif_plug_ovs/ovs.py | 41 ++-- 23 files changed, 688 insertions(+), 223 deletions(-)
Requirements updates --------------------
diff --git a/requirements.txt b/requirements.txt index 02fc42d..6f07563 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ oslo.concurrency>=3.8.0 # Apache-2.0 -oslo.config>=3.14.0 # Apache-2.0 +oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 @@ -14 +14 @@ six>=1.9.0 # MIT -stevedore>=1.16.0 # Apache-2.0 +stevedore>=1.17.1 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index d0925b7..cb8b950 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ hacking<0.11,>=0.10.2 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -8,3 +8,3 @@ python-subunit>=0.0.18 # Apache-2.0/BSD -reno>=1.8.0 # Apache2 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +reno>=1.8.0 # Apache-2.0 +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +oslosphinx>=4.7.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org