Bulk port create without mac address fails as when Neutron calls
oslo_utils.netutils.get_ipv6_addr_by_EUI64, as the mac field of the port
is an ATTR_NOT_SPECIFIED Sentinel() object.
With some reshuffling of the code to fill the mac field this can be
fixed.
Conflicts:
neutron/plugins/ml2/plugin.py
neutron_lib.api.converters.convert_to_sanitized_mac_address
was only introduced in Xena
Closes-Bug: #1995732
Related-Bug: #1954763
Change-Id: Id594003681f4755d8fd1af3b98e281c3109420f6
(cherry picked from commit f7dd7790f5c6e3149af4680ba521089328d1eb0c)
(cherry picked from commit 2ed8fa503759433136e9e4aef5d9c7b5bb0aa3c5)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/868280 /opendev. org/openstack/ neutron/ commit/ 2c854cff4d39dbc cfe2e7fa1984ac3 61e63b60b2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 2c854cff4d39dbc cfe2e7fa1984ac3 61e63b60b2
Author: elajkat <email address hidden>
Date: Fri Nov 4 16:51:03 2022 +0100
Fix bulk create without mac
Bulk port create without mac address fails as when Neutron calls utils.netutils. get_ipv6_ addr_by_ EUI64, as the mac field of the port
oslo_
is an ATTR_NOT_SPECIFIED Sentinel() object.
With some reshuffling of the code to fill the mac field this can be
fixed.
Conflicts: plugins/ ml2/plugin. py lib.api. converters. convert_ to_sanitized_ mac_address
neutron/
neutron_
was only introduced in Xena
Closes-Bug: #1995732
Related-Bug: #1954763
Change-Id: Id594003681f475 5d8fd1af3b98e28 1c3109420f6 49af4680ba52108 9328d1eb0c) 136e9e4aef5d9c7 b5bb0aa3c5)
(cherry picked from commit f7dd7790f5c6e31
(cherry picked from commit 2ed8fa503759433