Some neutron integrations might not have the provider:network_type
and provider:segmentation_id set in the network information. The
plugin is changed to read from dict using get method to avoid
key error exception.
Closes-bug: #1987315
Change-Id: I9a7460135a0c613c10a91fcef471d4da4f17f041
(cherry picked from commit 48bc4656f8267007a3833c43a8182728582b44e3)
(cherry picked from commit df2cc333e6247f1741116567b12875c59194ea1a)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/862898 /opendev. org/openstack/ manila/ commit/ 9c5adb0b5dd6583 4bd135d2b106d86 54158151f5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 9c5adb0b5dd6583 4bd135d2b106d86 54158151f5
Author: Felipe Rodrigues <email address hidden>
Date: Tue Sep 20 18:51:40 2022 -0300
Fix neutron plugin get network_type
Some neutron integrations might not have the provider: network_ type segmentation_ id set in the network information. The
and provider:
plugin is changed to read from dict using get method to avoid
key error exception.
Closes-bug: #1987315 3c10a91fcef471d 4da4f17f041 7a3833c43a81827 28582b44e3) 741116567b12875 c59194ea1a)
Change-Id: I9a7460135a0c61
(cherry picked from commit 48bc4656f826700
(cherry picked from commit df2cc333e6247f1