Current Series Release Notes¶
3.22.0-13¶
New Features¶
New base class
ovn.db_sync.BaseOvnDbSynchronizerwas added. This new class should be used by the projects providing sync plugins for the ovn_db_sync CLI tool.
New attribute
can_set_project_idis added to the context object. Value of this attribute is set based on the API policy rulecontext_can_set_project_idand should be used in case when there are custom roles with granted permission to send project_id in the request body of the POST requests to create resources for other projects. For example,network_adminrole which should have persmission to create networks for all projects in the cloud. By defaultcontext.can_set_project_idis granted to no one and only admin and service users can send project_id in the request body.
Add a new API extension,
network-ip-availability-details, that adds theip_availability_detailsattribute to network IP availabilities. The value of this attribute contains detailed information about the network IP usage statistics.
The class
PortHardwareOffloadTypeEnumFieldis now available inneutron_lib.objects.common_types.
Deprecation Notes¶
Parameter
is_advsvcof thecontext.Contextobject is deprecated and will be removed in the future once support for the old RBAC API policies will be removed from Neutron. Please useis_service_roleinstead to force setting Context object as service context.
Other Notes¶
Constant
ACCESS_READONLYwhich represented RBAC action access as readonly was removed. This constant was added as part of the RFE Allow sharing security groups as read-only but was never fully implemented and is not needed anymore.
Avoid the duplicated method registration in class methods decorated with
resource_extend.has_resource_extenders. Before registering a new extended method, it is first checked if this method is already registered. See bug: 2127835.