commit c6d3f90bee85e7c18ee756d1a9e837e93e0400a6
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.
Closes-Bug: #1952897
Change-Id: I2e3b0c1635627edb2c86c6120b0410ab3c4678b2
(cherry picked from commit a47e9494c1d8895425ad3a05a2c2290c74f0b647)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/833202 /opendev. org/openstack/ neutron/ commit/ c6d3f90bee85e7c 18ee756d1a9e837 e93e0400a6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit c6d3f90bee85e7c 18ee756d1a9e837 e93e0400a6
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.
Closes-Bug: #1952897 db2c86c6120b041 0ab3c4678b2 425ad3a05a2c229 0c74f0b647)
Change-Id: I2e3b0c1635627e
(cherry picked from commit a47e9494c1d8895