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
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/ +/868278 /opendev. org/openstack/ neutron/ commit/ ffd749689567925 55de796016c09d8 7e357f2632
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit ffd749689567925 55de796016c09d8 7e357f2632
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
neutron/
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