neutron-lib 3.7.0 (bobcat)
We are gleeful to announce the release of:
neutron-lib 3.7.0: Neutron shared routines and utilities
This release is part of the bobcat 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.
3.7.0 ^^^^^
New Features ************
* Add new API extension "security-groups-rules-belongs-to-default- sg" that adds a new read only field "belongs_to_default_sg" in the security group rules. This flag determines if this security group rule belongs to the project's default security group.
* The "port-hardware-offload" extension adds "hardware_offload_type" attribute to the port resource. This new attribute stores the type of hardware offload the port is going to use and will be populated in the port binding profile information with "'capabilities': [<hardware_offload_type>]". This extension is still not read by Nova; this is the reason Neutron still populates the port binding profile. The value of this parameter will not be updated if the port binding profile information is updated.
Other Notes ***********
* Resource "network" was added to the "EXT_PARENT_RESOURCE_MAPPING in ``neutron_lib.services.constants".
Changes in neutron-lib 3.6.1..3.7.0 -----------------------------------
c965b18 Add short warning about UUIDs in the SG rule templates api a014720 Add "network" to the EXT_PARENT_RESOURCE_MAPPING c4be8ca Add subnet onboard API ref 972fbdd Add port hardware offload extension 1763eee Remove unnecessary required extension for "network_ha" extension 7da72b7 Add new SG rule ext. ``security-groups-rules-belongs-to-default-sg`` fc68d74 Add FirewallGroupPortNotSupported exception 9f72a47 api-ref: add api-ref for bindings 4b9753d [API REF] Add api-ref documentation for default SG rules API 829e970 Add a "GROUP BY" clause on queries with RBAC entries 64cfdac Add FIPAssociated exception 1ccebda Introduce "HasProjectPrimaryUniqueKey" class
Diffstat (except docs and test files) -------------------------------------
api-ref/source/v2/index.rst | 3 + api-ref/source/v2/parameters.yaml | 102 ++++++++++ api-ref/source/v2/port_bindings.inc | 131 +++++++++++++ api-ref/source/v2/ports.inc | 8 + .../port-binding-activate-response.json | 16 ++ .../port_bindings/port-binding-create-request.json | 5 + .../port-binding-create-response.json | 16 ++ .../port_bindings/port-binding-list-response.json | 18 ++ .../samples/ports/port-bind-create-response.json | 3 +- .../v2/samples/ports/port-bind-show-response.json | 3 +- .../samples/ports/port-bind-update-response.json | 3 +- .../v2/samples/ports/port-create-request.json | 3 +- .../v2/samples/ports/port-create-response.json | 3 +- ...port-remove-allowed-address-pairs-response.json | 3 +- .../v2/samples/ports/port-show-response.json | 3 +- .../v2/samples/ports/port-update-response.json | 3 +- .../v2/samples/ports/ports-bind-list-response.json | 6 +- .../samples/ports/ports-bulk-create-request.json | 3 +- .../samples/ports/ports-bulk-create-response.json | 6 +- ...security-group-default-rule-create-request.json | 9 + ...ecurity-group-default-rule-create-response.json | 16 ++ ...group-default-rule-delete-request-json-http.txt | 3 + ...roup-default-rule-delete-response-json-http.txt | 1 + ...y-group-default-rule-show-request-json-http.txt | 2 + .../security-group-default-rule-show-response.json | 16 ++ ...-group-default-rules-list-request-json-http.txt | 2 + ...security-group-default-rules-list-response.json | 88 +++++++++ .../security-group-create-response.json | 6 +- .../security-group-rule-create-response.json | 3 +- .../security-group-rule-show-response.json | 3 +- .../security-group-rules-list-response.json | 12 +- .../security-group-show-response.json | 12 +- .../security-group-update-response.json | 3 +- .../security-groups-list-response.json | 12 +- .../samples/subnets/subnets-onboard-request.json | 1 + .../samples/subnets/subnets-onboard-response.json | 4 + api-ref/source/v2/security-group-rules.inc | 9 + .../source/v2/security_groups_default_rules.inc | 215 +++++++++++++++++++++ api-ref/source/v2/subnet_onboard_ops.inc | 46 +++++ neutron_lib/api/definitions/__init__.py | 5 + neutron_lib/api/definitions/network_ha.py | 3 +- .../api/definitions/port_hardware_offload_type.py | 50 +++++ .../security_groups_rules_belongs_to_default_sg.py | 52 +++++ neutron_lib/constants.py | 5 + neutron_lib/db/model_query.py | 9 + neutron_lib/exceptions/firewall_v2.py | 5 + neutron_lib/exceptions/l3.py | 12 ++ neutron_lib/services/constants.py | 2 + .../api/definitions/test_port_hardware_offload.py | 22 +++ ..._security_groups_rules_belongs_to_default_sg.py | 23 +++ ...les-belongs-to-default-sg-36a5ac28831101e6.yaml | 7 + .../add-vif-type-agilio-ovs-6bee5b2557aca10e.yaml | 2 +- ...tio-forwarder-portbinding-f7f87dfbef456ed1.yaml | 2 +- ...n-parent-resource-mapping-0bc57f9bb54d1dc9.yaml | 5 + .../port-hardware-offload-388906d9448426ad.yaml | 11 ++ .../portbindings-apidef-3d7893bcb94d7f61.yaml | 4 +- 56 files changed, 984 insertions(+), 36 deletions(-)
participants (1)
-
no-reply@openstack.org