Queens Series Release Notes¶
1.13.0¶
New Features¶
Add
ip-substring-filtering
API extension. This extension provides the ability to filter ports with an IP address substring.
Updated fwaas API extension definition to include previously missing ability to specify remote firewall groups for ingress and egress traffic. When a firewall group rule specifies a remote group, for example an ingress rule in fwgA specifies a remote group of fwgB, that means only packets from fwgB could match this ingress rule.
This adds two new events
PRECOMMIT_ADD_ASSOCIATION
,PRECOMMIT_DELETE_ASSOCIATIONS
and a resourceROUTER_CONTROLLER
.
Moving the leftover DVR related constants from
neutron.common.constants
. The constantsL3_AGENT_MODE_DVR_NO_EXTERNAL
andDVR_SNAT_BOUND
are now available inneutron_lib.constants
.
The publically consumed API’s from
neutron.plugins.common.utils
are now available inneutron_lib.plugins.utils
.
The
NetworkVlanRangeError
andPhysicalNetworkNameError
exception classes are now available inneutron_lib.exceptions
.
The
qos-rule-type-details
extension’s API definition is now available inneutron_lib.api.definitions.qos_rule_type_details
.
The
revision-if-match
extension’s API definition is now available inneutron_lib.api.definitions.revisionifmatch
.
The
router-service-type
extension’s API definition is now available inneutron_lib.api.definitions.routerservicetype
.
The
segment
extension’s API definition is now available inneutron_lib.api.definitions.segment
.
The
SHARED
constant is now available inneutron_lib.constants
.
The
sorting
extension’s API definition is now available inneutron_lib.api.definitions.sorting
.
The public constants and
get_topic_name
function fromneutron.common.topics
are now available inneutron_lib.agent.topics
.
1.12.0¶
New Features¶
Adds the IP-in-IP protocol under the name
ipip
to the list of protocols supported in security group rules.
A new
PORT_BINDING
resource definition has been added toneutron_lib.callbacks.resources
, to enable the multiple port binding service plugin to notify the core plugin and other subscribers when create, update and delete operations are performed on a port binding.
A new abstract method
ha_state_change
has been added toL3AgentExtension
.
The
multi-provider
extension’s API definition is available inneutron_lib.api.defintions.multiprovidernet
.
Exceptions for the
multi-provider
extension can be found inneutron_lib.exceptions.multiprovidernet
.
The validation type
type:network_segments
is now available for API attribute validation.
The neutron placement API client is now available as
neutron_lib.clients.placement
.
A new fixture for testing placement API calls has been added as
neutron_lib.fixtures.PlacementAPIClientFixture
.
The
qos-default
extension’s API definition is now available inneutron_lib.api.definitions.qos_default
.
The
rbac-policy
callback resource now available asneutron_lib.callbacks.resources.RBAC_POLICY
.
The
service-type
extension’s API definition is now available inneutron_lib.api.definitions.servicetype
.
The
vlan-transparent
extension’s API definition is now available inneutron_lib.api.definitions.vlantransparent
.
The
get_vlan_transparent
function from thevlan-transparent
extension is available inneutron_lib.api.definitions.vlantransparent
.
The
subnet_onboard
API definition now supports creating and updating subnets
All methods defined in
APIExtensionDescriptor
are now class methods. This allows consumers to call them without a reference to an actual extension object instance.
Bug Fixes¶
Bug 1738371 is fixed by comparing min port and max port in port range specification as integers instead of strings, during port range validation.
The
get_extended_resources
method of theAPIExtensionDescriptor
was updated to also include the underlying API definition’sSUB_RESOURCE_ATTRIBUTE_MAP
in the returned dict. As a result, theupdate_attributes_map
method now also includes the sub-resources if noextension_attrs_map
is passed to it.
1.11.0¶
New Features¶
The
bgpvpn-vni
API extension adds thevni
optional attribute tobgpvpn
objects to control the VXLAN VNI when VXLAN encapsulation is used.
The
flavors
API definition is now available inneutron_lib.api.definitions.flavors
.
A new
type:service_plugin_type
validator has been added that allows a service plugin to be validated at runtime by checking theneutron_lib.plugins.directory
.
Exceptions related to the
flavor
API have been added toneutron_lib.exceptions.flavors
except forInvalidFlavorServiceType
which is now a genericInvalidServiceType
inneutron_lib.exceptions
.
The
PROVISIONAL_IPV6_PD_PREFIX
constant is now available inneutron_lib.constants
.
Bug Fixes¶
Fixes BGPVPN Interconnection API to not allow the definition of an empty string Route Target (allowing it was simply wrong and unintentional).
Bug 1720046 is fixed by reverting the logic of
neutron_lib.utils.net.get_random_mac
to its original behavior from commit If2539f94b5479f0d6afa64c973082cbe8c5309ac.
1.10.0¶
New Features¶
A new converter
convert_to_string
intoneutron_lib.api.converters
. This method can convert an argument which is not None into string value.
The new
net-mtu-writable
extension API definition has been added asneutron_lib.api.definitions.network_mtu_writable
. The new extension indicates that the networkmtu
attribute is writeable. Plugins supporting the new extension are expected to also supportnet-mtu
.
API reference for
extended port bindings
extension forport
resource.
The
allowed-address-pairs
API definition is now available inneutron_lib.api.definitions.allowedaddresspairs
.
The address pair validation is now available via the
type:allowed_address_pairs
validation type.
Address pair API definition exceptions are available in
neutron_lib.exceptions.allowedaddresspairs
.
The
availability_zone
extension’s API definition is now available inneutron_lib.api.definitions.availability_zone
.
A new API validation type
type:availability_zone_hint_list
has been added and validates a list of availability zone hints.
Exceptions for the
availability_zone
are now available inneutron_lib.exceptions.availability_zone
.
The constant
AZ_HINTS_DB_LEN
has been added toneutron_lib.db.constants
.
The API definition for neutron extension
default-subnetpools
is now available inneutron_lib.api.definitions.default_subnetpools
.
The API definition for the
dvr
extension is now available inneutron_lib.api.defintions.dvr
.
The two
MacAddressGenerationFailure
exceptions are now available asHostMacAddressGenerationFailure
andNetworkMacAddressGenerationFailure
for host and network MAC address generation errors respectively.
The
external-net
API extension’s API definition is now available inneutron_lib.api.definitions.external_net
.
External network related exceptions are now available in
neutron_lib.exceptions.external_net
.
The API definition for the
extraroute
extension is now available inneutron_lib.api.defintions.extraroute
.
Exceptions related to the
extraroute
extension are now available inneutron_lib.exceptions.extraroute
.
The
ip_allocation
extension’s API definition is now available inneutron_lib.api.definitions.ip_allocation
.
The
l2_adjacency
extension’s API definition is now available inneutron_lib.api.definitions.l2_adjacency
.
The API definition for the
ext-gw-mode
extension is now available inneutron_lib.api.definitions.l3_ext_gw_mode
.
The
l3-ha
extension’s API definition is now available inneutron_lib.api.definitions.l3_ext_ha_mode
.
Exceptions related to the
l3-ha
extension are available inneutron_lib.api.exceptions.l3_ext_ha_mode
.
The
l3-flavors
extension’s API definition is now available inneutron_lib.api.definitions.l3_flavors
.
The
metering
extension’s API is now available inneutron_lib.api.definitions.metering
.
Exceptions for the
metering
extension are available inneutron_lib.exceptions.metering
.
The
ExtensionDriver
class inneutron_lib.plugins.ml2.api
now contains theextension_aliases
property to match neutron’s implementation.
The API definition for neutron’s
network_availability_zone
extension is now available inneutron_lib.api.definitions.network_availability_zone
.
The
network-ip-availability
extension’s API definition is now available inneutron_lib.api.definitions.network_ip_availability
.
The
pagination
API extension’s API definition is now available inneutron_lib.api.definitions.pagination
.
The
project-id
API extension’s API definition is now available inneutron_lib.api.definitions.project_id
.
The API definition for neutron’s
qos
extension is now available inneutron_lib.api.definitions.qos
.
Neutron’s
router_availability_zone
extension API definition is now available inneutron_lib.api.definitions.router_availability_zone
.
Adds
subnet_onboard
API definition to neutron-lib.