We are delighted to announce the release of: neutron-lib 2.12.0: Neutron shared routines and utilities This release is part of the xena 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.12.0 ^^^^^^ New Features * Adding new API extension for QoS service plugin to allow CURD actions for packet rate limit (packet per second) rule. * The "ecmp_routes" extension API definition has been added as "neutron_lib.api.definitions.ecmp". * Improved "port" API with a MAC address conversion method that sanitizes the value. The output format will be EUI-48, represented with colons and in lower case, for example, 01:23:45:67:89:ab. * The API definitions of "neutron-dynamic-routing", "bgp", "bgp_4byte_asn" and "bgp_dragent_scheduler", are now available in "neutron_lib.api.definitions". Changes in neutron-lib 2.11.0..2.12.0 ------------------------------------- db45b92 Adds API extension for QoS rule type pps a057780 Remove warning about session with and without enginefacade cb23644 Change minversion of tox to 3.18.0 b2e449e setup.cfg: Replace dashes with underscores 00b6c24 Move bgp api-def to neutron-lib dc91446 Add "cache_ok=False" flag to TypeDecorator TruncatedDateTime() 823397a Fix "abstractmethod" definitions and deprecate "abstractproperty" 40cc71c api-ref: trivial: fix requiered -> required typo 9d3cac1 Modify "port.mac_address" API definition a165d96 Allow lazy load in model_query ba36d60 Fix pylint>=2.8.0 error R1732 "consider-using-with" 590f3f1 Add shim extension for ECMP Diffstat (except docs and test files) ------------------------------------- api-ref/source/v2/bgp_peer.inc | 169 ++++++++++ api-ref/source/v2/bgp_speaker.inc | 375 +++++++++++++++++++++ api-ref/source/v2/index.rst | 5 + api-ref/source/v2/parameters.yaml | 204 ++++++++++- api-ref/source/v2/qos.inc | 213 ++++++++++++ .../v2/samples/bgp/bgp_peer-create-request.json | 8 + .../v2/samples/bgp/bgp_peer-create-response.json | 10 + .../v2/samples/bgp/bgp_peer-list-response.json | 12 + .../v2/samples/bgp/bgp_peer-show-response.json | 10 + .../v2/samples/bgp/bgp_speaker-create-request.json | 7 + .../samples/bgp/bgp_speaker-create-response.json | 15 + .../v2/samples/bgp/bgp_speaker-list-response.json | 30 ++ .../v2/samples/bgp/bgp_speaker-show-response.json | 15 + .../v2/samples/bgp/bgp_speaker-update-request.json | 7 + .../bgp/bgp_speaker_add_network-request.json | 3 + .../bgp/bgp_speaker_add_network-response.json | 3 + .../samples/bgp/bgp_speaker_add_peer-request.json | 3 + .../samples/bgp/bgp_speaker_add_peer-response.json | 3 + .../bgp_speaker_list_dragent_host-response.json | 25 ++ .../bgp/bgp_speaker_list_routes-response.json | 8 + .../bgp/bgp_speaker_remove_peer-request.json | 3 + .../qos/packet_rate_limit_rule-create-request.json | 6 + .../packet_rate_limit_rule-create-response.json | 8 + .../qos/packet_rate_limit_rule-show-response.json | 8 + .../qos/packet_rate_limit_rule-update-request.json | 6 + .../packet_rate_limit_rule-update-response.json | 8 + .../qos/packet_rate_limit_rules-list-response.json | 10 + neutron_lib/api/converters.py | 14 + neutron_lib/api/definitions/__init__.py | 10 + neutron_lib/api/definitions/base.py | 2 +- neutron_lib/api/definitions/bgp.py | 132 ++++++++ neutron_lib/api/definitions/bgp_4byte_asn.py | 47 +++ .../api/definitions/bgp_dragentscheduler.py | 32 ++ neutron_lib/api/definitions/ecmp_routes.py | 28 ++ neutron_lib/api/definitions/port.py | 2 + neutron_lib/api/definitions/qos_pps_rule.py | 76 +++++ neutron_lib/constants.py | 7 + neutron_lib/context.py | 18 +- neutron_lib/db/api.py | 3 +- neutron_lib/db/model_query.py | 27 +- neutron_lib/db/sqlalchemytypes.py | 2 + neutron_lib/fixture.py | 5 +- neutron_lib/plugins/ml2/api.py | 113 +++---- neutron_lib/services/qos/constants.py | 4 + .../unit/api/definitions/test_bgp_4byte_asn.py | 21 ++ .../api/definitions/test_bgp_dragentscheduler.py | 19 ++ .../unit/api/definitions/test_qos_pps_rule.py | 33 ++ .../add_qos_pps_rule_api_def-dae7c6e67904781b.yaml | 5 + .../notes/l3-support-ecmp-91a8aa61e3a73037.yaml | 4 + .../port-mac-sanitization-d2b6ee77b66cb815.yaml | 6 + ...me-dynamic-routing-apidef-3d78ae209ec59858.yaml | 5 + setup.cfg | 8 +- tox.ini | 10 +- 56 files changed, 1763 insertions(+), 105 deletions(-)
participants (1)
-
no-reply@openstack.org