We enthusiastically announce the release of: neutron-lib 2.5.0: Neutron shared routines and utilities This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/neutron-lib Download the package from: https://pypi.org/project/neutron-lib Please report issues through: https://bugs.launchpad.net/neutron/+bugs For more details, please see below. 2.5.0 ^^^^^ New Features * Add an API extension "address-groups" that enables users to aggregate IP address blocks into an address group object which can be later referenced when creating other resources. * Add an API extension "security-groups-normalized-cidr" that adds new, read-only attribute "normalized_cidr" to the security group rules. * Add keyword "is_sort_key" to agents. Make the agent's attribute can be used as a sort key for sorting list result. * Add "supported_extensions" method to "MechanismDriver". This method provides an standard API to implement, per mechanism driver, a way to filter the supported extensions. By default, this method will return the same set of extensions passed. * New API definition: "port-numa-affinity-policy". The new field added to "ports" API, "numa_affinity_policy", represents the NUMA affinity policy requested by this port during the virtual machine scheduling. Values: None, "required", "preferred", "legacy". * The API extension "uplink-status-propagation" has changed the default value of "propagate_uplink_status" from False to True. Now, when this extension is enabled, the VF link state will be set, by default, to "auto", following the PF link state. This change will affect only new ports; existing ports will keep their current value. Changes in neutron-lib 2.4.0..2.5.0 ----------------------------------- 1f06863 Change "propagate_uplink_status" default value to True a3961d7 New api-def: port-numa-affinity-policy 6ae3942 Add address group exceptions b64d4e2 Add DEVICE_OWNER_ROUTED constant 750141e API definition for SG group rules address groups. 8ae0c1f Add API definition for SG rule's normalized_cidr field b4e33e5 Add "supported_extensions" method to MechanismDriver 5b03597 Neutron agent-list API added with sort_key keyword 4f17bc1 Change policy on neutron-lib migration 60eab57 Metadata addresses 3d6e16d [FWaaS] Add note about deprecation of the neutron-fwaas project Diffstat (except docs and test files) ------------------------------------- api-ref/source/v2/agents.inc | 2 + api-ref/source/v2/fwaas-v2.inc | 9 +++ api-ref/source/v2/parameters.yaml | 33 +++++++++ api-ref/source/v2/ports.inc | 21 +++++- neutron_lib/api/definitions/__init__.py | 8 +++ neutron_lib/api/definitions/address_group.py | 83 ++++++++++++++++++++++ neutron_lib/api/definitions/agent_sort_key.py | 36 ++++++++++ .../api/definitions/port_numa_affinity_policy.py | 45 ++++++++++++ neutron_lib/api/definitions/portbindings.py | 2 + .../definitions/security_groups_normalized_cidr.py | 46 ++++++++++++ .../api/definitions/uplink_status_propagation.py | 2 +- neutron_lib/constants.py | 26 ++++++- neutron_lib/exceptions/__init__.py | 14 ++++ neutron_lib/exceptions/address_group.py | 30 ++++++++ neutron_lib/plugins/ml2/api.py | 15 ++++ .../unit/api/definitions/test_address_group.py | 20 ++++++ .../unit/api/definitions/test_agent_sort_key.py | 25 +++++++ .../definitions/test_port_numa_affinity_policy.py | 22 ++++++ .../test_security_groups_normalized_cidr.py | 22 ++++++ ...d-extension-address-group-5e306d90666982aa.yaml | 6 ++ ...ty-groups-normalized-cidr-ef7521b226090d7e.yaml | 5 ++ .../notes/bug-1877254-2b997b3911e98079.yaml | 5 ++ ...iver_supported_extensions-67e1b0b763571ae9.yaml | 7 ++ ...port-numa-affinity-policy-9e6d1bafd3c6af36.yaml | 7 ++ ...k_status_defaults_to_true-07dcdc20f20db594.yaml | 9 +++ 26 files changed, 504 insertions(+), 47 deletions(-)
participants (1)
-
no-reply@openstack.org