commit b17ece5e05183f33037466aa8d83ab11ba5b0f33
Author: Tamas Gergely Peter <email address hidden>
Date: Tue Dec 28 16:00:36 2021 +0000
Check whether vxlan group and local addresses are IPv4 or IPv6
Check if group and/or local addresses passed to ip_lib / add_vxlan()
are IPv4 or IPv6. In case of IPv4 fill 'vxlan_group' and 'vxlan_local'
arguments and in case of IPv6 fill 'vxlan_group6' and 'vxlan_local6'
arguments to be passed down to privileged create_interface() method.
In case of an invalid address format raise an AddrFormatError exception.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/833205 /opendev. org/openstack/ neutron/ commit/ b17ece5e05183f3 3037466aa8d83ab 11ba5b0f33
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit b17ece5e05183f3 3037466aa8d83ab 11ba5b0f33
Author: Tamas Gergely Peter <email address hidden>
Date: Tue Dec 28 16:00:36 2021 +0000
Check whether vxlan group and local addresses are IPv4 or IPv6
Check if group and/or local addresses passed to ip_lib / add_vxlan()
are IPv4 or IPv6. In case of IPv4 fill 'vxlan_group' and 'vxlan_local'
arguments and in case of IPv6 fill 'vxlan_group6' and 'vxlan_local6'
arguments to be passed down to privileged create_interface() method.
In case of an invalid address format raise an AddrFormatError exception.
Conflicts:
neutron/ agent/linux/ ip_lib. py
neutron/ tests/functiona l/agent/ linux/test_ ip_lib. py
neutron/ tests/unit/ agent/linux/ test_ip_ lib.py
Closes-Bug: #1952897 db2c86c6120b041 0ab3c4678b2 425ad3a05a2c229 0c74f0b647) e0a4daff8d5e8d6 bfc10f9e80)
Change-Id: I2e3b0c1635627e
(cherry picked from commit a47e9494c1d8895
(cherry picked from commit 45297dd84a8e118