os-vif 3.7.0__tar.gz → 4.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- os_vif-4.1.0/.pre-commit-config.yaml +22 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/.zuul.yaml +8 -40
- {os_vif-3.7.0 → os_vif-4.1.0}/AUTHORS +2 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/ChangeLog +19 -0
- os_vif-4.1.0/PKG-INFO +65 -0
- os_vif-4.1.0/os_vif/internal/ip/api.py +19 -0
- os_vif-4.1.0/os_vif/tests/unit/internal/ip/test_api.py +21 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_os_vif.py +14 -8
- os_vif-4.1.0/os_vif.egg-info/PKG-INFO +65 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/SOURCES.txt +5 -4
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/entry_points.txt +0 -1
- os_vif-4.1.0/os_vif.egg-info/pbr.json +1 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/requires.txt +4 -6
- os_vif-4.1.0/releasenotes/notes/deprecate-linuxbridge-support-d278d4bbdff8e8bc.yaml +7 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/fix-stevedore-entrypoints-8002ec7a5166c977.yaml +1 -1
- os_vif-4.1.0/releasenotes/notes/remove-py38-e0701b3363079bbf.yaml +5 -0
- os_vif-4.1.0/releasenotes/notes/remove-windows-23df1c587d505d72.yaml +4 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/2023.1.rst +1 -1
- os_vif-4.1.0/releasenotes/source/2024.2.rst +6 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/index.rst +1 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/setup.cfg +2 -2
- {os_vif-3.7.0 → os_vif-4.1.0}/tox.ini +8 -2
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/linux_bridge.py +9 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/constants.py +0 -3
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/linux_net.py +1 -8
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/ovs.py +9 -40
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/ovsdb/ovsdb_lib.py +7 -8
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/functional/base.py +8 -1
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/functional/ovsdb/test_ovsdb_lib.py +5 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/functional/test_plugin.py +35 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/unit/ovsdb/test_ovsdb_lib.py +1 -11
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/unit/test_plugin.py +10 -64
- os_vif-3.7.0/PKG-INFO +0 -53
- os_vif-3.7.0/os_vif/internal/ip/api.py +0 -30
- os_vif-3.7.0/os_vif/internal/ip/windows/impl_netifaces.py +0 -47
- os_vif-3.7.0/os_vif/tests/unit/internal/ip/test_api.py +0 -39
- os_vif-3.7.0/os_vif/tests/unit/internal/ip/windows/test_impl_netifaces.py +0 -46
- os_vif-3.7.0/os_vif.egg-info/PKG-INFO +0 -53
- os_vif-3.7.0/os_vif.egg-info/pbr.json +0 -1
- os_vif-3.7.0/vif_plug_ovs/tests/unit/__init__.py +0 -0
- os_vif-3.7.0/vif_plug_ovs/tests/unit/ovsdb/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/.coveragerc +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/.mailmap +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/.stestr.conf +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/CONTRIBUTING.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/HACKING.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/LICENSE +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/README.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/bindep.txt +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/requirements.txt +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/conf.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/contributor/contributing.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/index.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/reference/glossary.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/host-info.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/plugins/linux-bridge.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/plugins/noop.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/plugins/ovs.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/usage.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/doc/source/user/vif-types.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/exception.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/i18n.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/internal/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/internal/ip/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/internal/ip/ip_command.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/internal/ip/linux/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/internal/ip/linux/impl_pyroute2.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/base.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/fields.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/fixed_ip.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/host_info.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/instance_info.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/network.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/route.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/subnet.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/objects/vif.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/opts.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/plugin.py +0 -0
- {os_vif-3.7.0/os_vif/internal/ip/windows → os_vif-4.1.0/os_vif/tests}/__init__.py +0 -0
- {os_vif-3.7.0/os_vif/tests → os_vif-4.1.0/os_vif/tests/functional}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/functional/base.py +0 -0
- {os_vif-3.7.0/os_vif/tests/functional → os_vif-4.1.0/os_vif/tests/functional/internal}/__init__.py +0 -0
- {os_vif-3.7.0/os_vif/tests/functional/internal → os_vif-4.1.0/os_vif/tests/functional/internal/command}/__init__.py +0 -0
- {os_vif-3.7.0/os_vif/tests/functional/internal/command → os_vif-4.1.0/os_vif/tests/functional/internal/command/ip}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/functional/internal/command/ip/test_impl_pyroute2.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/functional/privsep.py +0 -0
- {os_vif-3.7.0/os_vif/tests/functional/internal/command/ip → os_vif-4.1.0/os_vif/tests/unit}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/base.py +0 -0
- {os_vif-3.7.0/os_vif/tests/unit → os_vif-4.1.0/os_vif/tests/unit/internal}/__init__.py +0 -0
- {os_vif-3.7.0/os_vif/tests/unit/internal → os_vif-4.1.0/os_vif/tests/unit/internal/ip}/__init__.py +0 -0
- {os_vif-3.7.0/os_vif/tests/unit/internal/ip → os_vif-4.1.0/os_vif/tests/unit/internal/ip/linux}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/internal/ip/linux/test_impl_pyroute2.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_base.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_exception.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_host_info.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_objects.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/tests/unit/test_vif.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/utils.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif/version.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/dependency_links.txt +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/not-zip-safe +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/os_vif.egg-info/top_level.txt +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/playbooks/openstack-tox-functional-ovs-with-sudo/Debian.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/playbooks/openstack-tox-functional-ovs-with-sudo/Gentoo.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/playbooks/openstack-tox-functional-ovs-with-sudo/RedHat.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/playbooks/openstack-tox-functional-ovs-with-sudo/Suse.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/playbooks/openstack-tox-functional-ovs-with-sudo/pre.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/OVSVif-hybrid-unplug-f37bf57bc8e913de.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-abstract-ovsdb-api-8f04df58d4ed5b73.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-fast-path-vhostuser-support-fe87e558326909b6.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-no-op-plugin-763a6703e7328a24.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-ovs-representor-portprofile-5f8290e5a40bf0a4.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-ovs-vhostuser-support-2ba8de51c1f3a244.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/add-ovsdb-native-322fffb49c91503d.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/always-plug-vifs-for-ovs-1d033fc49a9c6c4e.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/brctl-removal-a5b0e69b865afa57.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/bug-1892132-812e6d5ce0588ebb.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/contextlib-and-nested-with-statements-2747a9ebb9a5bfd7.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/default-qos-policy-for-ovs-26f8806046a59c82.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/default-to-native-ovsdb-driver-112fb5adf6e19a30.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/deprecate-windows-support-49f5ca1b1a1f4d66.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/do-not-force-mac-ageing-c6e8d750130c5740.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/drop-py36-support-0e9b07073f6ad73f.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/drop-python2-support-7a4bc7d31253c1e5.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/ensure-ovs-bridge-a0c1b51f469c92d0.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/extend-vhostuser-object-fada14a1457d4e56.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/fix-broken-dataplane-on-nova-restart-with-isolate_vif-71617a41741b33e8.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/fix-ovs-plugin-describe-049750609559f1ba.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/fix-vif-openvswitch-fa0d19be9dd668e1.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/generic-datapath-offloads-41cabb6842b41533.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/initial-release-2c71d6bbf55f763b.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/oslo-config-opts-entrypoints-e83f907b686d774a.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/per-port-bridge-c6a50179a0256de3.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/port-profile-info-linux-bridge-4800f5a0b7328615.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/port-profile-info-ovs-63b46a3eafc11de2.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/prevent-lb-reply-arp-6459133bfb056069.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/remove_iptools_implementation-2eb866573a680e61.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/revert-always-plug-port-for-ovs-hybrid-plug-false-dc015985cbc5443b.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/vhost-user-mtu-support-cbc7d02a6665fab1.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/vhost-user-reconnect-fa4cbb731b787f71.yaml +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/2023.2.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/2024.1.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/_static/.placeholder +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/_templates/.placeholder +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/conf.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/newton.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/ocata.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/pike.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/queens.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/rocky.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/stein.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/train.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/unreleased.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/ussuri.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/victoria.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/wallaby.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/xena.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/yoga.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/source/zed.rst +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/requirements.txt +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/setup.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/test-requirements.txt +0 -0
- {os_vif-3.7.0/os_vif/tests/unit/internal/ip/linux → os_vif-4.1.0/vif_plug_linux_bridge}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/constants.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/iptables.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/linux_net.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/privsep.py +0 -0
- {os_vif-3.7.0/os_vif/tests/unit/internal/ip/windows → os_vif-4.1.0/vif_plug_linux_bridge/tests}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_linux_bridge → os_vif-4.1.0/vif_plug_linux_bridge/tests/unit}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/tests/unit/test_linux_net.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_linux_bridge/tests/unit/test_plugin.py +0 -0
- {os_vif-3.7.0/vif_plug_linux_bridge/tests → os_vif-4.1.0/vif_plug_noop}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_noop/noop.py +0 -0
- {os_vif-3.7.0/vif_plug_linux_bridge/tests/unit → os_vif-4.1.0/vif_plug_noop/tests}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_noop → os_vif-4.1.0/vif_plug_noop/tests/unit}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_noop/tests/unit/test_plugin.py +0 -0
- {os_vif-3.7.0/vif_plug_noop/tests → os_vif-4.1.0/vif_plug_ovs}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/exception.py +0 -0
- {os_vif-3.7.0/vif_plug_noop/tests/unit → os_vif-4.1.0/vif_plug_ovs/ovsdb}/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/ovsdb/api.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/ovsdb/impl_idl.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/ovsdb/impl_vsctl.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/privsep.py +0 -0
- {os_vif-3.7.0/vif_plug_ovs → os_vif-4.1.0/vif_plug_ovs/tests}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_ovs/ovsdb → os_vif-4.1.0/vif_plug_ovs/tests/functional}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_ovs/tests → os_vif-4.1.0/vif_plug_ovs/tests/functional/ovsdb}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_ovs/tests/functional → os_vif-4.1.0/vif_plug_ovs/tests/unit}/__init__.py +0 -0
- {os_vif-3.7.0/vif_plug_ovs/tests/functional → os_vif-4.1.0/vif_plug_ovs/tests/unit}/ovsdb/__init__.py +0 -0
- {os_vif-3.7.0 → os_vif-4.1.0}/vif_plug_ovs/tests/unit/test_linux_net.py +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
repos:
|
|
3
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
4
|
+
rev: v5.0.0
|
|
5
|
+
hooks:
|
|
6
|
+
- id: trailing-whitespace
|
|
7
|
+
- id: mixed-line-ending
|
|
8
|
+
args: ['--fix', 'lf']
|
|
9
|
+
exclude: '.*\.(svg)$'
|
|
10
|
+
- id: check-byte-order-marker
|
|
11
|
+
- id: check-executables-have-shebangs
|
|
12
|
+
- id: check-merge-conflict
|
|
13
|
+
- id: debug-statements
|
|
14
|
+
- id: check-yaml
|
|
15
|
+
files: .*\.(yaml|yml)$
|
|
16
|
+
exclude: '^zuul.d/.*$'
|
|
17
|
+
- repo: https://opendev.org/openstack/hacking
|
|
18
|
+
rev: 7.0.0
|
|
19
|
+
hooks:
|
|
20
|
+
- id: hacking
|
|
21
|
+
additional_dependencies: []
|
|
22
|
+
exclude: '^(doc|releasenotes)/.*$'
|
|
@@ -120,44 +120,14 @@
|
|
|
120
120
|
os_vif_ovs:
|
|
121
121
|
per_port_bridge: true
|
|
122
122
|
|
|
123
|
+
# TODO(gmann): As per the 2025.1 testing runtime, we need to run at least
|
|
124
|
+
# one job on Focal. This job can be removed in the nexy cycle (2025.2)
|
|
123
125
|
- job:
|
|
124
|
-
name: os-vif-
|
|
125
|
-
parent: os-vif-tempest-base
|
|
126
|
+
name: os-vif-ovn-ubuntu-jammy
|
|
126
127
|
description: |
|
|
127
|
-
os-vif
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
# Disable OVN services
|
|
131
|
-
br-ex-tcpdump: false
|
|
132
|
-
br-int-flows: false
|
|
133
|
-
ovn-controller: false
|
|
134
|
-
ovn-northd: false
|
|
135
|
-
ovs-vswitchd: false
|
|
136
|
-
ovsdb-server: false
|
|
137
|
-
q-ovn-metadata-agent: false
|
|
138
|
-
# Neutron services
|
|
139
|
-
q-agt: true
|
|
140
|
-
q-dhcp: true
|
|
141
|
-
q-l3: true
|
|
142
|
-
q-meta: true
|
|
143
|
-
q-metering: true
|
|
144
|
-
devstack_localrc:
|
|
145
|
-
Q_AGENT: linuxbridge
|
|
146
|
-
Q_ML2_PLUGIN_MECHANISM_DRIVERS: linuxbridge
|
|
147
|
-
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
148
|
-
devstack_local_conf:
|
|
149
|
-
post-config:
|
|
150
|
-
"/$NEUTRON_CORE_PLUGIN_CONF":
|
|
151
|
-
experimental:
|
|
152
|
-
linuxbridge: true
|
|
153
|
-
ml2:
|
|
154
|
-
type_drivers: flat,vlan,local,vxlan
|
|
155
|
-
ml2_type_vlan:
|
|
156
|
-
network_vlan_ranges: foo:1:10
|
|
157
|
-
agent:
|
|
158
|
-
tunnel_types: vxlan
|
|
159
|
-
securitygroup:
|
|
160
|
-
firewall_driver: iptables
|
|
128
|
+
os-vif ovn job (tests hybrid-plug=false) testing on Ubuntu Focal(20.04)
|
|
129
|
+
parent: os-vif-ovn
|
|
130
|
+
nodeset: openstack-single-node-jammy
|
|
161
131
|
|
|
162
132
|
- project:
|
|
163
133
|
templates:
|
|
@@ -168,15 +138,13 @@
|
|
|
168
138
|
- openstack-cover-jobs
|
|
169
139
|
check:
|
|
170
140
|
jobs:
|
|
171
|
-
- kuryr-kubernetes-tempest:
|
|
172
|
-
voting: false
|
|
173
141
|
- openstack-tox-functional-ovs-with-sudo
|
|
174
142
|
- os-vif-ovn
|
|
143
|
+
- os-vif-ovn-ubuntu-jammy
|
|
175
144
|
- os-vif-ovs-iptables
|
|
176
|
-
- os-vif-linuxbridge
|
|
177
145
|
gate:
|
|
178
146
|
jobs:
|
|
179
147
|
- openstack-tox-functional-ovs-with-sudo
|
|
180
148
|
- os-vif-ovn
|
|
149
|
+
- os-vif-ovn-ubuntu-jammy
|
|
181
150
|
- os-vif-ovs-iptables
|
|
182
|
-
- os-vif-linuxbridge
|
|
@@ -2,6 +2,7 @@ Adrian Chiris <adrianc@mellanox.com>
|
|
|
2
2
|
Alin Balutoiu <abalutoiu@cloudbasesolutions.com>
|
|
3
3
|
Andreas Jaeger <aj@suse.com>
|
|
4
4
|
Balazs Gibizer <gibi@redhat.com>
|
|
5
|
+
Bence Romsics <bence.romsics@gmail.com>
|
|
5
6
|
Brian Haley <brian.haley@hpe.com>
|
|
6
7
|
Cao Xuan Hoang <hoangcx@vn.fujitsu.com>
|
|
7
8
|
Carlos Goncalves <cgoncalves@redhat.com>
|
|
@@ -47,6 +48,7 @@ Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
|
|
|
47
48
|
Sean Dague <sean@dague.net>
|
|
48
49
|
Sean M. Collins <sean@coreitpro.com>
|
|
49
50
|
Sean Mooney <sean.k.mooney@intel.com>
|
|
51
|
+
Sean Mooney <sean@seanmooney.info>
|
|
50
52
|
Sean Mooney <work@seanmooney.info>
|
|
51
53
|
Sergey Belous <sbelous@mirantis.com>
|
|
52
54
|
Spencer Yu <yushb@gohighsec.com>
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
4.1.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Update gate jobs as per the 2025.1 cycle testing runtime
|
|
8
|
+
* Deprecate linux bridge plugin
|
|
9
|
+
* Drop kuryr-kubernetes-tempest
|
|
10
|
+
* Remove os-vif-linuxbridge
|
|
11
|
+
* Do not add taps in trunk bridges to the dead vlan
|
|
12
|
+
|
|
13
|
+
4.0.0
|
|
14
|
+
-----
|
|
15
|
+
|
|
16
|
+
* Clean up Windows support
|
|
17
|
+
* address test stablity under load
|
|
18
|
+
* reno: Update master for unmaintained/2023.1
|
|
19
|
+
* Integrate pre-commit
|
|
20
|
+
* Remove Python 3.8 support
|
|
21
|
+
* Update master for stable/2024.2
|
|
22
|
+
|
|
4
23
|
3.7.0
|
|
5
24
|
-----
|
|
6
25
|
|
os_vif-4.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: os_vif
|
|
3
|
+
Version: 4.1.0
|
|
4
|
+
Summary: A library for plugging and unplugging virtual interfaces in OpenStack.
|
|
5
|
+
Home-page: https://docs.openstack.org/os-vif/latest/
|
|
6
|
+
Author: OpenStack
|
|
7
|
+
Author-email: openstack-discuss@lists.openstack.org
|
|
8
|
+
Classifier: Environment :: OpenStack
|
|
9
|
+
Classifier: Intended Audience :: Information Technology
|
|
10
|
+
Classifier: Intended Audience :: System Administrators
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: pbr>=3.0.0
|
|
24
|
+
Requires-Dist: oslo.concurrency>=3.20.0
|
|
25
|
+
Requires-Dist: oslo.config>=5.1.0
|
|
26
|
+
Requires-Dist: oslo.log>=3.30.0
|
|
27
|
+
Requires-Dist: oslo.i18n>=3.15.3
|
|
28
|
+
Requires-Dist: oslo.privsep>=1.23.0
|
|
29
|
+
Requires-Dist: oslo.serialization>=2.20.0
|
|
30
|
+
Requires-Dist: oslo.utils>=2.0.0
|
|
31
|
+
Requires-Dist: oslo.versionedobjects>=1.28.0
|
|
32
|
+
Requires-Dist: ovsdbapp>=0.12.1
|
|
33
|
+
Requires-Dist: pyroute2>=0.5.2
|
|
34
|
+
Requires-Dist: stevedore>=1.20.0
|
|
35
|
+
Requires-Dist: debtcollector>=1.19.0
|
|
36
|
+
|
|
37
|
+
========================
|
|
38
|
+
Team and repository tags
|
|
39
|
+
========================
|
|
40
|
+
|
|
41
|
+
.. image:: https://governance.openstack.org/tc/badges/os-vif.svg
|
|
42
|
+
:target: https://governance.openstack.org/tc/reference/tags/index.html
|
|
43
|
+
|
|
44
|
+
.. Change things from this point on
|
|
45
|
+
|
|
46
|
+
======
|
|
47
|
+
os-vif
|
|
48
|
+
======
|
|
49
|
+
|
|
50
|
+
.. image:: https://img.shields.io/pypi/v/os-vif.svg
|
|
51
|
+
:target: https://pypi.org/project/os-vif/
|
|
52
|
+
:alt: Latest Version
|
|
53
|
+
|
|
54
|
+
.. image:: https://img.shields.io/pypi/dm/os-vif.svg
|
|
55
|
+
:target: https://pypi.org/project/os-vif/
|
|
56
|
+
:alt: Downloads
|
|
57
|
+
|
|
58
|
+
A library for plugging and unplugging virtual interfaces in OpenStack.
|
|
59
|
+
|
|
60
|
+
* License: Apache License, Version 2.0
|
|
61
|
+
* Documentation: https://docs.openstack.org/os-vif/latest/
|
|
62
|
+
* Source: https://opendev.org/openstack/os-vif
|
|
63
|
+
* Bugs: https://bugs.launchpad.net/os-vif
|
|
64
|
+
* Release Notes: https://docs.openstack.org/releasenotes/os-vif
|
|
65
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
2
|
+
# not use this file except in compliance with the License. You may obtain
|
|
3
|
+
# a copy of the License at
|
|
4
|
+
#
|
|
5
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
#
|
|
7
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
9
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
10
|
+
# License for the specific language governing permissions and limitations
|
|
11
|
+
# under the License.
|
|
12
|
+
|
|
13
|
+
from oslo_log import log as logging
|
|
14
|
+
|
|
15
|
+
from os_vif.internal.ip.linux.impl_pyroute2 import PyRoute2
|
|
16
|
+
|
|
17
|
+
LOG = logging.getLogger(__name__)
|
|
18
|
+
|
|
19
|
+
ip = PyRoute2()
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
2
|
+
# not use this file except in compliance with the License. You may obtain
|
|
3
|
+
# a copy of the License at
|
|
4
|
+
#
|
|
5
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
#
|
|
7
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
9
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
10
|
+
# License for the specific language governing permissions and limitations
|
|
11
|
+
# under the License.
|
|
12
|
+
|
|
13
|
+
from os_vif.internal.ip import api
|
|
14
|
+
from os_vif.internal.ip.linux import impl_pyroute2
|
|
15
|
+
from os_vif.tests.unit import base
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class TestIpApi(base.TestCase):
|
|
19
|
+
|
|
20
|
+
def test_get_impl(self):
|
|
21
|
+
self.assertIsInstance(api.ip, impl_pyroute2.PyRoute2)
|
|
@@ -105,10 +105,13 @@ class TestOSVIF(base.TestCase):
|
|
|
105
105
|
entry_point="os-vif",
|
|
106
106
|
plugin=DemoPlugin,
|
|
107
107
|
obj=None)
|
|
108
|
-
with mock.patch(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
with mock.patch(
|
|
109
|
+
'stevedore.extension.ExtensionManager.names',
|
|
110
|
+
return_value=['foobar'],
|
|
111
|
+
), mock.patch(
|
|
112
|
+
'stevedore.extension.ExtensionManager.__getitem__',
|
|
113
|
+
return_value=plg,
|
|
114
|
+
):
|
|
112
115
|
os_vif.initialize()
|
|
113
116
|
info = objects.instance_info.InstanceInfo()
|
|
114
117
|
vif = objects.vif.VIFBridge(
|
|
@@ -123,10 +126,13 @@ class TestOSVIF(base.TestCase):
|
|
|
123
126
|
entry_point="os-vif",
|
|
124
127
|
plugin=DemoPlugin,
|
|
125
128
|
obj=None)
|
|
126
|
-
with mock.patch(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
with mock.patch(
|
|
130
|
+
'stevedore.extension.ExtensionManager.names',
|
|
131
|
+
return_value=['foobar']
|
|
132
|
+
), mock.patch(
|
|
133
|
+
'stevedore.extension.ExtensionManager.__getitem__',
|
|
134
|
+
return_value=plg,
|
|
135
|
+
):
|
|
130
136
|
os_vif.initialize()
|
|
131
137
|
info = objects.instance_info.InstanceInfo()
|
|
132
138
|
vif = objects.vif.VIFBridge(
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: os_vif
|
|
3
|
+
Version: 4.1.0
|
|
4
|
+
Summary: A library for plugging and unplugging virtual interfaces in OpenStack.
|
|
5
|
+
Home-page: https://docs.openstack.org/os-vif/latest/
|
|
6
|
+
Author: OpenStack
|
|
7
|
+
Author-email: openstack-discuss@lists.openstack.org
|
|
8
|
+
Classifier: Environment :: OpenStack
|
|
9
|
+
Classifier: Intended Audience :: Information Technology
|
|
10
|
+
Classifier: Intended Audience :: System Administrators
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: pbr>=3.0.0
|
|
24
|
+
Requires-Dist: oslo.concurrency>=3.20.0
|
|
25
|
+
Requires-Dist: oslo.config>=5.1.0
|
|
26
|
+
Requires-Dist: oslo.log>=3.30.0
|
|
27
|
+
Requires-Dist: oslo.i18n>=3.15.3
|
|
28
|
+
Requires-Dist: oslo.privsep>=1.23.0
|
|
29
|
+
Requires-Dist: oslo.serialization>=2.20.0
|
|
30
|
+
Requires-Dist: oslo.utils>=2.0.0
|
|
31
|
+
Requires-Dist: oslo.versionedobjects>=1.28.0
|
|
32
|
+
Requires-Dist: ovsdbapp>=0.12.1
|
|
33
|
+
Requires-Dist: pyroute2>=0.5.2
|
|
34
|
+
Requires-Dist: stevedore>=1.20.0
|
|
35
|
+
Requires-Dist: debtcollector>=1.19.0
|
|
36
|
+
|
|
37
|
+
========================
|
|
38
|
+
Team and repository tags
|
|
39
|
+
========================
|
|
40
|
+
|
|
41
|
+
.. image:: https://governance.openstack.org/tc/badges/os-vif.svg
|
|
42
|
+
:target: https://governance.openstack.org/tc/reference/tags/index.html
|
|
43
|
+
|
|
44
|
+
.. Change things from this point on
|
|
45
|
+
|
|
46
|
+
======
|
|
47
|
+
os-vif
|
|
48
|
+
======
|
|
49
|
+
|
|
50
|
+
.. image:: https://img.shields.io/pypi/v/os-vif.svg
|
|
51
|
+
:target: https://pypi.org/project/os-vif/
|
|
52
|
+
:alt: Latest Version
|
|
53
|
+
|
|
54
|
+
.. image:: https://img.shields.io/pypi/dm/os-vif.svg
|
|
55
|
+
:target: https://pypi.org/project/os-vif/
|
|
56
|
+
:alt: Downloads
|
|
57
|
+
|
|
58
|
+
A library for plugging and unplugging virtual interfaces in OpenStack.
|
|
59
|
+
|
|
60
|
+
* License: Apache License, Version 2.0
|
|
61
|
+
* Documentation: https://docs.openstack.org/os-vif/latest/
|
|
62
|
+
* Source: https://opendev.org/openstack/os-vif
|
|
63
|
+
* Bugs: https://bugs.launchpad.net/os-vif
|
|
64
|
+
* Release Notes: https://docs.openstack.org/releasenotes/os-vif
|
|
65
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.coveragerc
|
|
2
2
|
.mailmap
|
|
3
|
+
.pre-commit-config.yaml
|
|
3
4
|
.stestr.conf
|
|
4
5
|
.zuul.yaml
|
|
5
6
|
AUTHORS
|
|
@@ -46,8 +47,6 @@ os_vif/internal/ip/api.py
|
|
|
46
47
|
os_vif/internal/ip/ip_command.py
|
|
47
48
|
os_vif/internal/ip/linux/__init__.py
|
|
48
49
|
os_vif/internal/ip/linux/impl_pyroute2.py
|
|
49
|
-
os_vif/internal/ip/windows/__init__.py
|
|
50
|
-
os_vif/internal/ip/windows/impl_netifaces.py
|
|
51
50
|
os_vif/objects/__init__.py
|
|
52
51
|
os_vif/objects/base.py
|
|
53
52
|
os_vif/objects/fields.py
|
|
@@ -79,8 +78,6 @@ os_vif/tests/unit/internal/ip/__init__.py
|
|
|
79
78
|
os_vif/tests/unit/internal/ip/test_api.py
|
|
80
79
|
os_vif/tests/unit/internal/ip/linux/__init__.py
|
|
81
80
|
os_vif/tests/unit/internal/ip/linux/test_impl_pyroute2.py
|
|
82
|
-
os_vif/tests/unit/internal/ip/windows/__init__.py
|
|
83
|
-
os_vif/tests/unit/internal/ip/windows/test_impl_netifaces.py
|
|
84
81
|
playbooks/openstack-tox-functional-ovs-with-sudo/Debian.yaml
|
|
85
82
|
playbooks/openstack-tox-functional-ovs-with-sudo/Gentoo.yaml
|
|
86
83
|
playbooks/openstack-tox-functional-ovs-with-sudo/RedHat.yaml
|
|
@@ -99,6 +96,7 @@ releasenotes/notes/bug-1892132-812e6d5ce0588ebb.yaml
|
|
|
99
96
|
releasenotes/notes/contextlib-and-nested-with-statements-2747a9ebb9a5bfd7.yaml
|
|
100
97
|
releasenotes/notes/default-qos-policy-for-ovs-26f8806046a59c82.yaml
|
|
101
98
|
releasenotes/notes/default-to-native-ovsdb-driver-112fb5adf6e19a30.yaml
|
|
99
|
+
releasenotes/notes/deprecate-linuxbridge-support-d278d4bbdff8e8bc.yaml
|
|
102
100
|
releasenotes/notes/deprecate-windows-support-49f5ca1b1a1f4d66.yaml
|
|
103
101
|
releasenotes/notes/do-not-force-mac-ageing-c6e8d750130c5740.yaml
|
|
104
102
|
releasenotes/notes/drop-py36-support-0e9b07073f6ad73f.yaml
|
|
@@ -116,6 +114,8 @@ releasenotes/notes/per-port-bridge-c6a50179a0256de3.yaml
|
|
|
116
114
|
releasenotes/notes/port-profile-info-linux-bridge-4800f5a0b7328615.yaml
|
|
117
115
|
releasenotes/notes/port-profile-info-ovs-63b46a3eafc11de2.yaml
|
|
118
116
|
releasenotes/notes/prevent-lb-reply-arp-6459133bfb056069.yaml
|
|
117
|
+
releasenotes/notes/remove-py38-e0701b3363079bbf.yaml
|
|
118
|
+
releasenotes/notes/remove-windows-23df1c587d505d72.yaml
|
|
119
119
|
releasenotes/notes/remove_iptools_implementation-2eb866573a680e61.yaml
|
|
120
120
|
releasenotes/notes/revert-always-plug-port-for-ovs-hybrid-plug-false-dc015985cbc5443b.yaml
|
|
121
121
|
releasenotes/notes/vhost-user-mtu-support-cbc7d02a6665fab1.yaml
|
|
@@ -123,6 +123,7 @@ releasenotes/notes/vhost-user-reconnect-fa4cbb731b787f71.yaml
|
|
|
123
123
|
releasenotes/source/2023.1.rst
|
|
124
124
|
releasenotes/source/2023.2.rst
|
|
125
125
|
releasenotes/source/2024.1.rst
|
|
126
|
+
releasenotes/source/2024.2.rst
|
|
126
127
|
releasenotes/source/conf.py
|
|
127
128
|
releasenotes/source/index.rst
|
|
128
129
|
releasenotes/source/newton.rst
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "acdd974", "is_release": true}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
pbr>=3.0.0
|
|
2
2
|
oslo.concurrency>=3.20.0
|
|
3
3
|
oslo.config>=5.1.0
|
|
4
|
-
oslo.i18n>=3.15.3
|
|
5
4
|
oslo.log>=3.30.0
|
|
5
|
+
oslo.i18n>=3.15.3
|
|
6
6
|
oslo.privsep>=1.23.0
|
|
7
7
|
oslo.serialization>=2.20.0
|
|
8
8
|
oslo.utils>=2.0.0
|
|
9
9
|
oslo.versionedobjects>=1.28.0
|
|
10
10
|
ovsdbapp>=0.12.1
|
|
11
|
-
pbr>=3.0.0
|
|
12
|
-
stevedore>=1.20.0
|
|
13
|
-
|
|
14
|
-
[:(sys_platform!='win32')]
|
|
15
11
|
pyroute2>=0.5.2
|
|
12
|
+
stevedore>=1.20.0
|
|
13
|
+
debtcollector>=1.19.0
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
deprecations:
|
|
3
|
+
- |
|
|
4
|
+
The LinuxBridge mechanism driver has been removed in neutron. os-vif has a
|
|
5
|
+
policy of only shipping plugins for in-tree neutron ml2 drivers. As a result
|
|
6
|
+
the linux_bridge os-vif plugin is now deprecated and will be removed in
|
|
7
|
+
a future openstack release.
|
{os_vif-3.7.0 → os_vif-4.1.0}/releasenotes/notes/fix-stevedore-entrypoints-8002ec7a5166c977.yaml
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
fixes:
|
|
3
|
-
- os-vif plugins were previously incorrectly registered
|
|
3
|
+
- os-vif plugins were previously incorrectly registered
|
|
4
4
|
in both the setup.py and setup.cfg. All plugin registration
|
|
5
5
|
have been removed form the setup.py as they were not used
|
|
6
6
|
and may have blocked registration of out of tree plugins.
|
|
@@ -5,7 +5,7 @@ description_file = README.rst
|
|
|
5
5
|
author = OpenStack
|
|
6
6
|
author_email = openstack-discuss@lists.openstack.org
|
|
7
7
|
home_page = https://docs.openstack.org/os-vif/latest/
|
|
8
|
-
python_requires = >=3.
|
|
8
|
+
python_requires = >=3.9
|
|
9
9
|
classifier =
|
|
10
10
|
Environment :: OpenStack
|
|
11
11
|
Intended Audience :: Information Technology
|
|
@@ -15,10 +15,10 @@ classifier =
|
|
|
15
15
|
Programming Language :: Python
|
|
16
16
|
Programming Language :: Python :: 3
|
|
17
17
|
Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Programming Language :: Python :: 3.8
|
|
19
18
|
Programming Language :: Python :: 3.9
|
|
20
19
|
Programming Language :: Python :: 3.10
|
|
21
20
|
Programming Language :: Python :: 3.11
|
|
21
|
+
Programming Language :: Python :: 3.12
|
|
22
22
|
Programming Language :: Python :: Implementation :: CPython
|
|
23
23
|
|
|
24
24
|
[files]
|
|
@@ -5,6 +5,8 @@ envlist = py3,pep8,docs,releasenotes,cover
|
|
|
5
5
|
[testenv]
|
|
6
6
|
usedevelop = True
|
|
7
7
|
setenv =
|
|
8
|
+
passenv =
|
|
9
|
+
OS_VIF_CHECK_PARAMETER_TIMEOUT
|
|
8
10
|
deps =
|
|
9
11
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
10
12
|
-r{toxinidir}/requirements.txt
|
|
@@ -55,9 +57,13 @@ commands =
|
|
|
55
57
|
coverage report
|
|
56
58
|
|
|
57
59
|
[testenv:pep8]
|
|
60
|
+
description =
|
|
61
|
+
Run style checks.
|
|
62
|
+
skip_install = true
|
|
58
63
|
deps =
|
|
59
|
-
|
|
60
|
-
commands =
|
|
64
|
+
pre-commit
|
|
65
|
+
commands =
|
|
66
|
+
pre-commit run --all-files --show-diff-on-failure
|
|
61
67
|
|
|
62
68
|
[flake8]
|
|
63
69
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
# License for the specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
+
import debtcollector.removals
|
|
20
21
|
from os_vif import objects
|
|
21
22
|
from os_vif import plugin
|
|
22
23
|
from oslo_config import cfg
|
|
@@ -94,6 +95,10 @@ class LinuxBridgePlugin(plugin.PluginBase):
|
|
|
94
95
|
supported_port_profiles=[]),
|
|
95
96
|
])
|
|
96
97
|
|
|
98
|
+
@debtcollector.removals.remove(
|
|
99
|
+
message="LinuxBridgePlugin is deprecated and will be removed in "
|
|
100
|
+
"a future release",
|
|
101
|
+
category=DeprecationWarning)
|
|
97
102
|
def plug(self, vif, instance_info):
|
|
98
103
|
"""Ensure that the bridge exists, and add VIF to it."""
|
|
99
104
|
network = vif.network
|
|
@@ -111,6 +116,10 @@ class LinuxBridgePlugin(plugin.PluginBase):
|
|
|
111
116
|
linux_net.ensure_bridge(bridge_name, iface,
|
|
112
117
|
filtering=install_filters, mtu=mtu)
|
|
113
118
|
|
|
119
|
+
@debtcollector.removals.remove(
|
|
120
|
+
message="LinuxBridgePlugin is deprecated and will be removed in "
|
|
121
|
+
"a future release",
|
|
122
|
+
category=DeprecationWarning)
|
|
114
123
|
def unplug(self, vif, instance_info):
|
|
115
124
|
# Nothing required to unplug a port for a VIF using standard
|
|
116
125
|
# Linux bridge device...
|
|
@@ -22,14 +22,12 @@
|
|
|
22
22
|
import glob
|
|
23
23
|
import os
|
|
24
24
|
import re
|
|
25
|
-
import sys
|
|
26
25
|
|
|
27
26
|
from os_vif.internal.ip.api import ip as ip_lib
|
|
28
27
|
from oslo_concurrency import processutils
|
|
29
28
|
from oslo_log import log as logging
|
|
30
29
|
from oslo_utils import excutils
|
|
31
30
|
|
|
32
|
-
from vif_plug_ovs import constants
|
|
33
31
|
from vif_plug_ovs import exception
|
|
34
32
|
from vif_plug_ovs import privsep
|
|
35
33
|
|
|
@@ -55,12 +53,7 @@ NIC_NAME_LEN = 14
|
|
|
55
53
|
def _update_device_mtu(dev, mtu):
|
|
56
54
|
if not mtu:
|
|
57
55
|
return
|
|
58
|
-
|
|
59
|
-
# Hyper-V with OVS does not support external programming of
|
|
60
|
-
# virtual interface MTUs via netsh or other Windows tools.
|
|
61
|
-
# When plugging an interface on Windows, we therefore skip
|
|
62
|
-
# programming the MTU and fallback to DHCP advertisement.
|
|
63
|
-
set_device_mtu(dev, mtu)
|
|
56
|
+
set_device_mtu(dev, mtu)
|
|
64
57
|
|
|
65
58
|
|
|
66
59
|
@privsep.vif_plug.entrypoint
|